Skip to main content
Glama

PHION Payments

payment_diagnose

Free diagnosis of the exact payment-funnel stage and machine-readable recovery actions for any PHION service.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serviceYes
body_validNo
error_codeNo
http_statusNo
x402_versionNo
selected_networkNo
has_payment_signatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two real traits beyond the schema: the call is free (a cost trait) and it returns machine-readable recovery actions. However, it omits whether the operation is read-only, what auth or rate limits apply, and what the recovery output looks like.

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?

A single well-formed sentence with the key distinction (exact stage + recovery actions) front-loaded and no filler. It is efficient, though arguably too terse given the tool's complexity.

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

Completeness2/5

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

For a tool with 7 parameters, no annotations, and no output schema, one sentence leaves major gaps: parameter formats and interrelationships (body_valid, error_code, http_status) and any return-shape guidance are absent. A caller has only the bare purpose to work from.

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?

Seven parameters with 0% schema description coverage and no enums, yet the description explains none of them. Concepts like service, error_code, x402_version, or has_payment_signature and their interplay are left entirely unaddressed, so it fails to compensate for the coverage gap.

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?

It names a specific verb and resource ('diagnosis of the exact payment-funnel stage') plus the output ('machine-readable recovery actions'), which is far more informative than a tautology. It is not fully disambiguated from close siblings like payment_preflight or transaction_recovery, but an agent can reasonably tell it apart.

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?

The only usage cue is the scope 'for any PHION service' and the word 'Free'. There is no statement of when to prefer this over payment_preflight, transaction_recovery, or try_service, and no prerequisites are 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