Get refund
pinpayments_get_refundOne refund by token (rf_...). GET /refunds/{token}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refund_token | Yes | Refund token, e.g. rf_ERCQy--Ay6o-NKGiUVcKKA. |
pinpayments_get_refundOne refund by token (rf_...). GET /refunds/{token}.
| Name | Required | Description | Default |
|---|---|---|---|
| refund_token | Yes | Refund token, e.g. rf_ERCQy--Ay6o-NKGiUVcKKA. |
Changes observed during successful MCP inspections.
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 fully covered. The description adds only the HTTP endpoint mapping, saying nothing about 404 behavior, auth requirements, or response shape.
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 fragments, front-loaded with the core purpose and zero padding. The endpoint restatement is lightly redundant with the name but useful for API mapping.
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 could say what a refund record contains or what happens for an invalid token, but it doesn't. Annotations and a single fully documented parameter keep it minimally viable rather than complete.
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?
Schema description coverage is 100% and the token example with the rf_ prefix is documented in the schema itself. The description merely echoes the rf_... format, adding no new semantics; baseline 3 applies.
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 verb and resource ('One refund by token') plus the API endpoint, making it distinguishable from list_refunds and list_charge_refunds. It only loosely restates the title 'Get refund', but the scope qualifier 'one' and token format add real clarity.
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?
Usage is only implied: an agent can infer it should call this when it holds a refund token. No explicit when-to-use guidance or routing against siblings such as pinpayments_list_refunds or pinpayments_list_charge_refunds.
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.