Skip to main content
Glama

chain_curve_pool

Read-only

Curve pool reader — Live state of any Curve pool (stableswap or cryptoswap) on Ethereum, Base, Arbitrum, Optimism or Polygon: coins with symbols, decimals and balances, value share per coin, max deviation from an even split (BALANCED / IMBALANCED / HIGHLY_IMBALANCED depeg signal), fee, amplification A, virtual price and internal price oracle. Add amount (with i and j coin indexes, default 0 to 1) for a live get_dy swap quote with price impact. Params: pool (required, pool address), chain (optional, ethereum default), amount, i, j (optional). Price: $0.003 USDC (Base, via x402).

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": {
      "pool": "<pool>"
    },
    "name": "chain_curve_pool"
  }
}

Input Schema

NameRequiredDescriptionDefault
poolYes0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, and the description adds genuine context beyond them: supported chains, the BALANCED/IMBALANCED/HIGHLY_IMBALANCED depeg semantics, and the $0.003 USDC cost via x402 on Base. It does not cover latency, rate limits, or failure modes (e.g., non-Curve address), which keeps it off a 5.

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 the identity and return payload, then the optional quote path, then a compact params list and price. It is dense but every clause carries information; the one weakness is the slightly run-on middle sentence that mixes pool-state fields with the quote trigger.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 usefully enumerates return fields and the depeg signal, which is what an agent needs to interpret results. The gap is the parameter/schema mismatch: four parameters are documented in prose but only `pool` exists in the schema, so an agent cannot reliably form a quote request from this definition alone.

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%, but only for the single declared parameter `pool`, so the baseline applies. The description does add real semantics for chain (default ethereum), amount (triggers a get_dy quote), and i/j (coin indexes, default 0 to 1) — however those three parameters are absent from the input schema, so the added meaning is not actionable and could lead an agent to pass rejected arguments.

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+resource ("Curve pool reader — live state of any Curve pool") and enumerates exactly what is returned: coins with symbols/decimals/balances, value share, deviation signal, fee, amplification A, virtual price, price oracle. The Curve-specific scope (stableswap vs cryptoswap) distinguishes it from a generic DEX pool reader like chain_dex_pool.

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?

Clear conditional guidance for the optional path: "Add amount (with i and j coin indexes, default 0 to 1) for a live get_dy swap quote with price impact," which tells the agent how to switch from a state read to a quote. It stops short of naming alternatives or exclusions (e.g., when to prefer a generic DEX pool tool or a dedicated quote tool), so no explicit when-not guidance.

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