Skip to main content
Glama

Send a reply to the customer

colliedesk_reply_send
Destructive

Send a reply on a conversation. Colliedesk emails it to the customer (and to cc) through the workspace's email channel. It cannot be undone: an email that left cannot be called back. Before you call it, show the user what you will do and get their yes, unless they already told you to do exactly this. Each call sends one more email, so never call it again to retry a call that succeeded; read the conversation first. To have a person check the words first, or when you may not send (no messages:send), use colliedesk_reply_draft. The reply is recorded as written by you through your token (written_by_agent_token). delivery says whether the email is queued. Pass seen_reply_number, the latest_reply_number of the colliedesk_conversation_get you read: when someone replied since, nothing is sent and the error shows their reply; read the conversation again before you send. When a team member has a reply to this customer open and not sent yet, the result carries a warning; say so to the user. files attaches up to 10 files, 5 MiB in total per call (base64); they are emailed with the reply. Pass ai_draft_id when the reply is written from a draft (colliedesk_ai_draft_get, colliedesk_ai_drafts_list), so the draft records how close the reply stayed to it; a draft that is not this conversation's ready one is refused and nothing is sent. Without ai_draft_file_ids, every file of that draft is sent with the reply; ai_draft_file_ids names the ones to send (an empty list sends none). The draft's files and files count together toward 10 files and 10 MiB.

Needs: conversations:read, messages:note, messages:read, messages:send, team:read.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "conversation_id": "<conversation_id>",
      "body": "<body>",
      "seen_reply_number": "<seen_reply_number>"
    },
    "name": "colliedesk_reply_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoPlain email addresses to copy, at most 10. The customer is always the recipient.
bodyYesThe reply text (Markdown).
filesNoFiles to attach, at most 10 and 5 MiB in total (decoded) per call: about 7,000,000 characters of base64 for all files together. A larger call is refused before it reaches Colliedesk; send fewer files per call.
ai_draft_idNoThe draft this reply was written from. Send token only.
conversation_idYes
ai_draft_file_idsNoWith ai_draft_id: the ids of the draft's files to send (files of the draft). Leave it out to send every file of the draft; [] sends none.
seen_reply_numberYeslatest_reply_number from the colliedesk_conversation_get you based this reply on.

Output Schema

NameRequiredDescriptionDefault
messageYes
warningNoA team member had a reply to this customer open and not sent yet.
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the destructive/non-idempotent annotations, it discloses the real consequences: an email cannot be recalled, each call emits one more email, the reply is attributed to the agent's token, a stale seen_reply_number blocks the send and surfaces the intervening reply, and a teammate's unsent reply produces a warning. File-size limits and required permissions are also stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Irreversible-send risk and the confirmation requirement are front-loaded, and nearly every sentence carries operational information. It is a dense single block, however, and the draft-file paragraph could be split or tightened for scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive outbound-email tool with seven parameters, the definition covers confirmation, retry hazards, draft linkage, attachment budgets, concurrency guarding, and required scopes; the output schema relieves it of explaining return values, though it still usefully mentions the delivery status and teammate warning fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 86%, so the schema carries most parameter documentation. The description still adds behavioral meaning: seen_reply_number acts as an optimistic-concurrency guard whose failure reveals the new reply, ai_draft_id is refused unless it is this conversation's ready draft, and ai_draft_file_ids empty-vs-omitted changes which files are sent and shares the 10-file/10 MiB budget with files.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening states a specific verb and resource ('Send a reply on a conversation') and immediately clarifies the delivery mechanism (emailed to the customer and cc via the workspace email channel). It is clearly separable from colliedesk_reply_draft, which is named as the non-sending alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use and when-not-to-use guidance: confirm with the user first unless already instructed, use colliedesk_reply_draft when a human should review or when messages:send is missing, and never re-call to retry a successful send. The precondition 'read the conversation first' and the stale-reply rule are also spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources