Skip to main content
Glama

Bridge Crypto

Submit a bridge deposit

submit_bridge
Idempotent

Requires sign-in. Submit the source transaction hash for a prepared intent. The platform verifies the on-chain transfer and pays out automatically. The same intent and transaction hash are idempotent.

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": {
      "intentId": "<intentId>",
      "sourceTxHash": "<sourceTxHash>"
    },
    "name": "submit_bridge"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentIdYesthe intentId returned by prepare_deposit
sourceTxHashYesthe hash of the source-chain token transfer from the signed-in wallet to the deposit address

Output Schema

NameRequiredDescriptionDefault
feeYes
uidYes
amountYes
feeRawYes
statusYes
receiveYes
toChainYes
toTokenYes
nextStepNo
amountRawYes
createdAtYes
duplicateNo
fromChainYes
fromTokenYes
updatedAtYes
destTxHashNo
receiveRawYes
completedAtNo
destAddressYes
sourceTxHashYes
statusMessageNo
destExplorerUrlNo
sourceExplorerUrlNo
payoutConfirmationsYes
sourceConfirmationsYes
requiredPayoutConfirmationsYes
requiredSourceConfirmationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description adds genuinely new context: the sign-in requirement and the fact that the platform verifies the on-chain transfer and pays out automatically. The idempotency restatement is slightly redundant with the annotation, though it usefully specifies the idempotency key (intent + tx hash).

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?

Four short sentences, auth requirement front-loaded, each carrying distinct information (auth, action, verification/payout behavior, idempotency). No filler or repetition.

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 an output schema present, return values need no explanation, and the description covers auth, prerequisite, and the asynchronous verification/payout flow. What remains unstated is failure behavior (e.g., verification pending or mismatch), which is a modest gap for a two-parameter submission 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 description coverage is 100%, so both parameters are already documented, including the intentId back-reference. The description confirms the tx hash is on the source chain but adds no format or validation detail beyond the schema; baseline 3 applies.

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 uses a concrete verb and resource ('Submit the source transaction hash for a prepared intent') and ties itself to the sibling prepare_deposit via the schema reference to intentId. An agent can distinguish it from prepare_deposit and get_bridge_status without opening a schema.

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?

'for a prepared intent' states the prerequisite that prepare_deposit must run first, and 'Requires sign-in' excludes unauthenticated calls. It stops short of naming alternatives or explicit when-not conditions, so it lands just below the top bar.

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