Skip to main content
Glama

Agent Data Tools: Prices and DeFi

Bridge status, cross-chain transfer tracker

bridge_status
Read-only

Status of a cross-chain transfer by its source transaction hash, for transfers made through LI.FI and the bridges it routes (Stargate, Across, CCTP, Hop, Polymer and more): DONE, PENDING, FAILED or NOT_FOUND, the sub-status and its message, sending and receiving transaction hashes, chains, tokens, amounts and explorer links. Use to check whether funds arrived before an agent continues. Example: txHash=0x8f9e2c2a7a6e0f5b1c3d4e5f60718293a4b5c6d7e8f90123456789abcdef0123. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "txHash": "<txHash>"
    },
    "name": "bridge_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
txHashYesHash of the transaction on the source chain
fromChainNoOptional source chain name or id, to speed up the lookup

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?

Adds substantial context beyond annotations: cost ($0.01/call via x402 or card key, first 10 free, failed calls free) and the fact that repeated calls are charged, which reinforces the idempotentHint=false annotation rather than contradicting it. It does not explain how long a NOT_FOUND result should be trusted (indexing lag) or expected latency, which are the main behavioral unknowns for a polling tool.

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

Conciseness3/5

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

Purpose and outcome states are front-loaded, which is good. However, the full 66-character example hash consumes meaningful space for little informational gain, and the pricing/payment sentence is dense; both could be trimmed.

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?

With no output schema, the description carries the burden of describing returns, and it does so thoroughly: status enum, sub-status and message, tx hashes, chains, tokens, amounts, and explorer links. It is complete enough to call correctly, with only the NOT_FOUND trust window left implicit.

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%, so both parameters are already documented in the schema. The description restates txHash and supplies an example value but never explains the optional fromChain parameter or why providing it helps, so it adds little meaning beyond the 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?

States a specific verb+resource ('Status of a cross-chain transfer by its source transaction hash'), enumerates the four possible outcomes (DONE, PENDING, FAILED, NOT_FOUND) and the returned fields, and scopes it to LI.FI-routed bridges. This is clearly distinguishable from bridge_quote or generic hash lookups.

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 an explicit decision context: 'Use to check whether funds arrived before an agent continues,' which tells the agent when in a workflow to call it. It stops short of naming an alternative (e.g., when to use bridge_quote instead) or stating when not to call it.

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