Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Check an approval

get_approval
Read-only

Whether the person has approved a change that was waiting: pending, approved (with the result), rejected or expired.

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": {
      "approvalId": "<approvalId>"
    },
    "name": "get_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
approvalIdYesApproval id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the non-mutating nature is covered structurally. The description's real contribution is disclosing the four possible outcomes and that 'approved' carries a result, which matters because there is no output schema. It stops short of saying how long pending lasts, what expired means, or what happens with an unknown approvalId.

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?

A single short sentence with the outcome enumeration front-loaded and no filler. The colon list is efficient, though the fragmentary grammar ('Whether the person has approved...') is slightly looser than a declarative statement would be.

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 one-parameter read tool with no output schema, the outcome enumeration is the key missing piece and it is present. Safety is covered by annotations. Remaining gaps, error behavior and polling cadence, are minor at this complexity level.

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 approvalId is already documented, and there is only one parameter. The description adds no format, source, or provenance detail about where the approval id comes from, so the baseline 3 is correct.

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?

The description identifies the resource (a change approval) and, unusually, enumerates the domain of outcomes it reports: pending, approved with result, rejected, expired. That makes the tool's job concrete without opening the schema. It is a noun-phrase fragment rather than a verb+resource statement, but an agent can still tell it apart from sibling get_* tools such as get_deployment or get_issue.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus anything else, no mention of polling behavior, no prerequisites, and no indication of what to do when the approval is still pending. The phrase 'a change that was waiting' hints at the polling use case but never states 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.