Skip to main content
Glama
gasrescue MCP server

gasrescue MCP server

Official

Submit signatures and send

submit_signatures
Destructive

Submits approved wallet signatures for a gasrescue quote so the transaction can be broadcast with gas covered; returns confirmation or failure, a hash, and an explorer link.

Instructions

Submits the wallet's signatures for a quote; gasrescue broadcasts the transaction, pays the gas and waits up to 3 minutes for the result. This moves funds and cannot be undone: call it only after the user approved the quote summary. A transfer can be submitted once; a second call is refused. Give signatures for EVM and Tron, signedTransaction for Solana, or for a gas drop fund: true with fundSignature and then txs. Returns { summary, transfer } with status confirmed or failed, the transaction hash and the explorer link.

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": {
      "transferId": "<transferId>"
    },
    "name": "submit_signatures"
  }
}

Input Schema

NameRequiredDescriptionDefault
txsNoGas drop only: the hashes of the transactions the wallet sent, { fee, transfer }. gasrescue checks them on chain; the transfer closes the quote.
fundNoGas drop (kind "evm-transactions") only: true asks gasrescue to send the wallet the gas for its two transfers. Needs fundSignature. Returns status funded.
signaturesNoEVM and Tron: one signature per step of get_signing_request, in the same order, as hex strings.
transferIdYesThe id gasrescue returned as transfer.id from quote_send or quote_swap: 24 lowercase hex characters, e.g. "b39f46001a5680455091152d". Not a transaction hash and not an id of another service.
fundSignatureNoGas drop only, with fund: true: the sender wallet's personal_sign signature of funding.message from get_signing_request, as hex. Without it no gas is sent.
signedTransactionNoSolana only: the transaction from get_signing_request, signed by the sender, base64.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.11
    • changedInput schema / properties / fund / description
      Previous value: -"Gas drop (kind \"evm-transactions\") only: true asks gasrescue to send the wallet the gas for its two transfers. Returns status funded."New value: +"Gas drop (kind \"evm-transactions\") only: true asks gasrescue to send the wallet the gas for its two transfers. Needs fundSignature. Returns status funded."
    • addedInput schema / properties / fundSignature
      Added value: +{
      +  "description": "Gas drop only, with fund: true: the sender wallet's personal_sign signature of funding.message from get_signing_request, as hex. Without it no gas is sent.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.1.8
    • addedInput schema / properties / fund
      Added value: +{
      +  "description": "Gas drop (kind \"evm-transactions\") only: true asks gasrescue to send the wallet the gas for its two transfers. Returns status funded.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / txs
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Gas drop only: the hashes of the transactions the wallet sent, { fee, transfer }. gasrescue checks them on chain; the transfer closes the quote.",
      +  "properties": {
      +    "fee": {
      +      "type": "string"
      +    },
      +    "transfer": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changedv0.1.6
    • changedInput schema / properties / transferId / description
      Previous value: -"The transfer id returned by quote_send or quote_swap (24 hex characters)."New value: +"The id gasrescue returned as transfer.id from quote_send or quote_swap: 24 lowercase hex characters, e.g. \"b39f46001a5680455091152d\". Not a transaction hash and not an id of another service."
  4. Changed4 schema fields changedv0.1.5
    • addedInput schema / properties / signatures / description
      Added value: +"EVM and Tron: one signature per step of get_signing_request, in the same order, as hex strings."
    • addedInput schema / properties / signedTransaction / description
      Added value: +"Solana only: the transaction from get_signing_request, signed by the sender, base64."
    • changedInput schema / properties / transferId / description
      Previous value: -"The transfer id from a quote."New value: +"The transfer id returned by quote_send or quote_swap (24 hex characters)."
    • addedInput schema / properties / transferId / pattern
      Added value: +"^[0-9a-f]{24}$"
  5. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

The annotations already mark the tool destructive, open world, and non-idempotent, but the description adds substantive context beyond them: gasrescue broadcasts the transaction, gasrescue pays the gas, the wait can last up to three minutes, the action is irreversible, and a second submission is refused. It also discloses the response shape ('{ summary, transfer }', status confirmed or failed, hash, explorer link), which is important here because the tool has no output schema.

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?

It opens with the action, then immediately gives the risk and the precondition, then the per-chain input branches, then the return shape. It is dense but has no filler, and every clause carries information the agent needs in order to call the tool correctly.

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 are six parameters, including a nested object and mutually exclusive per-chain branches, and the tool has no output schema. The description nonetheless covers the precondition, the irreversibility, the single-shot constraint, the input assembly for each chain, the response shape, and the possible statuses, so an agent has what it needs in order to invoke the tool and interpret the result.

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?

Schema coverage is 100% and each parameter already carries a thorough description, so the baseline would only be 3. The description adds meaningful value by stating how the parameters combine for each chain: signatures for EVM/Tron, signedTransaction for Solana, or fund:true with fundSignature and then txs for a gas drop. That request-assembly logic is not spelled out anywhere in 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?

A specific verb and resource are given: submit the wallet's signatures for a quote so gasrescue broadcasts the transaction. The description also distinguishes this tool from its siblings by referring to the signatures produced by get_signing_request and the transferId from quote_send, so an agent can locate this tool's place in the workflow without consulting any 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?

The description gives a hard precondition ('call it only after the user approved the quote summary') and a lifecycle limit ('a transfer can be submitted once; a second call is refused'), which is exactly the guidance needed for a destructive step. It does not state a fallback or alternative tool for cases in which the call is premature, so the routing guidance stops just short of the top score.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.