Skip to main content
Glama

Claim failed call

claim_failed_call

Ask for a service-credit review of one paid call. For a basket, pass line or sku. Claims older than 72 hours are rejected. This does not move sats or cash.

Input Schema

NameRequiredDescriptionDefault
skuNoSKU of the line to claim when the order has more than one line.
lineNoLine index when the order has more than one line. Omit it when only one line can be claimed. (minimum 0).
call_idYesCall or order id from the buy receipt.
descriptionYesWhat failed, in a sentence or two.

Output Schema

NameRequiredDescriptionDefault
codeNoapproval_required, limit_exceeded, or insufficient_balance.
paidNo
whichNoper_call, per_day, per_session, per_hour_buys, per_minute_calls, or per_minute_sats.
statusNo
messageNo
quoteIdNo
resultsNoSearch rows when this is a search result.
totalCostNo
totalSatsNo
approvalUrlNoPage where the person approves this exact price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false. The description adds value beyond them by disclosing the 72-hour rejection rule and clarifying 'This does not move sats or cash', but it stays silent on the non-idempotent behavior (duplicate claims on retry), which is the main residual risk.

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?

Three short sentences, purpose front-loaded, then conditional usage, then constraint. Every sentence earns its place with zero filler.

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?

An output schema exists so return values needn't be explained, and annotations cover the safety profile. The description supplies the key operational constraints (72h limit, non-financial outcome, basket handling), leaving only idempotency/retry behavior unstated.

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 the descriptions already explain line/sku as the multi-line selectors, so the description's 'pass line or sku' largely restates the schema. Baseline 3 is appropriate since the schema carries the parameter semantics.

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?

States a specific action (request a service-credit review) on a specific resource (one paid call), and the name plus description together distinguish it from sibling tools like report_outcome and report_sku. An agent can immediately tell what the tool does without opening the schema.

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 concrete usage context: 'For a basket, pass line or sku' and the 72-hour eligibility window. It clarifies the multi-line case well but never names an alternative sibling or states when NOT to use this tool, so it stops short of explicit 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.

Resources