Skip to main content
Glama

Explain a Decision (why was this allowed or blocked)

explain_decision
Read-onlyIdempotent

Explain why a specific payment was blocked, detailing what was requested, the mandate's action, the reason, and tamper-evident proof. Use when operators need to understand payment blocks.

Instructions

Explain one decision in plain language: what was requested, what the mandate did about it, why, and the tamper-evident proof for it. Use when an operator asks why a specific payment was blocked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
decisionIdYesDecision id from request_payment, list_decisions or spend_summary
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable context about the output, including the tamper-evident proof and the explanation components, which goes beyond the annotations. There is no contradiction.

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?

The description is concise and front-loaded, stating the core action in the first phrase. It uses only two sentences, with no unnecessary words, and every part adds value.

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 simple tool with one parameter and no output schema, the description adequately explains the tool's output content (request, mandate action, rationale, proof) and usage context. It does not cover edge cases or error behavior, but for this simplicity level, it is largely complete.

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 schema has 100% coverage for the single parameter decisionId, with a clear description of its origin. The tool description does not add further meaning to the parameter, so the baseline score of 3 is appropriate.

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 description clearly states the tool's function: 'Explain one decision in plain language' and enumerates the specifics (request, mandate action, rationale, proof). This distinguishes it from sibling tools like list_decisions (which lists decisions) and verify_mandate (which verifies mandates), making the purpose unambiguous.

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?

The description provides explicit guidance on when to use the tool: 'Use when an operator asks why a specific payment was blocked.' This clearly indicates a typical scenario, but it does not explicitly mention when not to use it or contrast with alternative tools, which would make it a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucaslubi/fidacy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server