Skip to main content
Glama

wait_for_card

Wait until the owner has typed the card from request_card, or the timeout elapses (default 120 seconds, at most 300). Returns status: pending, fulfilled or expired. The card number and CVC are never returned; once fulfilled, use it by label (list_cards, fill_card).

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": {
      "request_id": "<request_id>"
    },
    "name": "wait_for_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYes
identity_idNoIdentity to use. Omit when the account has exactly one identity.
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses blocking semantics, the returned status set (pending/fulfilled/expired), default and maximum timeout values, and a security guarantee that card number and CVC are never returned. That last point is critical behavioral context an agent could not infer elsewhere. Remaining gaps are error behavior for an invalid/unknown request_id and whether the call long-polls server-side or polls client-side.

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?

Three sentences with no filler; the core action and its trigger come first, then the return contract, then the security constraint and follow-up path. Every sentence adds information the agent needs.

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?

There is no output schema, so the description must enumerate return values, and it does (pending, fulfilled, expired) while also explaining the safe-handling pattern. For a blocking wait tool with three parameters this is nearly sufficient; only failure-mode behavior for bad or stale request_ids is left unstated.

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 only 33% (identity_id documented, request_id and timeout_seconds not), and the description compensates for the most important gap by supplying the timeout default of 120 seconds, which the schema itself omits (it only bounds 0-300). request_id remains undefined beyond its uuid format and its implicit link to request_card, which is a minor residual gap.

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 ('wait until the owner has typed the card from request_card') with the exact completion condition and the timeout fallback. It also names the upstream sibling (request_card) and the downstream consumers (list_cards, fill_card), so the agent can place it in the workflow without reading other schemas.

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?

Implied but clear when-to-use: call this after request_card to await the human input, then use the card by label via list_cards/fill_card once fulfilled. The timeout bounds (default 120, max 300) give the agent concrete operational parameters. It stops short of explicit exclusions, such as what to do on 'expired' (retry vs. re-request) or whether to prefer wait_for_approval in approval flows.

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