Skip to main content
Glama

arcgate

tradeSearch

Resolves a ticker, name, prefix or 0x address to candidate ERC-20 tokens on Arc.

  • Cost: 0.005 USDC per call over x402: the first call gets a 402 with payment requirements in the PAYMENT-REQUIRED header (base64 JSON); sign them and retry with a PAYMENT-SIGNATURE header carrying the payment payload.

  • Key inputs: query (required), limit (1-25, default 10).

  • Returns: each match with its verification status, safety verdicts and USDC/hub pools, most relevant first.

  • Next: pass the chosen result's address as sell or buy to POST /trade/v1/quote. Costs 5000 base units (0.005 USDC) per call. Payment goes in params._meta["x402/payment"]; use an x402-aware MCP client (see https://docs.arcgate.dev/#arcgate/description/mcp-for-agents).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the x402 payment flow (402 with PAYMENT-REQUIRED header, retry with PAYMENT-SIGNATURE), the exact cost, where payment goes in `params._meta`, and that results are ordered by relevance. It omits error/no-match behavior and rate limits.

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

Conciseness4/5

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

Front-loaded with purpose and structured in labelled bullets (Cost, Key inputs, Returns, Next) that scan well. Slightly overlong: the 0.005 USDC cost is stated twice in different units, adding mild redundancy.

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?

No output schema and no annotations, so the description must stand alone; it summarizes return contents (verification status, safety verdicts, pools) and the downstream handoff. It leaves out failure modes and whether results are paginated, which is a modest gap.

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 0%, so the description must compensate, and it does: it marks `query` as required, specifies `limit` range 1-25 and default 10, and — most valuably — expands the semantic space of `query` to ticker, name, prefix or 0x address, which the bare string schema does not convey.

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 first sentence gives a precise verb (resolves) and resource (ERC-20 tokens on Arc) plus the accepted input forms (ticker, name, prefix, 0x address). It is clearly distinguishable from tradeQuote/tradeSwap siblings, though it never explicitly says how it differs from other search-like tools.

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 states the enabling context (resolve a token before trading) and the explicit next step: pass the chosen result's `address` as `sell` or `buy` to POST /trade/v1/quote. No when-not-to-use guidance is given, which holds it below a 5.

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