Skip to main content
Glama

Get intent approval

stack_get_intent_approval
Read-only

Get one intent approval by id. Returns the approval with its status: pending, approved, rejected, expired or consumed. With review true, the owner also gets what is being asked: the intent (target, action, reason, estimated cost, what it requires) and the result of its simulation, or, for an intent STACK cannot read, its raw JSON as intent_raw. Approvals belonging to another account return 404.

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": {
      "approval_id": "<approval_id>"
    },
    "name": "stack_get_intent_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
reviewNoOwner only: include the intent and its simulation
approval_idYesApproval id (ia_*) returned when an intent is submitted for approval

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds genuine context beyond that. It enumerates the possible statuses (pending, approved, rejected, expired, consumed), discloses the cross-account 404 boundary, and explains the intent_raw fallback when the intent cannot be read.

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?

Four sentences, front-loaded with the core action, then the return states, then the review conditional, then the error case. Every sentence carries information, though the intent_raw clause is slightly convoluted and the status enumeration could be tightened.

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?

There is no output schema, so the description bears the burden of explaining returns, and it does: status values, the review-mode payload, the raw-JSON fallback, and the 404 case. The only gap is that the shape of the simulation result itself is left unspecified.

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 coverage is 100%, so both parameters are already documented and the baseline is 3. The description modestly extends `review` by spelling out exactly what the owner receives (intent target/action/reason/cost/requirements plus simulation result) and reinforces ownership semantics via the 404 note, but it adds no format or syntax detail beyond the schema.

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?

Specific verb and resource: 'Get one intent approval by id', and it names the resource precisely as an intent approval rather than a generic approval. It does not explicitly differentiate itself from the sibling stack_get_approval, so an agent must infer the distinction from the name alone, which keeps it below a 5.

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?

Usage is implied by the retrieval framing and the conditional 'With review true, the owner also gets...' clause, which tells the agent when to opt into the heavier payload. There is no explicit when-to-use statement, no exclusions, and no named alternative (e.g. stack_get_approval) to steer selection.

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.