Skip to main content
Glama

prepare_claim_operative_earnings

Rackets: prepare (unsigned) collecting what a crew of Operatives has earned (Rackets.claim): the ZENI the crew is owed goes to your wallet together with its Rep, minus any raid debt. Only the crew's owner can claim. Pass crewId (my_assets lists yours); if you own exactly one crew with something to claim it can be left out. Refused with the reason if the crew is not yours or has nothing to claim. Costs only gas.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "wallet": "<wallet>"
    },
    "name": "prepare_claim_operative_earnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
crewIdNoThe crew id (my_assets crews list). Optional when you have one crew with something to claim.
walletYesYour own 0x wallet address. Nothing is sent from it; it is used to read holdings and to simulate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses fund flow (ZENI plus Rep to your wallet, net of raid debt), the ownership requirement, the failure mode (refused with a reason), and the cost profile (gas only). The remaining gap is the output form — it never states that the result is an unsigned transaction to be signed and submitted.

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?

Claims and consequences are front-loaded and every sentence carries information — eligibility, parameter shortcut, refusal cases, cost. The opening clause is somewhat dense with parenthetical jargon ('prepare (unsigned)', 'Rackets.claim'), which slightly slows parsing but does not waste space.

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 two-parameter, no-annotation, no-output-schema mutation-preparation tool, the description covers eligibility, funds flow, optionality, failure and cost. Only the shape of the returned unsigned transaction is left implicit, which is a modest gap given the absence of an output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds real meaning: the ownership constraint tying wallet to the crew owner, and the precise condition under which crewId may be omitted. That goes slightly beyond the schema's own wording of the optionality.

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 verb ('prepare (unsigned)') plus a specific resource (collecting a crew's earned ZENI and Rep via Rackets.claim), and anchors it to the on-chain method name. This is clearly distinguishable from neighbouring claim tools such as prepare_raid_claim or prepare_job_claim.

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 clear preconditions: only the crew's owner can claim, crewId can be omitted when you own exactly one claimable crew, and my_assets is named as the place to find crew ids. It also states refusal behaviour when the crew isn't yours or has nothing to claim. It stops short of explicitly contrasting with the other claim-preparation siblings, so a 4 rather than 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.

Resources