Skip to main content
Glama

prepare_approve_leader

Crews: prepare (unsigned) your OK for a leader to put you in their squad (night_run, convoy, ledger, vehicle_heist, raid). Every member other than the leader must do this first. approved=false revokes it. Approvals expire after a while in the vehicle heist, convoy and Ledger, are used up by a Night Run entry, and in the apartment raid they last 1 day (renew your yes daily; approved=false clears it at once). Squad sizes and role ids DIFFER per game. Night Run: 1 to 4 wallets; roles 1 Driver, 2 Hacker, 3 Muscle, 4 Inside Agent; required: Driver. convoy hit: 1 to 5 wallets; roles 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent, 6 Pilot; required: Driver. Ledger job: 2 to 5 wallets; roles 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent, 6 Pilot; required: Driver and Hacker. vehicle heist: 2 to 5 wallets; roles 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent; required: Driver. apartment raid: 2 to 4 wallets; roles 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent; roles optional (0 = none). A role is a label: nothing checks that a Driver owns a vehicle or a Pilot an aircraft, and a Pilot needs no aircraft in convoy and Ledger. The ids 1 to 5 mean the same in the vehicle heist, the apartment raid, the convoy hit and the Ledger job (6 Pilot only in convoy and Ledger). The Night Run is NOT aligned: there 4 is Inside Agent and there is no Face, so check the id before you send.

Input Schema

NameRequiredDescriptionDefault
gameYesWhich game.
leaderYesThe leader's wallet.
walletYesYour own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate.
approvedNoDefault true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden well by disclosing that this prepares an unsigned approval, that approved=false revokes, and that approvals expire or are consumed differently per game. It still does not explain the exact return value or the signing/submission step after preparation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The purpose is front-loaded, but the description is heavily overstuffed with per-game role and squad-size tables that do not map to this tool's parameters. Much of the text is repetitive and unlikely to help an agent invoke prepare_approve_leader correctly.

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 complex multi-game approval tool with no annotations or output schema, it covers the important lifecycle details: unsigned preparation, revocation, expiry, role-label semantics, and game differences. The main remaining gap is the post-preparation signing/submission flow and exact response shape.

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%, so all four parameters are already documented. The description adds useful semantics for approved=false and game-specific approval behavior, but the extensive role-id and squad-size detail is not tied to any parameter in this tool's schema.

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?

The description states a specific verb and resource: preparing an unsigned leader approval so a leader can put the caller in a squad. It lists the supported game contexts and clarifies that every non-leader member must do this first, so the agent can distinguish it from leader-side or join/create actions.

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 gives clear usage context: non-leader members must approve first, approved=false revokes approval, and approvals expire differently by game. It does not explicitly name alternative sibling tools such as join_crew or create_crew, so it lacks full when-not/alternative routing guidance.

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