Skip to main content
Glama

Claim store credit for a purchase

claim_refund
Destructive

Claim store credit for a purchase that did not work. Within 24 hours. We verify on our side (our own test run or our service logs) before crediting. Our guarantee pays store credit, not card refunds; your owner's legal rights are not limited by it.

Input Schema

NameRequiredDescriptionDefault
detailNoWhat did not work, in plain words.
order_idYesOrder id from buy (order_id).
test_outputNoFor a kit: the failing test output.
passport_tokenNoYour amp_ token, only if you have no app sign-in and cannot send a header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: a 24-hour window, that the vendor verifies via its own test run or service logs before crediting, and that the payout is store credit rather than a card refund. This is consistent with destructiveHint=true (claiming consumes the guarantee) and non-idempotent hints. It doesn't say what happens on a rejected claim or whether the claim can be repeated, so not a 5.

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?

Four short sentences, front-loaded with the core action and the time limit. The 24-hour constraint and payout-type caveat both earn their place, though the terse fragments ('Within 24 hours.') read a bit clipped rather than maximally structured.

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 mutation tool with no output schema and fully documented params, the description covers the key unknowns: deadline, verification process, and payout form. Missing only post-call details such as what a successful or denied claim returns and whether the guarantee is one-shot per order.

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% and all four parameters are documented in the schema, so the baseline is 3. The description's mention of 'our own test run' loosely points at the test_output parameter but adds no format, requiredness, or interaction detail beyond the schema.

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?

States a specific verb (claim) and resource (store credit for a purchase) plus the triggering condition (a purchase that did not work). It clearly distinguishes itself from listing/lookup siblings like get_order or list_orders, though it never names a specific alternative such as dispute_job or top_up.

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?

Gives a real usage condition: within 24 hours of a purchase that did not work. It also implicitly excludes card-refund seekers by stating the guarantee pays store credit, not card refunds. It stops short of explicit when-not rules or named alternative tools.

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.