Skip to main content
Glama

PHION Payments

transaction_recovery

Read-onlyIdempotent

Failure classification and non-repeating recovery plan with validated attempt history; 0.010 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policyYes
paymentYes
attemptsNo
assuranceYes
transaction_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false, destructiveHint=false — a strong safety profile. The description adds only 'validated attempt history' and the price, but does not explain what 'failure classification' returns, what the recovery plan contains, whether payment is charged on failure, or how the 0.010 USDC charge is incurred. The pricing is the one genuinely new fact.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short line, so there is no bloat, but the structure is a run-on noun phrase with the price appended after a semicolon. It is concise but not front-loaded with an action; the billing detail sits where the core behavior should be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 4 required parameters (three nested objects), 0% schema descriptions, no output schema, and no explanation of the failure classification or recovery plan semantics, the definition is far too thin. An agent cannot determine valid inputs or interpret the result from this description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for 5 parameters, 4 of which are required, including three nested objects (policy, payment, assurance). The description mentions 'attempt history' (mapping to attempts) but says nothing about transaction_id, assurance, payment, or policy. At 0% coverage the description must compensate and it does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'Failure classification and non-repeating recovery plan with validated attempt history' — a noun phrase, not a verb+resource statement. It never states what action the tool performs (e.g., 'classify a failed transaction and produce a recovery plan'). The '0.010 USDC' price tag is a billing note, not a purpose statement.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs. siblings like interrupted_task_recovery, payment_diagnose, or transaction_assurance. The phrase 'non-repeating recovery plan' hints at avoiding duplicate attempts, but no explicit when/when-not or alternative-tool routing is given.

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.

Resources