Skip to main content
Glama

ratchet_ranked_prepare

Prepare a bounded forecast for an already-registered ranked wallet. Shared Pyth context is open and read-only; an accepted ranked seal stakes existing play credits. Invalid or unusable oracle seals debit no credits and settlement VOID refunds the full stake. Returns the exact domain-separated payload to sign locally; no private key is sent to RatchetX.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pYes
sideYes
stakeNoCredits to stake; default 500
targetYesExact target id returned by ratchet_board
walletYesYour Solana wallet address (base58)

TDQS

A4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so thoroughly: 'Shared Pyth context is open and read-only,' invalid seals 'debit no credits,' settlement VOID 'refunds the full stake,' and 'no private key is sent to RatchetX.' This fully discloses safety, economic outcomes, and security posture.

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 sentences cover purpose, credit/debit behavior, refunds, return value, and signing security without redundancy. The most important action is front-loaded in the first sentence, and supporting details follow in a logical order.

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?

The description is largely complete given the moderate complexity: it explains eligibility, credit effects, refund behavior, and the local signing flow. There is no output schema, but the return payload is described. The main gap is not pointing to the next step, ratchet_ranked_submit, and not clarifying side semantics, but these are minor for actually invoking this tool.

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 60%, with stake, target, and wallet already described in the input schema. The tool description adds minimal parameter-level meaning: 'bounded forecast' hints at the p range, and 'stakes existing play credits' reinforces stake semantics. It does not clarify side or p beyond what the schema constraints imply, so it earns the baseline without strong compensation.

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 clearly states the tool's function: 'Prepare a bounded forecast for an already-registered ranked wallet.' It also specifies a concrete deliverable, 'the exact domain-separated payload to sign locally,' which differentiates it from related tools like ratchet_ranked_submit. It could be stronger by naming the sibling tool explicitly, but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when the tool is appropriate—after wallet registration and before local signing—and provides preconditions like 'already-registered ranked wallet.' It also explains behavioral consequences around credits and refunds. However, it never explicitly contrasts this tool with alternatives such as ratchet_ranked_submit, so an agent must infer the exact workflow placement.

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.

TDQS

A3.7/5.0
Disambiguation5/5

Every tool targets a distinct resource or workflow: board, arena, Pyth context/path, proof, demo identity, ranked submission, invitations, and challenges. Even the many read-style tools are clearly separated by what they return, so an agent should not confuse them.

Naming Consistency4/5

All tools use the ratchet_ prefix and snake_case, which makes them easy to group and predict. The pattern is not uniformly verb_noun—several tools are noun-style reads like ratchet_board and ratchet_arena—but the naming is still consistent and readable.

Tool Count5/5

Thirteen tools is well within a reasonable scope for a forecasting arena. The tools cover context reads, demo workflows, ranked workflows, invitations, challenges, and public proofs without feeling padded or redundant.

Completeness3/5

The demo lifecycle is well covered with create, shoot, and state reads, and ranked prepare/submit gives a clear entry path. However, there is no ranked-state read to inspect open shots, balances, or settled results after submission, and challenges are read-only despite implying create/accept actions should exist.