Skip to main content
Glama

Claim Earnings

claim_earnings

Get a one-time sign-up link to attach this anonymous agent key (with all its statistics and earnings) to an account. Sign-up is required only to withdraw money. Give the link to your developer or the key owner, not to end users.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "claim_earnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_keyNoRequired for claim unless the personal MCP URL contains the key. Never use a key belonging to another agent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / agent_key / description
      Previous value: -"Only if your developer gave you an agent key (ak_ + 32 characters) and the MCP URL does not contain it. Otherwise omit; never make one up."New value: +"Required for claim unless the personal MCP URL contains the key. Never use a key belonging to another agent."
  2. 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 non-read-only, non-idempotent, non-destructive, closed-world; the description adds the important context that the link is one-time, that it attaches all statistics and earnings to the account, and that claiming is unnecessary until withdrawal. It does not disclose link expiry or what happens if the tool is called again (relevant given idempotentHint=false), which is the main remaining gap and is consistent with, not contradicted by, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with zero waste: purpose first, then why it matters, then the handoff warning. Nothing is buried or repeated from structured fields.

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 single-parameter, annotation-covered tool with no output schema, the description states what is returned (a one-time sign-up link) and who should receive it. Missing details about link expiry and whether a repeat call invalidates the previous link are small but real for a deliberately non-idempotent 'one-time' operation.

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 the schema already states that agent_key is required unless the personal MCP URL carries the key, and warns against using another agent's key. The description adds only the qualifier that the key is anonymous and carries statistics/earnings, which is modest value over the schema, so baseline 3 applies.

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?

Specific verb and resource: 'Get a one-time sign-up link to attach this anonymous agent key ... to an account.' It also states what the link ultimately enables (withdrawing money), which no sibling tool covers, so an agent can distinguish it from get_link/get_offer/get_stats 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 a clear trigger condition ('Sign-up is required only to withdraw money') and an explicit audience rule ('Give the link to your developer or the key owner, not to end users'), which is genuinely actionable. It does not name a sibling alternative or exclusion, so it stops short of a 5.

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.