Skip to main content
Glama

Approval Link — Quotes and Proofs

Wait for decision

wait_for_decision
Read-only

Wait up to 20 seconds for an internal answer or customer approval response. An external decision includes its own versionNo, or null if its version cannot be resolved. A pending timeout is not approval.

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": {
      "id": "<id>"
    },
    "name": "wait_for_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
waitMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description adds real behavioral context: a hard ~20 second wait ceiling, the fact that a timeout is not an approval, and that external decisions may carry a versionNo or null. It still doesn't say what the overall response looks like on timeout versus on a decision.

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?

Three short sentences with no filler; the capability statement comes first and the semantic caveats follow. The versionNo sentence is dense but earns its place given there is no output schema.

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

Completeness3/5

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

With no output schema, the description does useful work by explaining the versionNo field and the timeout case, which is what an agent most needs. However, for a blocking polling tool it omits the obvious operational questions: is this a single poll or does it retry, and what should the caller do after a timeout.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the parameter meaning, but it never explains what `id` identifies. It only indirectly hints at `waitMs` via "up to 20 seconds," without noting the default of 15000 or the 0 lower bound.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Wait up to 20 seconds for an internal answer or customer approval response" gives a specific verb (wait) and resource (decision/approval), and the blocking nature distinguishes it from an instantaneous fetch such as get_decision. It stops short of naming that sibling, so differentiation is implied rather than stated.

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

Usage Guidelines3/5

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

Usage is implied by "wait ... for ... response" and the caution "A pending timeout is not approval," which tells the agent how to interpret a timeout. There is no explicit statement of when to prefer this over get_decision or list_internal_decisions, and no prerequisite/eligibility conditions.

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