Skip to main content
Glama

Confita

Message a customer

message_customer
DestructiveIdempotent

For shop owners: email the customer of one order: a template about the order as it is, the seller's own words (text), a quote with a price (quote), or review_invite. It always returns needs_confirmation: Confita writes the exact email, shown in untrusted.preview, and nothing is sent until the seller taps Confirm. Use it when the seller asks for a message, or agrees to one a reply's next offered. A customer with no email cannot be messaged.

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": {
      "order": "<order>",
      "revision": "<revision>",
      "request_id": "<request_id>"
    },
    "name": "message_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe seller's own words, sent as written. Required for seller_message; for a template, a short note added to it.
orderYesThe order by its number ("1042" or "#1042") or id (ord_...).
quoteNoSend a quote instead of a message. The order must be waiting for one.
revisionYesThe order's `revision` as last read; if the order changed since, nothing happens.
templateNoA template about the order as it is, quote_sent (resends the open quote), review_invite (asks for a review of a completed order; `text` is not used), or seller_message for the seller's own words, which is the default with `text`.
request_idYesUnique per call; the same id again returns the first result.

Output Schema

NameRequiredDescriptionDefault
kindNo
nextNo
errorNo
orderNo
outcomeNo
timezoneNo
untrustedNo
confirmationNo

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?

Goes well beyond the annotations: it discloses that the tool always returns needs_confirmation, that Confita composes the exact email into `untrusted.preview`, and that nothing is sent until the seller taps Confirm. This materially softens and explains destructiveHint=true and openWorldHint=true in a way the raw hints cannot.

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

Conciseness5/5

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

Four sentences, front-loaded with audience and action, then the mode list, then the confirmation behavior, then the usage trigger and precondition. No filler and no repetition of schema content.

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

Completeness5/5

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

For a six-parameter, nested-object, output-schema-bearing mutation tool, the description covers the send/confirm lifecycle, the preview field, mode selection, and the blocking precondition. Return values are covered by the output schema, so nothing an agent needs before calling is missing.

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 100%, so baseline is 3, but the description adds real semantics: `text` is the seller's own words vs a note appended to a template, `quote` is an alternative to a message and requires the order to be awaiting one, and `review_invite` does not use `text`. That resolves the interaction between `template`, `text`, and `quote` that the schema alone leaves implicit.

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?

States a concrete verb and resource (email the customer of one order) and enumerates the four message modes: template, seller text, quote, review_invite. An agent can distinguish this from order-mutating siblings like cancel_order or refund_payment without opening the schema.

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

Usage Guidelines4/5

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

Gives an explicit trigger ('when the seller asks for a message, or agrees to one a reply's `next` offered') plus a precondition ('A customer with no email cannot be messaged'). It does not name a competing tool to prefer instead, but the confirm gate makes the boundary with confirm_action reasonably clear.

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