Skip to main content
Glama

Approve or reject content

decide_approval
Destructive

Approve or reject one pending approval request (from list_pending_approvals). Approving lets the content air where it is assigned; rejecting keeps it off screens and needs a reason. Only works when this connection's identity is an approver for the request's chain; otherwise the call is refused. Use list_pending_approvals to see what is waiting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoWhy: required for reject, an optional note for approve.
decisionYesapprove lets the content air; reject keeps it off screens.
approvalIdYesApproval request id (ar_…), from list_pending_approvals.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / approvalId / description
      Added value: +"Approval request id (ar_…), from list_pending_approvals."
    • addedInput schema / properties / decision / description
      Added value: +"approve lets the content air; reject keeps it off screens."
    • changedInput schema / properties / reason / description
      Previous value: -"Required for reject."New value: +"Why: required for reject, an optional note for approve."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (destructiveHint true, readOnlyHint false), and the description adds real value beyond them: the concrete effect of each decision (content airs vs stays off screens), the requirement of a reason for reject, and the authorization constraint that causes refusal. It does not address reversibility or rate limits, but the added auth and effect disclosure is substantive.

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?

Front-loaded with the action and appropriately sized for a mutation with authorization constraints. There is minor redundancy in referencing list_pending_approvals both parenthetically up front and again in the final sentence.

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?

Output schema exists, so return values need not be explained, and the description covers the key gaps an agent needs: decision effects, the reason requirement, and the approver-identity precondition. Complete enough to invoke correctly, with only minor omissions around post-decision state.

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 the schema already documents approvalId, decision (with enum), and the conditional reason requirement. The description's note that rejecting 'needs a reason' reinforces but does not meaningfully extend what the schema states, so baseline 3 is appropriate.

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 pair (approve/reject) and a specific resource (one pending approval request), and explicitly ties the request to the list_pending_approvals sibling as its source. An agent can distinguish it from list_pending_approvals without opening either schema.

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?

Clearly states the prerequisite condition — the connection identity must be an approver for the request's chain, otherwise the call is refused — and points to list_pending_approvals for discovery. It lacks an explicit 'do not use this instead of X' exclusion, but the when-to-use context is strong.

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