Skip to main content
Glama

Decide Approval

decide_approval
Destructive

Approve or reject an approval request. Only a named approver can decide, and only once — a second attempt returns 409. This is a real sign-off on someone's behalf: confirm with the user before calling it.

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>",
      "decision": "<decision>"
    },
    "name": "decide_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNo
decisionYes
approvalIdYes

Output Schema

NameRequiredDescriptionDefault
idNo
statusNo
messageNo
videoIdNo
approversNo
createdAtNo
decidedAtNo
requestedByNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true. The description adds real value on top: the authorization requirement and the concrete 409-on-repeat behavior, which sharpens the non-idempotent hint. It does not spell out that the decision is irreversible or what the response body contains, so it earns credit but not full marks.

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?

Three tight sentences, front-loaded with the action, then the constraint, then the caution. No sentence is redundant and nothing is buried.

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 destructive, one-shot mutation with an output schema, the definition covers the essential risk profile: who may call it, that it cannot be retried, and that human confirmation is expected. The only real gap is the unexplained parameter set.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, so the description carries the full burden — and it names none of them. It never explains what approvalId identifies, that decision is constrained to approved/rejected, or whether comment is optional context attached to the sign-off.

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 opens with a concrete verb pair and resource: 'Approve or reject an approval request.' That is enough to separate it from request_approval and withdraw_approval without opening a schema, though it never names those siblings explicitly.

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 the key precondition ('Only a named approver can decide'), the one-shot constraint, and an explicit caution to confirm with the user before calling. It stops short of naming alternative tools for non-approvers, but the when-to-use context is clear.

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