Skip to main content
Glama
AllSwap MCP Server

AllSwap MCP Server

Official

get_tx_explorer_url

Read-only

Generates an HTTPS block explorer URL for a transaction hash on a supported mainnet network so users can open and inspect the transaction; checks hash format only.

Instructions

Return an HTTPS block explorer URL for a transaction hash on a supported mainnet network. Offline: only the hash format is checked, not whether the transaction exists.

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

Input Schema

NameRequiredDescriptionDefault
txHashYesOn-chain transaction hash.
networkYesNetwork key or CAIP-2 ID (e.g. eth, eip155:8453, tron, btc, sol, ton).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses that validation is offline and syntactic only — the transaction's existence is not verified. That is exactly the kind of non-obvious behavioral caveat annotations cannot express. It could go further on failure behavior for unsupported network keys.

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?

Two sentences, zero filler, with the action and scope front-loaded before the caveat. Every sentence carries information an agent would not otherwise have.

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?

For a two-parameter, read-only URL builder, the description plus full schema coverage is nearly sufficient; the return value type is implied by 'HTTPS block explorer URL'. The remaining gap is the absence of error/unsupported-network behavior, which matters slightly given no output schema.

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 including network key/CAIP-2 examples. The description adds only the constraint that the network must be a supported mainnet, which is marginal extra meaning over 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 and resource ('Return an HTTPS block explorer URL') plus the exact inputs it operates on (transaction hash, supported mainnet network). It is unambiguous and the sibling tools (channel listing, asset listing) are unrelated enough that no explicit differentiation is needed.

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 'supported mainnet network' qualifier tells the agent the boundary condition for correct use, and the offline note clarifies when the result is meaningful. It does not explicitly say what to do for unsupported networks or non-mainnet inputs, so it stops short of full when/when-not guidance.

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