Skip to main content
Glama

Decide proposal

decide_proposal
DestructiveIdempotent

Approve or reject one pending proposal as the human confirmation step: approval settles in dry-run, writes a receipt, and updates budget; rejection spends nothing.

Instructions

Approve or reject one pending proposal. This is the step a human should confirm. decision=approve settles the purchase: in the default dry-run mode it writes a settled_dry_run receipt, stamps a fake settlement ref (lsrq_dry_…), and decrements the remaining budget, without calling the network. decision=reject spends nothing and writes no receipt. The proposal can be decided only once; repeating the call does not settle again. Live charging stays off unless separate live gates are set on purpose.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoOptional decision note
decisionYesapprove settles; reject spends nothing
proposal_idYesProposal id (prop_…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the annotations: it discloses dry-run behavior (settled_dry_run receipt, fake lsrq_dry_… settlement ref), budget decrement, that reject spends nothing and writes no receipt, and that live charging is gated. These details are consistent with destructiveHint=true, idempotentHint=true, and readOnlyHint=false, and they explain exactly what the mutation destroys or creates.

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 tight sentences, front-loaded with the action and the human-confirmation framing, then descending into dry-run mechanics and idempotency. No filler and every clause carries information an agent needs before calling.

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?

There is no output schema, so the description must carry the effect story — and it does, describing receipt creation, settlement ref format, budget impact, and repeat-call behavior. For a destructive, non-open-world mutation with full annotation coverage, nothing an agent needs is missing.

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 adds real meaning beyond the enum text by spelling out the side effects of each decision value (approve settles, rejects spends nothing, writes no receipt). It does not explain note or proposal_id handling, so it does not fully compensate into a 5.

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) on a specific resource (one pending proposal) and scopes it to exactly one item. This clearly separates it from propose_purchase (creates) and list_proposals (reads), so an agent can route without opening any 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?

"This is the step a human should confirm" gives a clear use condition, and the approve/reject branch guidance tells the agent which input to pick for which outcome. It does not explicitly name sibling alternatives (e.g., refund_receipt for unwinding, deliver_receipt style flows), so it stops short of full when-not guidance.

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