Skip to main content
Glama
theYahia

@theyahia/yookassa-mcp

by theYahia

Get refund

get_refund
Read-only

Retrieve a refund by ID and view its status, amount, and payment reference.

Instructions

Get refund details by ID. Returns status, amount, and payment reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refund_idYesRefund ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
paidNo
amountNo
statusNo
confirmation_urlNo
Behavior3/5

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

Annotations already provide readOnlyHint and openWorldHint. The description adds the return fields (status, amount, payment reference), but does not disclose error behavior, auth requirements, or rate limits. This is acceptable for a simple read with annotations, but not rich.

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?

Two short sentences, front-loaded with the action and resource. Every word contributes to clarity; there is no redundancy or filler.

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

Completeness5/5

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

For a single-parameter, read-only tool with an output schema present, the description is complete. It states the purpose and key return fields, and no additional context is necessary for an agent to use it correctly.

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?

Schema description coverage is 100% as the schema already describes refund_id as 'Refund ID'. The description's 'by ID' adds no meaningful new semantics beyond the schema, so the baseline 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 retrieves refund details by ID, using the specific verb 'Get' and specifying the resource. It is easily distinguished from sibling tools like create_refund and list_refunds by the 'by ID' scope.

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 implies usage when a specific refund ID is known and details are needed. It does not explicitly exclude list_refunds for bulk retrieval or mention alternatives, but the context is clear and no misleading guidance is given.

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/theYahia/yookassa-mcp'

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