도구
서버가 제공하는 모든 도구, 각 도구에 필요한 권한, 매개변수, 그리고 응답의 형태를 알려 줘요.
아래 목록은 서버에서 직접 생성돼요. 이름, 권한, 매개변수는 클라이언트가 tools/list에서 받는 그대로이고, 설명은 서버 자체의 문구예요. 연결에는 그 권한이 허용하는 도구만 보여요. whoami, get_connections, get_request_status는 승인된 모든 연결에서 쓸 수 있어요.
레퍼런스#
읽기 도구
11아무것도 바꾸지 않아요.
whoami
Who is connected읽기The EcoMark member this connection acts as: name, role, agency, time zone, and the permissions this connection holds. Call it first to learn the time zone and what the other tools may do.
권한승인된 모든 연결
매개변수 없음.
get_connections
Connected services읽기Which services (Gmail, WhatsApp, Slack, Microsoft 365, Google Drive, DocuSign, Zoom, Motion, Calendly, Dropbox) are connected in EcoMark for this member, and what the member may use of each. Nothing is connected or changed from here: connecting happens in EcoMark under Settings → Integrations.
권한승인된 모든 연결
매개변수 없음.
list_properties
List properties읽기The agency's listings this member can see, newest change first. Filter by status or by words in the title, city or address.
권한
properties:read매물 보기매개변수(4)
statusstring선택다음 중 하나:
draft,published,needs_attention,archivedsearchstring선택Words to look for in the name or title.
1~80자
limitinteger선택How many to return (default 20, at most 50).
1~50
cursorstring선택`nextCursor` from the previous page.
최대 40자
get_property
Property details읽기One listing in full: description, features, address, readiness, views and inquiries in the last 30 days, and what is attached to it (photos, documents, tours).
권한
properties:read매물 보기매개변수(1)
propertyIdstring필수An id returned by another EcoMark tool.
1~80자
list_leads
List leads읽기Leads in this member's pipeline (an admin: the agency's), most recently active first. Filter by stage, temperature, overdue follow-up, or words in the name. Contact details are not in the list; use get_lead for one lead.
권한
leads:read리드 보기매개변수(6)
stagestring선택다음 중 하나:
new,contacted,qualified,appointment,negotiation,won,losttemperaturestring선택다음 중 하나:
hot,warm,cold,needs_qualificationfollowUpOverdueboolean선택true: only leads whose next action is past due.
searchstring선택Words to look for in the name or title.
1~80자
limitinteger선택How many to return (default 20, at most 50).
1~50
cursorstring선택`nextCursor` from the previous page.
최대 40자
get_lead
Lead details읽기One lead in full: contact details, what they are looking for, the latest notes and activity, and their upcoming appointments.
권한
leads:read리드 보기매개변수(1)
leadIdstring필수An id returned by another EcoMark tool.
1~80자
list_appointments
List appointments읽기Appointments this member can see that overlap a period (default: the next 14 days; at most 62 days), earliest first.
권한
calendar:read약속, 할 일, 가능 시간 보기매개변수(5)
fromdate-time선택Start of the period, ISO 8601 with offset. Default: now.
todate-time선택End of the period, ISO 8601 with offset.
statusstring선택다음 중 하나:
scheduled,pending,confirmed,completed,cancelled,no_showlimitinteger선택How many to return (default 20, at most 50).
1~50
cursorstring선택`nextCursor` from the previous page.
최대 40자
list_tasks
List tasks and reminders읽기Tasks and reminders on this member's calendar (an admin: the agency's), by due time. By default the open ones due in the next 14 days, plus anything overdue.
권한
calendar:read약속, 할 일, 가능 시간 보기매개변수(5)
fromdate-time선택Only items due at or after this instant. Default: no lower bound for open items.
todate-time선택Only items due before this instant. Default: 14 days from now.
doneboolean선택true: finished items; false (default): open ones.
limitinteger선택How many to return (default 20, at most 50).
1~50
cursorstring선택`nextCursor` from the previous page.
최대 40자
check_availability
Check availability읽기When a member is busy and when they are free, in a period of at most 14 days: busy time from EcoMark appointments and tasks (and from the Outlook calendar this member may read, and from a Google Calendar they connected themself), and free slots of the asked length inside the agency's working hours. An agent can only ask about themself; an admin may name another member.
권한
calendar:read약속, 할 일, 가능 시간 보기매개변수(4)
fromdate-time필수Start of the period, ISO 8601 with offset.
todate-time필수End of the period, ISO 8601 with offset.
durationMinutesinteger선택Length of the slot wanted (default 30).
15~480
memberIdstring선택Admins only: the member to check. Default: the connected member.
1~80자
get_metrics
Performance summary읽기Pipeline, appointments and listings in numbers for the last week or month. An agent gets their own assignments; an admin gets the agency. These are the same figures EcoMark's own performance summary uses.
권한
metrics:read성과 수치 보기매개변수(1)
rangestring선택Default: week.
다음 중 하나:
week,month
get_request_status
Status of a request읽기What the member decided about a request made with request_publish or request_send_message: pending, approved (and what happened), rejected, expired or failed.
권한승인된 모든 연결
매개변수(1)
requestIdstring필수패턴:
^mrq_[a-f0-9]{24}$
쓰기 도구
10EcoMark 자체 기록을 변경해요. 고객에게 아무것도 발송하지 않으며, 아무것도 공개하지 않아요.
create_task
Create a task or reminder쓰기Add a task or a reminder to the connected member's own calendar in EcoMark, optionally linked to a lead or a property they can see. Nothing is sent to anyone.
권한
calendar:write약속과 할 일 만들기 및 변경매개변수(6)
titlestring필수1~140자
dueAtdate-time필수When it is due, ISO 8601 with offset.
durationMinutesinteger선택Default 30. A reminder takes at most 60.
5~720
kindstring선택Default: task.
다음 중 하나:
task,reminderlinkedToobject선택typestring필수다음 중 하나:
lead,propertyidstring필수An id returned by another EcoMark tool.
1~80자
idempotencyKeystring선택Optional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
패턴:
^[\x21-\x7e]{8,80}$
update_task
Update a task or reminder쓰기Change a task or reminder the connected member can see: its title, when it is due, how long it takes, or whether it is done.
권한
calendar:write약속과 할 일 만들기 및 변경매개변수(6)
taskIdstring필수An id returned by another EcoMark tool.
1~80자
titlestring선택1~140자
dueAtdate-time선택durationMinutesinteger선택5~720
doneboolean선택idempotencyKeystring선택Optional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
패턴:
^[\x21-\x7e]{8,80}$
create_appointment
Create an appointment쓰기Put an appointment on the connected member's own calendar in EcoMark, optionally for a lead and a property they can see. It is an EcoMark record only: no invitation, e-mail or message goes to the client, and no Zoom or Teams room is opened (that is done in EcoMark). The answer lists any of the member's appointments it overlaps.
권한
calendar:write약속과 할 일 만들기 및 변경매개변수(9)
titlestring필수1~140자
startsAtdate-time필수ISO 8601 with offset; must be in the future.
durationMinutesinteger선택Default 30.
15~480
kindstring선택Default: consultation.
다음 중 하나:
consultation,property_tour,listing_presentation,virtual_meeting,closingleadIdstring선택An id returned by another EcoMark tool.
1~80자
propertyIdstring선택An id returned by another EcoMark tool.
1~80자
locationstring선택최대 160자
notesstring선택최대 1,000자
idempotencyKeystring선택Optional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
패턴:
^[\x21-\x7e]{8,80}$
update_appointment
Update an appointment쓰기Change an appointment the connected member can see: title, time, length, place, notes, or its status (confirm, complete, cancel, no_show, reopen). An appointment with a Zoom or Teams meeting, or one booked through Calendly, cannot be moved or cancelled from here — that also changes what the client was sent, so it is done in EcoMark. Appointments are never deleted from here.
권한
calendar:write약속과 할 일 만들기 및 변경매개변수(8)
appointmentIdstring필수An id returned by another EcoMark tool.
1~80자
titlestring선택1~140자
startsAtdate-time선택durationMinutesinteger선택15~480
locationstring | null선택최대 160자
notesstring | null선택최대 1,000자
statusstring선택다음 중 하나:
confirm,complete,cancel,no_show,reopenidempotencyKeystring선택Optional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
패턴:
^[\x21-\x7e]{8,80}$
update_lead
Update a lead쓰기Move a lead the connected member can see to another stage, change its temperature, or set its next step and when it is due. A lead is never reassigned or deleted from here, and its contact details are not changed from here.
권한
leads:write리드 업데이트 및 메모 추가매개변수(7)
leadIdstring필수An id returned by another EcoMark tool.
1~80자
stagestring선택다음 중 하나:
new,contacted,qualified,appointment,negotiation,won,lostlostReasonstring선택Only with stage "lost".
최대 200자
temperaturestring선택다음 중 하나:
hot,warm,cold,needs_qualificationnextActionstring | null선택The next step, or null to clear it.
최대 200자
nextActionAtdate-time | null선택When the next step is due, or null.
idempotencyKeystring선택Optional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
패턴:
^[\x21-\x7e]{8,80}$
add_lead_note
Add a note to a lead쓰기Add an internal note to a lead the connected member can see. Notes are for the agency: the client never sees them.
권한
leads:write리드 업데이트 및 메모 추가매개변수(3)
leadIdstring필수An id returned by another EcoMark tool.
1~80자
textstring필수1~2,000자
idempotencyKeystring선택Optional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
패턴:
^[\x21-\x7e]{8,80}$
draft_message
Draft a message쓰기Save a draft e-mail or WhatsApp message in EcoMark Messages, for a lead the connected member can see or in a conversation they can see. Nothing is sent: the draft waits in Messages for the member to read, change and send. To ask the member to send it as it is, use request_send_message afterwards.
권한
messages:draft메시지 초안 준비(발송은 절대 안 함)매개변수(6)
channelstring필수다음 중 하나:
email,whatsappleadIdstring선택The lead to write to (their e-mail address or phone number in EcoMark is used). Give this or conversationId.
1~80자
conversationIdstring선택An id returned by another EcoMark tool.
1~80자
subjectstring선택E-mail only.
최대 200자
bodystring필수1~10,000자
idempotencyKeystring선택Optional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
패턴:
^[\x21-\x7e]{8,80}$
create_link_draft
Create a draft link쓰기Prepare a short link in EcoMark Links — to a published listing the connected member can see, or to an HTTPS address — as a DRAFT. A draft link does not work for visitors. Making it live is the member's decision: use request_publish.
권한
links:draft링크, QR 코드, 포트폴리오 초안 만들기(게시는 절대 안 함)매개변수(5)
titlestring필수2~120자
propertyIdstring선택A published listing. Give this or destinationUrl.
1~80자
destinationUrlstring선택최대 500자
slugstring선택Lower-case letters, digits and hyphens. Default: made from the title.
2~60자
패턴:
^[a-z0-9]+(?:-[a-z0-9]+)*$idempotencyKeystring선택Optional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
패턴:
^[\x21-\x7e]{8,80}$
create_qr_draft
Create a draft QR code쓰기Prepare a QR code in EcoMark — for a published listing, for one of the member's live links, or for an HTTPS address — as a DRAFT. A draft code does not resolve when scanned. Making it live is the member's decision: use request_publish.
권한
links:draft링크, QR 코드, 포트폴리오 초안 만들기(게시는 절대 안 함)매개변수(6)
titlestring필수2~120자
propertyIdstring선택An id returned by another EcoMark tool.
1~80자
linkIdstring선택An id returned by another EcoMark tool.
1~80자
destinationUrlstring선택최대 500자
campaignstring선택최대 80자
idempotencyKeystring선택Optional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
패턴:
^[\x21-\x7e]{8,80}$
create_portfolio_draft
Create an unpublished portfolio쓰기Put together a portfolio of listings the connected member can see, optionally for one of their leads. It is saved in EcoMark Portfolios unpublished: it has no public page until the member publishes it (request_publish).
권한
links:draft링크, QR 코드, 포트폴리오 초안 만들기(게시는 절대 안 함)매개변수(6)
titlestring필수2~120자
propertyIdsstring[]필수1~12개 항목
kindstring선택Default: property. "client" goes with leadId.
다음 중 하나:
property,client,presentationleadIdstring선택An id returned by another EcoMark tool.
1~80자
introstring선택최대 1,200자
idempotencyKeystring선택Optional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
패턴:
^[\x21-\x7e]{8,80}$
승인 요청 도구
2멤버가 EcoMark 안에서 승인하거나 거부하는 요청을 등록해요.
request_publish
Ask to publish요청Ask the connected member to make a draft link, a draft QR code or an unpublished portfolio public. This does NOT publish anything: it files a request the member approves or rejects in EcoMark. Returns the address to open and a requestId for get_request_status.
권한
links:draft링크, QR 코드, 포트폴리오 초안 만들기(게시는 절대 안 함)매개변수(2)
typestring필수다음 중 하나:
link,qr,portfolioidstring필수An id returned by another EcoMark tool.
1~80자
request_send_message
Ask to send a draft요청Ask the connected member to send one of their draft messages (from draft_message) to the client, as it is. This does NOT send anything: it files a request the member approves or rejects in EcoMark, where they see the full text. If the draft is edited afterwards the request no longer applies. Returns the address to open and a requestId for get_request_status.
권한
messages:draft메시지 초안 준비(발송은 절대 안 함)매개변수(1)
messageIdstring필수An id returned by another EcoMark tool.
1~80자
이름과 설명은 서버 자체의 영어 레퍼런스 텍스트예요.
규칙#
- 신원: 요청이 누구로서 동작하는지는 토큰에서 정해져요. 중개사무소나 작업하는 멤버를 지정하는 인수는 어떤 도구에도 없어요.
agencyId처럼 그런 인수를 보내도 아무것도 바뀌지 않아요. - 시간: 오프셋이 있는 ISO 8601 형식이에요. 예:
2026-10-09T10:00:00+02:00. 응답은 UTC로 와요.whoami가 멤버의 시간대를 알려 줘요. - ID: 다른 EcoMark 도구에서 받아요. 클라이언트가 ID를 지어내지 않아요.
- 목록: 페이지 단위로 나뉘어요.
limit과cursor를 보내고,total과nextCursor를 받아요. 마지막 페이지에서는nextCursor가null이에요. - 되돌아가는 링크: 많은 응답에 제품 안의 기록 주소인
openInEcoMark가 있어요. - 기록 안의 텍스트(이름, 메모, 메시지): 다른 사람이 쓴 것이에요. 서버는 클라이언트에게 이를 보고할 데이터로만 다루고, 따라야 할 지시로 다루지 말라고 안내해요.
응답의 형태#
모든 도구는 같은 값을 두 번 담아 응답해요. 텍스트를 읽는 클라이언트를 위해 content[0].text에 JSON 텍스트로, 구조를 읽는 클라이언트를 위해 structuredContent로 담아요. 도구가 요청을 처리하지 못하면 값은 { "error": { "code", "message" } }이고 결과에 isError: true가 붙어요. 코드는 오류와 한도에 있어요.
{"result":{"content":[{"type":"text","text":"{\"error\":{\"code\":\"not_found\",\"message\":\"No lead with that id is available to this member.\"}}"}],"structuredContent":{"error":{"code":"not_found","message":"No lead with that id is available to this member."}},"isError":true},"jsonrpc":"2.0","id":8}읽기, 처음부터 끝까지#
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "list_leads",
"arguments": {
"followUpOverdue": true,
"limit": 2
}
}
}{
"leads": [
{
"id": "lead_vidal",
"name": "Carmen Vidal",
"stage": "negotiation",
"temperature": "hot",
"source": "direct",
"objective": "acquire",
"market": "Madrid",
"assignedTo": "Marco Bellini",
"nextAction": "Counter-offer on Serrano 88",
"nextActionAt": "2026-10-07T12:30:00.000Z",
"lastActivityAt": "2026-10-07T22:38:51.350Z"
},
{
"id": "lead_petrov",
"name": "Ilya Petrov",
"stage": "contacted",
"temperature": "warm",
"source": "email",
"objective": "rent",
"market": "Moscow",
"assignedTo": "Marco Bellini",
"nextAction": "Confirm viewing window",
"nextActionAt": "2026-10-06T10:00:00.000Z",
"lastActivityAt": "2026-10-04T07:38:51.350Z"
}
],
"total": 3,
"nextCursor": "Mg"
}쓰기, 처음부터 끝까지#
쓰기는 내 이름으로 EcoMark 자체 기록을 변경해요. 리드, 약속, 포트폴리오처럼 이력이 남는 기록에는 클라이언트를 통해 변경되었다고 기록돼요. 모든 쓰기는 실행 전에 먼저 등록되므로, 다시 시도해도 두 번 실행되지 않아요.
{
"jsonrpc": "2.0",
"id": 4,
"method": "tools/call",
"params": {
"name": "create_task",
"arguments": {
"title": "Call the notary",
"dueAt": "2026-10-09T10:00:00+02:00",
"durationMinutes": 20,
"idempotencyKey": "task-notary-0001"
}
}
}{
"task": {
"id": "cal_muyvbfgb18qhy",
"kind": "task",
"title": "Call the notary",
"dueAt": "2026-10-09T08:00:00.000Z",
"durationMinutes": 20
},
"openInEcoMark": "https://www.ecomarkai.com/calendar"
}같은 요청을 다시 보내면 첫 응답이 replayed 표시와 함께 돌아와요. 두 번 쓰이는 것은 없어요.
{
"task": {
"id": "cal_muyvbfgb18qhy",
"kind": "task",
"title": "Call the notary",
"dueAt": "2026-10-09T08:00:00.000Z",
"durationMinutes": 20
},
"openInEcoMark": "https://www.ecomarkai.com/calendar",
"replayed": true
}idempotencyKey가 없으면 짧은 시간 안에 같은 인수로 보낸 요청을 같은 요청으로 봐요. 그 시간은 오류와 한도의 반복 쓰기에 나와 있어요. 같은 키에 다른 인수를 보내면 conflict로 거부돼요.
쓰기가 중개사무소 안에서 일으킬 수 있는 일
쓰기로는 고객에게 아무것도 발송되지 않고, 아무것도 공개되지 않아요. 중개사무소가 Slack을 연결하고 예약이나 관심도 높은 리드에 대한 알림을 켜 두었다면, 클라이언트를 통해 약속을 만들거나 옮기거나 취소할 때, 또는 리드의 관심도가 높음이 될 때, EcoMark에서 직접 할 때와 똑같이 중개사무소 채널에 알림이 올라가요.
승인, 처음부터 끝까지#
게시와 발송은 요청이에요. 클라이언트가 먼저 초안을 준비한 다음 요청하고, 결정은 내가 EcoMark에서 해요.
{
"title": "Open house Saturday",
"destinationUrl": "https://example.com/open-house"
}{
"link": {
"id": "link_muyvbfgv248z8",
"title": "Open house Saturday",
"state": "draft",
"address": "https://www.ecomarkai.com/l/meridian/open-house-saturday",
"pointsTo": "https://example.com/open-house"
},
"live": false,
"openInEcoMark": "https://www.ecomarkai.com/links/link_muyvbfgv248z8"
}{
"type": "link",
"id": "link_muyvbfgv248z8"
}{
"status": "approval_required",
"requestId": "mrq_1fa5bf53ceae4aa1995193f6",
"approveInEcoMark": "https://www.ecomarkai.com/settings/integrations/requests/mrq_1fa5bf53ceae4aa1995193f6",
"expiresAt": "2026-10-09T01:38:51.537Z",
"alreadyRequested": false,
"note": "Nothing has been published or sent. The member has to open the link, signed in to EcoMark, and approve it there. Use get_request_status to see what they decided."
}이 시점에는 아무것도 바뀌지 않았어요. 링크는 여전히 초안이에요. EcoMark에서 요청 검토가 담긴 알림을 받고, 요청은 앱 → 외부 어시스턴트 → 승인 대기 중에 표시돼요. 클라이언트는 get_request_status로 결과를 확인해요.
{
"requestId": "mrq_1fa5bf53ceae4aa1995193f6",
"kind": "publish",
"status": "pending",
"result": null,
"requestedAt": "2026-10-08T01:38:51.537Z",
"resolvedAt": null,
"approveInEcoMark": "https://www.ecomarkai.com/settings/integrations/requests/mrq_1fa5bf53ceae4aa1995193f6"
}{
"requestId": "mrq_1fa5bf53ceae4aa1995193f6",
"kind": "publish",
"status": "approved",
"result": {
"published": "link",
"id": "link_muyvbfgv248z8"
},
"requestedAt": "2026-10-08T01:38:51.537Z",
"resolvedAt": "2026-10-08T01:52:07.118Z"
}승인에 대한 자세한 내용과 요청이 거부, 만료, 실패했을 때 일어나는 일은 권한과 승인에서 확인하세요.