Skip to main content
Glama

Wait for a decision

check_approval
Read-onlyIdempotent

Read the answer to a request you made, waiting for a person to decide if they have not yet. Call it again while the request is pending, or approved with acts_at still ahead (a cancel window, in which it can still be cancelled). Act only when allowed is true, and then only on approved_summary and approved_amount: when changed is true the person approved a narrower version than you asked.

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": "check_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesThe `id` that `request_approval` returned.
wait_secondsNoWait up to this many seconds for a person to decide, and answer as soon as they do.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile, yet the description adds substantial behavior: the call blocks for a person to decide, must be retried while pending, that an approved request still has a cancellable window via `acts_at`, and that `changed` means a narrower approval was granted. It also scopes action to `approved_summary`/`approved_amount` only, which is meaningful guardrail context beyond readOnly/idempotent hints.

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 dense sentences with the core action front-loaded and no filler. The parenthetical about the cancel window is somewhat convoluted, but overall it stays tight and information-dense.

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 carries return-value semantics, and it does explain `allowed`, `approved_summary`, `approved_amount` and `changed` inline. It omits what a timeout or an unknown/invalid `request_id` returns, which is the main remaining gap for a blocking tool.

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 `request_id` and `wait_seconds` are already fully documented with bounds and defaults. The description adds polling semantics but no additional syntax or format detail about the parameters themselves, 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?

The first sentence names a specific verb ('Read the answer') and resource ('a request you made'), and implicitly separates this from request_approval by framing it as reading the answer rather than creating the request. An agent knows immediately this is the decision-retrieval endpoint.

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?

It states concrete conditions for re-calling: 'Call it again while the request is pending, or approved with `acts_at` still ahead' and gates action on `allowed` being true. It stops short of naming exclusions such as a terminal denial state where polling should stop, leaving the agent to infer it.

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