Skip to main content
Glama

Prepare a Bridge to Earn task

prepare_bridge_to_earn
Read-only

Drives one Bridge to Earn task for an address from OrbitWan's own reads of the board and both chains: status (claimable, claimed, transfer_pending, transfer_complete, completed, claimed_by_other, expired, unknown), the requirements with have, need and short (null is unknown, never zero), and next, the one action to take now with its transaction already built. Loop until done: call with task_id and address, plus source_address or dest_address copied from your wallet when that chain is not EVM (Tron, Solana, Bitcoin, Cardano, XRP Ledger, Sui; never derived from the 0x address); do exactly what next.action says (fund: add what next.fund shows is short; send: sign next.tx on next.chain exactly as returned and broadcast it; wait: wait next.retry_after_seconds; done: stop; stop: report next.reason); then call again with the same inputs, plus source_tx once the bridge transaction is sent. The claim always comes first and a transfer sent before it does not count; the tool never offers a step that is not valid now, and it fetches the reward signature itself, but nothing is sent for you: every step, including the final collect on Wanchain, is a transaction you sign. Never build, retype or alter a transaction. The wanchain-bridge-to-earn skill gives the rules.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
task_idYes
signatureNo
source_txNo
dest_addressNo
source_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / dest_address
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / source_address
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

On top of readOnlyHint/destructiveHint=false, it discloses that nothing is sent on the agent's behalf, every step including the final Wanchain collect is a transaction the agent signs, the claim must precede any transfer or the transfer does not count, the tool fetches the reward signature itself, and it never offers an invalid step. That is substantial behavioral context the annotations alone do not convey.

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?

Front-loaded with purpose before the loop mechanics, and nearly every clause carries actionable instruction. It is dense as a single prose block and would be easier to follow with explicit structure, but little of the content is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must describe the response — and it does: the status enum values, the have/need/short requirements shape with the 'null is unknown, never zero' rule, and the next.action semantics. Combined with the loop protocol and the signing constraint, an agent has everything needed to call this iteratively.

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?

With 0% schema description coverage the description must carry parameter meaning, and it does for most: address, task_id, the conditional source_address/dest_address (including the rule about non-EVM chains and the 0x prohibition), and source_tx (add once the bridge tx is sent). The signature parameter is only obliquely referenced ('it fetches the reward signature itself'), leaving its role ambiguous.

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 and resource: it drives one Bridge to Earn task for an address, returning status, requirements with have/need/short, and a ready-built next action. This clearly distinguishes it from read-only siblings like get_address_bridge_to_earn and list_bridge_to_earn_tasks by positioning it as the step driver.

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

Usage Guidelines5/5

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

Gives an explicit loop contract: call with task_id and address, add source/dest_address when the chain is non-EVM (Tron, Solana, Bitcoin, Cardano, XRP Ledger, Sui, never derived from the 0x address), then add source_tx after the bridge transaction is sent. It enumerates every next.action branch (fund, send, wait, done, stop) and exactly what to do in each.

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