Check payment status
get_payment_statusStatus of an invoice: pending | paid | cancelled. Poll after the human opens the payment link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | Invoice id from create_topup |
get_payment_statusStatus of an invoice: pending | paid | cancelled. Poll after the human opens the payment link.
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | Invoice id from create_topup |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavioral value the annotations don't: the finite set of possible results and the polling pattern after human action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, enum values front-loaded and the polling cue second. No waste; slightly telegraphic but every clause carries information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description usefully names the possible statuses, which is the key return information. Combined with the single fully-documented parameter and readOnly annotations, an agent has what it needs to call the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Single parameter with 100% schema coverage, and the schema already says the invoice_id comes from create_topup. The description adds no format or sourcing detail beyond that, so the baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific resource (invoice) and enumerates the exact return values (pending | paid | cancelled), which is far more than a tautology. It doesn't differentiate from siblings like create_topup or get_pricing, but the invoice-status purpose is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
"Poll after the human opens the payment link" gives a concrete trigger condition and implies the correct ordering relative to create_topup. It stops short of stating when NOT to call (e.g., before link creation) or a polling interval, so it misses the top tier.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.