Skip to main content
Glama

Decide Approval

decide_approval

Answer a waiting checkpoint by request id: approve, reject, or amend. 'amend' means send the step back to be redone with the change described in notes, so notes are required for it. Spends money: approve continues the run and amend re-runs the step, both billed. Fails with a clear error, rather than silently doing nothing, if the run is no longer waiting. Requires authentication and the workflows:approve scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoWhat you want changed or why. Required when decision is amend; optional otherwise.
decisionYesapprove continues the run; reject sends the step back to be redone; amend does the same but requires notes saying what to change.
approval_idYesThe request's id, from list_approvals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "text": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "text"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that approve and amend both incur billing, that amend requires notes because it re-runs the step, that the tool errors loudly rather than no-opping on a stale run, and that authentication plus the workflows:approve scope are required. This is exactly the extra context annotations cannot carry.

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?

Four short sentences, front-loaded with the core action, then the amend caveat, the cost/error behavior, and the auth requirement. No filler and nothing buried behind preamble.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-idempotent, money-spending mutation with no output schema, the description supplies everything an agent needs to call it safely: id source, decision semantics, notes requirement, billing impact, stale-run behavior, and required scope.

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 description coverage is 100%, so the enum meanings, the notes maxLength, and the notes-required-for-amend rule are already documented in the schema. The description restates those semantics with slightly more workflow framing but adds little the schema does not already say.

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+resource ('answer a waiting checkpoint by request id') plus the three enumerated actions, which is exactly what an agent needs to distinguish this from the sibling list_approvals and from generic workflow tools like advance_workflow.

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?

Explains the triggering context (a waiting checkpoint), the source of the id ('from list_approvals'), and the failure condition when the run is no longer waiting. It does not explicitly name a when-not alternative, but no sibling competes for this action, so 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