Skip to main content
Glama

Unlink refund

purch_unlink_refund
Destructive

Undo a refund link, with a reason. The money-in row goes back to how it was reviewed before. For a link that was wrong: the money in goes back to how it was reviewed, and the purchase counts in full again. Say so to the person. Effects: refund unlinked; the row back to its earlier review.

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy it was wrong.
refund_idYese.g. RFD-0001. An existing purch_refund id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, so the safety profile is covered; the description goes further by naming the concrete consequences ("refund unlinked; the row back to its earlier review", "the purchase counts in full again"). The instruction "Say so to the person" also hints the agent should surface the change to the user, which is behavior beyond the annotations.

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?

The core action is front-loaded, but the same consequence is restated twice ("The money-in row goes back to how it was reviewed before" vs. "the money in goes back to how it was reviewed"), and "Say so to the person" is an unexplained instruction that muddies rather than clarifies.

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

Completeness4/5

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

For a destructive two-parameter mutation with no output schema, the description covers the important thing an agent needs: what state is restored and that the purchase is re-counted in full. It omits error/edge behavior (nonexistent or already-unlinked refund) and permission requirements, but the essential call semantics are present.

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 coverage is 100% and both parameters (refund_id, reason) are documented in the schema, so the baseline of 3 applies. The phrase "with a reason" echoes the required reason parameter but adds no format, length, or content guidance beyond "Why it was wrong."

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?

"Undo a refund link, with a reason" gives a specific verb (undo/unlink) and resource (refund link), which cleanly inverts the sibling purch_link_refund. An agent can distinguish it from purch_unlink_reimbursement/purch_unpair_transfer by the resource alone, though the description never names those siblings explicitly.

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

Usage Guidelines3/5

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

Usage is implied by "For a link that was wrong" and "Undo a refund link," which gives a clear trigger condition. However, it names no alternatives (e.g. purch_link_refund, purch_unlink_reimbursement) and states no exclusions or prerequisites, so the agent must infer the routing.

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.