Skip to main content
Glama

Send a message on a setup order

message_setup_order
Destructive

Send a message on an existing setup order. Before checkout (status quoted/awaiting_confirmation/declined), this replaces the previous quote with a new one under the same one-shot rule as create_setup_order - it never asks a follow-up question, so include everything relevant to the change. With an open checkout (a customer already started paying), the quote is frozen and this returns checkout_open instead - wait for it to expire or for payment. After ready, it starts a revision (one of the rounds of changes included in the package) instead of a new quote. Rounds included in the package (order.quote.revisionsIncluded, already used order.revisionsUsed) are free; once they are used up, the next round the founder finishes is charged 490 CZK excl. VAT from credit as a setup_revision ledger entry - tell the customer before sending the message. After paid/building/revision it is just a note forwarded to volai's founder; after launched/cancelled it fails with order_closed. Same data as POST /v1/setup-orders/{id}/messages (response schema in /openapi.json).

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": {
      "orderId": "<orderId>",
      "message": "<message>"
    },
    "name": "message_setup_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesMessage to add to the order, up to 2000 characters. Before checkout this can change the quote - be specific, since no follow-up question is asked.
orderIdYesId of the setup order, from list_setup_orders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotent, and the description adds substantial meaning beyond them: the prior quote is discarded, no follow-up question is asked so the message must be self-contained, revisions beyond the package allotment are billed 490 CZK excl. VAT via a setup_revision ledger entry, and the customer should be told before sending. It also enumerates the exact failure signals (checkout_open, order_closed).

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?

The core purpose and the state machine are front-loaded, and nearly every sentence carries decision-relevant information (freezing, billing, failure codes). The single dense paragraph could be broken into structured bullets for easier scanning, but there is little filler.

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 two-parameter mutation with no output schema, the description covers the full behavioral surface: per-status effects, billing consequences and required customer notification, failure modes, and a pointer to the response schema via /openapi.json and the underlying REST endpoint. Nothing an agent needs to call it safely 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 the baseline is 3, but the description adds meaning beyond the schema by tying the 'message' parameter to concrete consequences per status (quote replacement under the one-shot rule, revision triggering, note forwarding) and by pointing to list_setup_orders for orderId in the schema. The extra context on what the message content actually does justifies a point above baseline.

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 first sentence states a specific verb and resource ('Send a message on an existing setup order'), and the body immediately distinguishes the effect from create_setup_order ('replaces the previous quote with a new one under the same one-shot rule'). An agent can tell exactly what this tool does and how it differs from creating an order.

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?

The description gives state-conditional guidance across the order lifecycle: before checkout it replaces the quote, with an open checkout it returns checkout_open and the agent should 'wait for it to expire or for payment', after ready it starts a revision, and after launched/cancelled it fails with order_closed. It stops short of naming sibling tools as substitutes (e.g., send_voice_message or send_sms), so it is clear context rather than fully explicit alternatives.

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.