본문으로 건너뛰기

도구

서버가 제공하는 모든 도구, 각 도구에 필요한 권한, 매개변수, 그리고 응답의 형태를 알려 줘요.

이 페이지의 내용

아래 목록은 서버에서 직접 생성돼요. 이름, 권한, 매개변수는 클라이언트가 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, archived

    • 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_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, lost

    • temperaturestring선택

      다음 중 하나: hot, warm, cold, needs_qualification

    • followUpOverdueboolean선택

      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_show

    • limitinteger선택

      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}$

쓰기 도구

10

EcoMark 자체 기록을 변경해요. 고객에게 아무것도 발송하지 않으며, 아무것도 공개하지 않아요.

  • 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, reminder

    • linkedToobject선택
      • typestring필수

        다음 중 하나: lead, property

      • idstring필수

        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, closing

    • leadIdstring선택

      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, reopen

    • 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_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, lost

    • lostReasonstring선택

      Only with stage "lost".

      최대 200자

    • temperaturestring선택

      다음 중 하나: hot, warm, cold, needs_qualification

    • nextActionstring | 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, whatsapp

    • leadIdstring선택

      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_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, presentation

    • leadIdstring선택

      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, portfolio

    • idstring필수

      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가 붙어요. 코드는 오류와 한도에 있어요.

전송되는 도구 결과: JSON-RPC 응답
{"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
    }
  }
}
응답의 structuredContent
{
  "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"
    }
  }
}
응답의 structuredContent
{
  "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 표시와 함께 돌아와요. 두 번 쓰이는 것은 없어요.

같은 요청을 다시 보냈을 때 응답의 structuredContent
{
  "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에서 해요.

create_link_draft: 인수
{
  "title": "Open house Saturday",
  "destinationUrl": "https://example.com/open-house"
}
create_link_draft: 응답의 structuredContent
{
  "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"
}
request_publish: 인수
{
  "type": "link",
  "id": "link_muyvbfgv248z8"
}
request_publish: 응답의 structuredContent
{
  "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로 결과를 확인해요.

기다리는 동안의 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"
}
내가 승인한 뒤의 get_request_status
{
  "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"
}

승인에 대한 자세한 내용과 요청이 거부, 만료, 실패했을 때 일어나는 일은 권한과 승인에서 확인하세요.