Skip to main content
Glama

Foundaree

See if it was approved

check_approval
Read-onlyIdempotent

Check the answer to an approval request: pending, approved, declined, cancelled or expired, with the approver's note. Give the id from request_approval, or nothing to list the user's recent requests. Only go ahead with the thing that needed approval when the status is approved.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe approval id, from request_approval or check_approval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantive behavior: the full set of terminal and non-terminal statuses that can come back, the fact that an approver's note is returned, and that omitting the id switches the call into a recent-requests listing mode. That is real context the annotations cannot convey.

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?

Two sentences, both front-loaded with the highest-value information (what is returned, then how to call it). No filler or restatement of the tool name.

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?

For a single-optional-parameter read tool with no output schema, this covers statuses, the note, both call modes, and the proceed-only-if-approved rule. The only small gap is that the listing mode's scope/ordering/limit when no id is given isn't specified.

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 100%, so the id field's type and format are already documented, but the description adds meaning the schema only hints at: the id originates from request_approval, and — critically — the parameter is optional and omitting it changes the tool's behavior to a list operation rather than an error.

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?

Names a specific verb and resource ('Check the answer to an approval request') and enumerates the exact result domain (pending, approved, declined, cancelled, expired) plus the approver's note. This is clearly distinguishable from the sibling request_approval, which creates rather than reads.

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 states both invocation modes: pass the id from request_approval, or pass nothing to list the user's recent requests. It also supplies a decision rule — only proceed with the gated action when status is approved — which is the key usage constraint for this tool.

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