Skip to main content
Glama

prepare_job_refund_kits

Convoy hit or Ledger job: prepare (unsigned) the kit refund for crews that did not get a seat (or for every crew of a voided game). Anyone can send it; it pays only the crews' leaders.

Input Schema

NameRequiredDescriptionDefault
gameYesconvoy or ledger.
jobIdYesThe hit or job id.
walletNoYour own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate.
crewIdsYesCrew ids to refund (at most 40).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries real behavioral weight: it discloses that the output is unsigned, that anyone can submit it (no authorization gate), and that payouts go only to crew leaders. It stops short of saying what the prepared payload looks like or how it must be signed/sent afterward.

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?

Two short sentences, the scope and the eligibility rule are front-loaded, and every clause carries information an agent needs. No waste.

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?

Given no annotations and no output schema, the description covers the essentials an agent must know before calling: unsigned output, permissionless submission, leader-only payout, and eligible crews. It could still mention what the prepared kit contains and any chain/gas considerations, which is the remaining gap.

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%, including descriptions for game, jobId, wallet and the 40-crew cap, so the schema already does the heavy lifting. The description adds only the crew-selection semantics (which crews qualify for a refund), which is useful but marginal against 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?

The description names a specific verb ('prepare (unsigned)') plus a specific resource ('kit refund') and scopes it to two game types, so the agent knows exactly what is produced. It does not explicitly distinguish itself from near-siblings such as prepare_job_claim, leaving the agent to infer the split between claiming and refunding.

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?

It states the triggering conditions precisely: crews that did not get a seat, or every crew of a voided game. That is a clear when-to-use rule, but no explicit when-not-to-use or alternative tool is named.

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