Skip to main content
Glama

SendForMe

Wait for the user to finish the link

wait_for_setup
Read-onlyIdempotent

After send_letter returned needs_setup or awaiting_approval and the user can SEE the link: waits up to 50 s for them to pay or approve, and returns as soon as they do (the letter is then on its way, plus account_key once if you had no account). If it returns "waiting_for_setup", call it again. If your client only shows replies when your turn ends (ChatGPT), end your turn with the link and call this after the user replies.

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": {
      "setup_code": "<setup_code>"
    },
    "name": "wait_for_setup"
  }
}

Input Schema

NameRequiredDescriptionDefault
setup_codeYesFrom send_letter, e.g. "QF6S-2U4Z"
wait_secondsNoMax 50

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 cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds behavior they cannot express: a 50 s timeout ceiling, immediate return on completion, the 'waiting_for_setup' sentinel that signals re-invocation, and the one-time account_key in the response. That is meaningful disclosure beyond structured fields.

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?

Front-loads the precondition, then outcome/retry, then the client-specific caveat — a logical order with no filler. The sentences are long and clauses are stacked, so it's dense rather than perfectly crisp, but every clause carries operational information.

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?

No output schema exists, and the description still explains the return states ('waiting_for_setup' vs. success with the letter on its way) and the one-time account_key. Combined with the annotations, nothing needed to call or handle this tool correctly is missing.

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% and already documents setup_code's origin (from send_letter, with an example) and wait_seconds' 50 max. The description only restates 'up to 50 s' and doesn't add format or edge-case meaning, so the baseline 3 applies.

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 ('waits up to 50 s for them to pay or approve') plus the exact trigger condition tied to send_letter's needs_setup/awaiting_approval statuses. An agent can distinguish this long-poll from send_letter, get_letter, or cancel_letter without inspecting schemas.

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?

Explicit when-to-use (only after send_letter returns needs_setup or awaiting_approval and the user can see the link), explicit retry loop ('If it returns "waiting_for_setup", call it again'), and an alternative pattern for clients that only surface replies at turn end (ChatGPT). No inference required.

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