Skip to main content
Glama

Genexxis paid agent tools (x402)

depth_slippage

Simulated market order on five spot venues for a USD amount: average fill, slippage in bps vs mid, worst price, fully filled or not, best venue, plus bid/ask depth in USD within 0.5%, 1% and 2% of mid. Price: $0.005 USDC per call, paid with x402 on Base.

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": {
      "symbol": "<symbol>",
      "side": "<side>",
      "usd": "<usd>"
    },
    "name": "depth_slippage"
  }
}

Input Schema

NameRequiredDescriptionDefault
usdYesOrder size in USD (10 to 50000000)
sideYesbuy or sell
symbolYesCoin ticker, e.g. BTC, ETH, SOL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/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 well: it discloses that the order is *simulated* (no real execution), and it names the payment model — $0.005 USDC per call via x402 on Base — which is critical auth/cost context an agent would otherwise not know. It stops short of stating rate limits, coverage of the five venues, or behavior when a venue lacks liquidity.

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?

Two sentences, both dense and front-loaded: the operation and its return fields come first, then the pricing caveat. There is no filler, though the first sentence is long enough that a brief clause structure would have aided scanning.

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 no output schema, the description does the necessary work by enumerating the return values (average fill, slippage bps vs mid, worst price, fill completeness, best venue, depth bands at 0.5/1/2%). That covers what the agent needs to interpret results; only operational limits and error conditions are absent.

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 the schema already documents symbol, side, and usd (including the 10–50,000,000 range). The description echoes the USD-sizing concept but adds no format, enum, or constraint detail beyond the schema, which is the expected baseline here.

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 operation (a simulated market order across five spot venues sized in USD) plus the exact outputs it produces, which is far more concrete than a name restatement. An agent can tell this apart from neighbors like depth_kimchi, prices_ohlcv, or gas_compare without reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The use case (estimating fill quality/slippage for a given trade size) is strongly implied by the content, but there is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool. The agent must infer that this is the right call for a size-impact question rather than a spot price lookup.

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