Skip to main content
Glama

Freigegebene Grußkarten senden

send_card
DestructiveIdempotent

Mails a card batch from prepare_card only when the batch has no order_url. With an order_url, the user orders on the order page: give the user the order_url after the approval. Do not call this tool for that batch. Call it only after the approval, when next_step of prepare_card says so, in a later answer. Then give batch_id, batch_sha256, confirmed_count, recipient_names and confirmed_price_cents. Cannot be undone after printing starts. If distinct_messages is more than 1, give confirmed_distinct_messages.

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": {
      "batch_id": "<batch_id>",
      "batch_sha256": "<batch_sha256>",
      "confirmed_count": "<confirmed_count>",
      "recipient_names": "<recipient_names>",
      "confirmed_price_cents": "<confirmed_price_cents>"
    },
    "name": "send_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_idYesThe batch_id from prepare_card.
batch_sha256YesThe batch_sha256 from prepare_card.
allow_duplicateNoSet to true only if the user clearly wants a second card to a recipient who got the same card before.
confirmed_countYesThe number of cards that the user approved.
recipient_namesYesThe name of each recipient that the user approved, as in prepare_card.
confirmed_price_centsYesThe total price in cents that the user approved: price.amount_cents from prepare_card.
confirmed_distinct_messagesNoThe number of different messages that the user saw and approved: distinct_messages from prepare_card. Required when it is more than 1.

Output Schema

NameRequiredDescriptionDefault
statusYes
batch_idNo
transaction_stateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds the precise point of no return ("Cannot be undone after printing starts") and the approval-gating behavior, which the annotations cannot express. It stops short of describing what the response contains, though an output schema exists.

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 critical exclusion (no order_url) is front-loaded and every sentence carries operational meaning, though the middle sentences are dense and read as a run-on chain of conditions.

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 destructive, open-world, multi-step tool, the description supplies the precondition, the approval gate, the required confirmation payload, and the irreversibility warning; return values are covered by the output schema.

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

Parameters3/5

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

Schema coverage is 100%, so all seven parameters are already documented, including the conditional requirement for confirmed_distinct_messages. The description restates the required fields and the distinct-messages condition without adding format or validation detail beyond the schema.

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 specific verb and resource ("Mails a card batch from prepare_card") plus the decisive scope condition ("only when the batch has no order_url"), which cleanly separates it from the prepare_card sibling.

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?

Explicitly covers when not to call ("With an order_url, the user orders on the order page... Do not call this tool for that batch") and when to call ("only after the approval, when next_step of prepare_card says so, in a later answer"), including the sequencing constraint.

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