Skip to main content
Glama

approve_proposal

Executes a queued proposal after operator approval and returns the audit receipt. Use for time-sensitive actions within the 15-minute proposal queue TTL.

Instructions

Approve and EXECUTE a queued proposal (POST /api/actions/proposals/{id}/approve).

Only call this when the operator has told you to. The receipt carries the audit row the execution wrote. 404 for an unknown or expired proposal (the queue has a 15-minute TTL); 403 when the action is operator-only and the caller is not the operator; 401 on a multi-user deployment by design — see propose_action.

Input Schema

NameRequiredDescriptionDefault
proposal_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses that the call irreversibly executes an action, that the proposal queue has a 15-minute TTL, and it enumerates 404/403/401 failure semantics including the deliberate multi-user 401. It does not state whether execution can be undone or what happens if the underlying action itself fails, so it falls just short of the top band.

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?

The core action leads, the operator gate follows, and error semantics are grouped last — a sensible front-loaded order with no filler sentences. It reads a bit telegraphically (fragmented clauses, parenthetical status codes), which costs a little clarity but no substance is wasted.

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?

An output schema exists, and the description still front-loads the key return fact — the receipt carries the audit row the execution wrote. Combined with the full error taxonomy and TTL, an agent has enough to call this correctly; only execution-failure behavior and id sourcing remain unstated.

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?

The single parameter has 0% schema description coverage, so the description must compensate. The endpoint path hints that proposal_id identifies the proposal, and the 'unknown or expired' clause implies ids come from the queue, but the description never states where to obtain a valid id (e.g., list_proposals) or its format — leaving an undocumented lone 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 precise compound verb+resource ('Approve and EXECUTE a queued proposal') and even pins the endpoint, making clear this is not a passive status flip. The uppercase EXECUTE plus the explicit routing to propose_action clearly distinguishes it from sibling queue tools like propose_action, reject_proposal, and list_proposals.

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?

'Only call this when the operator has told you to' is an explicit, unambiguous invocation gate that an agent can act on, and the 401 note routes the caller to propose_action. It stops short of naming reject_proposal or list_proposals as the alternatives for the non-approved paths, so it is strong but not fully exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.