Tools
Every tool the server offers, the permission each one needs, its parameters, and how answers are shaped.
On this page
The list below is generated from the server itself: names, permissions and parameters are the ones a client receives from tools/list, and the descriptions are the server's own words. A connection is only shown the tools its permissions cover; whoami, get_connections and get_request_status are there for any authorised connection.
Reference#
Tools that read
11They change nothing.
whoami
Who is connectedReadsThe 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.
PermissionAny authorised connection
No parameters.
get_connections
Connected servicesReadsWhich 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.
PermissionAny authorised connection
No parameters.
list_properties
List propertiesReadsThe agency's listings this member can see, newest change first. Filter by status or by words in the title, city or address.
Permission
properties:readSee propertiesParameters (4)
statusstringoptionalOne of:
draft,published,needs_attention,archivedsearchstringoptionalWords to look for in the name or title.
1 to 80 characters
limitintegeroptionalHow many to return (default 20, at most 50).
1 to 50
cursorstringoptional`nextCursor` from the previous page.
Up to 40 characters
get_property
Property detailsReadsOne listing in full: description, features, address, readiness, views and inquiries in the last 30 days, and what is attached to it (photos, documents, tours).
Permission
properties:readSee propertiesParameters (1)
propertyIdstringrequiredAn id returned by another EcoMark tool.
1 to 80 characters
list_leads
List leadsReadsLeads 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.
Permission
leads:readSee leadsParameters (6)
stagestringoptionalOne of:
new,contacted,qualified,appointment,negotiation,won,losttemperaturestringoptionalOne of:
hot,warm,cold,needs_qualificationfollowUpOverduebooleanoptionaltrue: only leads whose next action is past due.
searchstringoptionalWords to look for in the name or title.
1 to 80 characters
limitintegeroptionalHow many to return (default 20, at most 50).
1 to 50
cursorstringoptional`nextCursor` from the previous page.
Up to 40 characters
get_lead
Lead detailsReadsOne lead in full: contact details, what they are looking for, the latest notes and activity, and their upcoming appointments.
Permission
leads:readSee leadsParameters (1)
leadIdstringrequiredAn id returned by another EcoMark tool.
1 to 80 characters
list_appointments
List appointmentsReadsAppointments this member can see that overlap a period (default: the next 14 days; at most 62 days), earliest first.
Permission
calendar:readSee appointments, tasks and availabilityParameters (5)
fromdate-timeoptionalStart of the period, ISO 8601 with offset. Default: now.
todate-timeoptionalEnd of the period, ISO 8601 with offset.
statusstringoptionalOne of:
scheduled,pending,confirmed,completed,cancelled,no_showlimitintegeroptionalHow many to return (default 20, at most 50).
1 to 50
cursorstringoptional`nextCursor` from the previous page.
Up to 40 characters
list_tasks
List tasks and remindersReadsTasks 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.
Permission
calendar:readSee appointments, tasks and availabilityParameters (5)
fromdate-timeoptionalOnly items due at or after this instant. Default: no lower bound for open items.
todate-timeoptionalOnly items due before this instant. Default: 14 days from now.
donebooleanoptionaltrue: finished items; false (default): open ones.
limitintegeroptionalHow many to return (default 20, at most 50).
1 to 50
cursorstringoptional`nextCursor` from the previous page.
Up to 40 characters
check_availability
Check availabilityReadsWhen 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.
Permission
calendar:readSee appointments, tasks and availabilityParameters (4)
fromdate-timerequiredStart of the period, ISO 8601 with offset.
todate-timerequiredEnd of the period, ISO 8601 with offset.
durationMinutesintegeroptionalLength of the slot wanted (default 30).
15 to 480
memberIdstringoptionalAdmins only: the member to check. Default: the connected member.
1 to 80 characters
get_metrics
Performance summaryReadsPipeline, 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.
Permission
metrics:readSee performance figuresParameters (1)
rangestringoptionalDefault: week.
One of:
week,month
get_request_status
Status of a requestReadsWhat the member decided about a request made with request_publish or request_send_message: pending, approved (and what happened), rejected, expired or failed.
PermissionAny authorised connection
Parameters (1)
requestIdstringrequiredPattern:
^mrq_[a-f0-9]{24}$
Tools that write
10They change EcoMark's own records. Nothing is sent to a client and nothing is made public.
create_task
Create a task or reminderWritesAdd 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.
Permission
calendar:writeCreate and change appointments and tasksParameters (6)
titlestringrequired1 to 140 characters
dueAtdate-timerequiredWhen it is due, ISO 8601 with offset.
durationMinutesintegeroptionalDefault 30. A reminder takes at most 60.
5 to 720
kindstringoptionalDefault: task.
One of:
task,reminderlinkedToobjectoptionaltypestringrequiredOne of:
lead,propertyidstringrequiredAn id returned by another EcoMark tool.
1 to 80 characters
idempotencyKeystringoptionalOptional. 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.
Pattern:
^[\x21-\x7e]{8,80}$
update_task
Update a task or reminderWritesChange a task or reminder the connected member can see: its title, when it is due, how long it takes, or whether it is done.
Permission
calendar:writeCreate and change appointments and tasksParameters (6)
taskIdstringrequiredAn id returned by another EcoMark tool.
1 to 80 characters
titlestringoptional1 to 140 characters
dueAtdate-timeoptionaldurationMinutesintegeroptional5 to 720
donebooleanoptionalidempotencyKeystringoptionalOptional. 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.
Pattern:
^[\x21-\x7e]{8,80}$
create_appointment
Create an appointmentWritesPut 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.
Permission
calendar:writeCreate and change appointments and tasksParameters (9)
titlestringrequired1 to 140 characters
startsAtdate-timerequiredISO 8601 with offset; must be in the future.
durationMinutesintegeroptionalDefault 30.
15 to 480
kindstringoptionalDefault: consultation.
One of:
consultation,property_tour,listing_presentation,virtual_meeting,closingleadIdstringoptionalAn id returned by another EcoMark tool.
1 to 80 characters
propertyIdstringoptionalAn id returned by another EcoMark tool.
1 to 80 characters
locationstringoptionalUp to 160 characters
notesstringoptionalUp to 1,000 characters
idempotencyKeystringoptionalOptional. 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.
Pattern:
^[\x21-\x7e]{8,80}$
update_appointment
Update an appointmentWritesChange 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.
Permission
calendar:writeCreate and change appointments and tasksParameters (8)
appointmentIdstringrequiredAn id returned by another EcoMark tool.
1 to 80 characters
titlestringoptional1 to 140 characters
startsAtdate-timeoptionaldurationMinutesintegeroptional15 to 480
locationstring | nulloptionalUp to 160 characters
notesstring | nulloptionalUp to 1,000 characters
statusstringoptionalOne of:
confirm,complete,cancel,no_show,reopenidempotencyKeystringoptionalOptional. 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.
Pattern:
^[\x21-\x7e]{8,80}$
update_lead
Update a leadWritesMove 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.
Permission
leads:writeUpdate leads and add notesParameters (7)
leadIdstringrequiredAn id returned by another EcoMark tool.
1 to 80 characters
stagestringoptionalOne of:
new,contacted,qualified,appointment,negotiation,won,lostlostReasonstringoptionalOnly with stage "lost".
Up to 200 characters
temperaturestringoptionalOne of:
hot,warm,cold,needs_qualificationnextActionstring | nulloptionalThe next step, or null to clear it.
Up to 200 characters
nextActionAtdate-time | nulloptionalWhen the next step is due, or null.
idempotencyKeystringoptionalOptional. 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.
Pattern:
^[\x21-\x7e]{8,80}$
add_lead_note
Add a note to a leadWritesAdd an internal note to a lead the connected member can see. Notes are for the agency: the client never sees them.
Permission
leads:writeUpdate leads and add notesParameters (3)
leadIdstringrequiredAn id returned by another EcoMark tool.
1 to 80 characters
textstringrequired1 to 2,000 characters
idempotencyKeystringoptionalOptional. 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.
Pattern:
^[\x21-\x7e]{8,80}$
draft_message
Draft a messageWritesSave 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.
Permission
messages:draftPrepare message drafts, but never sendParameters (6)
channelstringrequiredOne of:
email,whatsappleadIdstringoptionalThe lead to write to (their e-mail address or phone number in EcoMark is used). Give this or conversationId.
1 to 80 characters
conversationIdstringoptionalAn id returned by another EcoMark tool.
1 to 80 characters
subjectstringoptionalE-mail only.
Up to 200 characters
bodystringrequired1 to 10,000 characters
idempotencyKeystringoptionalOptional. 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.
Pattern:
^[\x21-\x7e]{8,80}$
create_link_draft
Create a draft linkWritesPrepare 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.
Permission
links:draftCreate draft links, QR codes and portfolios, but never publishParameters (5)
titlestringrequired2 to 120 characters
propertyIdstringoptionalA published listing. Give this or destinationUrl.
1 to 80 characters
destinationUrlstringoptionalUp to 500 characters
slugstringoptionalLower-case letters, digits and hyphens. Default: made from the title.
2 to 60 characters
Pattern:
^[a-z0-9]+(?:-[a-z0-9]+)*$idempotencyKeystringoptionalOptional. 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.
Pattern:
^[\x21-\x7e]{8,80}$
create_qr_draft
Create a draft QR codeWritesPrepare 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.
Permission
links:draftCreate draft links, QR codes and portfolios, but never publishParameters (6)
titlestringrequired2 to 120 characters
propertyIdstringoptionalAn id returned by another EcoMark tool.
1 to 80 characters
linkIdstringoptionalAn id returned by another EcoMark tool.
1 to 80 characters
destinationUrlstringoptionalUp to 500 characters
campaignstringoptionalUp to 80 characters
idempotencyKeystringoptionalOptional. 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.
Pattern:
^[\x21-\x7e]{8,80}$
create_portfolio_draft
Create an unpublished portfolioWritesPut 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).
Permission
links:draftCreate draft links, QR codes and portfolios, but never publishParameters (6)
titlestringrequired2 to 120 characters
propertyIdsstring[]required1 to 12 items
kindstringoptionalDefault: property. "client" goes with leadId.
One of:
property,client,presentationleadIdstringoptionalAn id returned by another EcoMark tool.
1 to 80 characters
introstringoptionalUp to 1,200 characters
idempotencyKeystringoptionalOptional. 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.
Pattern:
^[\x21-\x7e]{8,80}$
Tools that ask for approval
2They file a request the member approves or rejects inside EcoMark.
request_publish
Ask to publishAsksAsk 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.
Permission
links:draftCreate draft links, QR codes and portfolios, but never publishParameters (2)
typestringrequiredOne of:
link,qr,portfolioidstringrequiredAn id returned by another EcoMark tool.
1 to 80 characters
request_send_message
Ask to send a draftAsksAsk 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.
Permission
messages:draftPrepare message drafts, but never sendParameters (1)
messageIdstringrequiredAn id returned by another EcoMark tool.
1 to 80 characters
Names and descriptions are the server's own reference text, in English.
Conventions#
- Identity: who a request acts as comes from the token. No tool has an argument for the agency or for the acting member; one sent anyway, such as
agencyId, changes nothing. - Times are ISO 8601 with an offset, for example
2026-10-09T10:00:00+02:00. Answers are in UTC.whoamigives the member's time zone. - Ids come from other EcoMark tools. A client never invents one.
- Lists are paged:
limitandcursorin,totalandnextCursorout.nextCursorisnullon the last page. - Links back: many answers carry
openInEcoMark, the address of the record in the product. - Text inside records (names, notes, messages) was written by other people. The server tells clients to treat it as data to report, never as instructions to follow.
How an answer is shaped#
Every tool answers with the same value twice: as JSON text in content[0].text, for clients that read text, and as structuredContent, for clients that read structure. When the tool could not do what was asked, the value is { "error": { "code", "message" } } and the result carries isError: true. The codes are in Errors and limits.
{"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}A read, end to end#
{
"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"
}A write, end to end#
A write changes EcoMark's own records, under your name. Where a record keeps a history (a lead, an appointment, a portfolio), the entry says it was done through the client. Every write is filed before it runs, so a retry cannot do it twice.
{
"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"
}The same request sent again gets the first answer back, marked replayed. Nothing is written a second time.
{
"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
}Without an idempotencyKey, identical arguments within a short window count as the same request; the window is under Repeated writes in Errors and limits. The same key with other arguments is refused with conflict.
What a write can set off inside your agency
Nothing is sent to a client and nothing is made public by a write. If your agency connected Slack and switched on its notices for bookings or hot leads, an appointment created, moved or cancelled through a client, or a lead that turns hot, is announced in the agency's channel exactly as when you do it in EcoMark.
An approval, end to end#
Publishing and sending are requests. A client first prepares a draft, then asks; you decide in 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."
}Nothing has changed at this point: the link is still a draft. You get a notification in EcoMark with Review request, and the request is listed under Apps → External assistants → Waiting for your approval. The client reads the outcome with 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"
}More about approvals, and what happens when a request is rejected, expires or fails, is in Permissions and approvals.