Skip to main content
Glama

claim_offer

Idempotent

Get a reviewed public code when available, official redemption steps, and a private feedback receipt. This does not redeem, create an account, submit an application, or guarantee credits. Reuse request_key on retries. After the user actually tries the offer, report their outcome using the returned receipt.

Input Schema

NameRequiredDescriptionDefault
offer_idYes
request_keyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare idempotentHint=true and destructiveHint=false, and the description reinforces idempotency concretely by telling the agent to reuse request_key across retries. It adds context the annotations cannot carry: results are best-effort ('when available'), credits are not guaranteed, and the output includes a private receipt intended for later outcome reporting. It does not describe what a failed or empty claim looks like, leaving some behavioral uncertainty.

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?

Four short sentences, each earning its place: what you get, what it does not do, the retry rule, and the follow-up step. The most dangerous misconception (that this redeems) is addressed in the second sentence, before operational details.

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 need not be spelled out, yet the description still previews the code, steps, and receipt, which helps the agent plan the next turn. Idempotency, the no-redemption boundary, and the outcome-reporting loop are all covered. The remaining gap is edge-case behavior when no public code exists or when the claim is rejected.

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 0%, so both required parameters are undocumented structurally. The description rescues request_key by defining it as a retry-stable key that must be reused, which is real added meaning. offer_id receives no explanation at all, and with zero coverage the description does not fully compensate for the schema gap.

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?

The description states a concrete return set: a reviewed public code when available, official redemption steps, and a private feedback receipt. It also explicitly disclaims what the name 'claim_offer' might imply (no redemption, no account creation, no application submission), which prevents a costly misread. It stops short of naming the sibling that actually performs the redemption, so differentiation is inferred rather than stated.

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?

Usage is well-scoped: negative guidance lists four things this tool does not do, and the follow-up instruction ties the returned receipt to a later outcome report, implicitly routing to report_promotion_result. The retry rule (reuse request_key) is a clear operational instruction. No sibling is named explicitly, and there is no statement of prerequisites or what to do when no code is available.

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