Skip to main content
Glama

Approve or ask for changes

decide_approval

Approve a flow, or ask for changes, when it is the signed-in person's turn in an approval. Get approval_id from get_inbox or list_approvals.

Input Schema

NameRequiredDescriptionDefault
commentNoOptional comment for the requester.
decisionYesapprove, or changes to ask for changes.
approval_idYesThe approval id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the safety profile is largely covered. The description usefully adds the authorization precondition (must be your turn) and the id's provenance, but says nothing about what happens after a decision is recorded or that a repeat call is not idempotent.

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 tight sentences, front-loaded with the action and its precondition, then the id source. No filler.

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?

With no output schema, the description could say more about the consequence of approval/changes (e.g., that the flow advances or is sent back to the requester), but for a 3-parameter decision tool the coverage is otherwise sufficient to invoke correctly.

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 baseline is 3, but the description goes beyond the schema by naming get_inbox and list_approvals as the sources for approval_id, which is real added meaning for how to fill the required parameter.

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 ('approve') and alternative action ('ask for changes') on the 'flow' resource in an approval context, which cleanly separates it from request_approval, list_approvals, and get_inbox among the siblings.

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?

Gives the gating condition explicitly ('when it is the signed-in person's turn') and tells the agent where to obtain approval_id, so invocation context is clear. It does not say what to do if it is not your turn or contrast with request_approval for the requester side.

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