Skip to main content
Glama

real_swap_report

After your real swap is mined, hand in its transaction hash (token from wallet_login) with one plain sentence on why. It is listed on the public trading desk only if the chain shows it is your own successful swap against a listed pool.

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": {
      "tx": "<tx>"
    },
    "name": "real_swap_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
txYes
tokenNo
reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

There are no annotations, so the description carries the full disclosure burden. It does well on the verification gate and the downstream effect (listing on the public desk only after on-chain validation), which is real behavioral context. However it says nothing about what happens on rejection, whether submission costs anything, or whether the listing is immediate, leaving key mutation-side behavior unstated.

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 padding, and the trigger condition is front-loaded before the acceptance rule. Nothing is repeated from the schema or otherwise wasted.

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 three-parameter submission tool with no annotations and no output schema, the description covers purpose, input provenance, verification logic, and the resulting effect. It would be complete at 5 if it stated failure behavior and disambiguated which parameters are actually mandatory.

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 description coverage is 0%, so the description must explain the three parameters, and it largely does: tx is the transaction hash, token comes from wallet_login, and reason is one plain sentence on why. One gap: the schema requires only tx while the prose implies all three are needed, leaving the required-ness of token and reason ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific action and resource: submitting a mined real-swap transaction hash so it can be listed on the public trading desk. It is clearly distinguishable from siblings like prepare_real_swap and real_swap_confirm, though the verb 'hand in' is informal. The end goal (public desk listing) makes the purpose concrete.

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?

Timing is explicit ('after your real swap is mined') and the acceptance condition is stated ('only if the chain shows it is your own successful swap against a listed pool'). It also names wallet_login as the token source. It stops short of stating when not to use it or naming an alternative submission path.

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