Skip to main content
Glama

Decide checkout review

stack_decide_review
Destructive

Record an operator decision on a flagged Passport checkout. approved clears the flag; blocked stops future Passport issuance to the agent. A block applies immediately. An approval from an MCP or API-key session requires human approval. When human approval is required and the chat client supports MCP elicitation, the person is asked to confirm the exact change in the client; the change is applied only after they approve, and a rejection changes nothing. Otherwise it returns GOVERNANCE_APPROVAL_REQUIRED with approval_id and approval_url, the page for that one approval, and the same payload sent with governance_approval_id after approval applies the change. An approval is single-use, bound to the exact payload, and expires after 24 hours.

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": {
      "checkout_id": "<checkout_id>",
      "decision": "<decision>"
    },
    "name": "stack_decide_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoOperator notes explaining the decision
decisionYesOperator decision
checkout_idYesCheckout ID to decide on
block_futureNoBlock this agent from future passport issuance
governance_approval_idNoApproval id (gvr_*) from a prior 403, after human approval in the dashboard

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Substantially exceeds the annotations: it discloses that a block applies immediately and permanently halts Passport issuance, that approvals are single-use, payload-bound and expire after 24 hours, and that MCP/API-key sessions require human confirmation via elicitation or fall back to a GOVERNANCE_APPROVAL_REQUIRED response with approval_id and approval_url. This is a mutation tool flagged destructiveHint=true, and the description explains exactly what gets destroyed and what authorisation is needed - consistent with, not contradicting, the annotations.

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?

Purpose and effects are front-loaded in the first two sentences, and the longer approval paragraph is information-dense rather than padded. The approval sentences are somewhat tangled (a single sentence spans elicitation, the 403 fallback, and re-submission), costing some readability but not wasting content.

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 five-parameter destructive mutation with no output schema, the definition covers the error path in detail and states the token lifecycle. The successful return value after a decision is applied is not described, which is the main remaining gap.

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 the schema already carries the baseline; the description still adds meaning by explaining the governance_approval_id round-trip (the same payload must be re-sent with the id after dashboard approval) and by tying 'approved'/'blocked' to concrete system effects. It doesn't cover notes or block_future explicitly, which keeps it short of the top mark.

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?

The definition opens with a specific verb and resource, 'Record an operator decision on a flagged Passport checkout', and immediately defines the two outcome states ('approved clears the flag; blocked stops future Passport issuance to the agent'). That effect-level detail lets an agent tell this apart from neighbouring review/decision tools such as stack_decide_intent without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains the conditions that trigger the human-approval path (MCP or API-key sessions) and what happens in each branch, which is useful context. But it never states when to choose this tool over a sibling review tool, nor any exclusion such as 'do not use for intent decisions' - the when-to-use is implied rather than stated.

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.