Skip to main content
Glama

keldrin

Live DEX price on Base

get_dex_price
Read-only

Live DEX price of one token read onchain at one block from keldrin's verified pools (Uniswap v3, Aerodrome, Slipstream, plain Uniswap v4 vs USDC/WETH/ETH): price per token in USD, estimated 2% depth, the main (deepest usable) pool and every pool's status.

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": {
      "token": "<token>"
    },
    "name": "get_dex_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesToken contract address (0x…) or exact Coinbase symbol, e.g. NVDAc. Addresses are preferred.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the read-only, closed-world safety profile, and the description adds real context: the read is onchain at a single block, only keldrin's verified pools are used, and depth is an 'estimated 2%' figure rather than a guarantee. It stops short of explaining what happens when no pool qualifies or how the block is chosen, but the added behavioral detail is substantial.

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?

One front-loaded sentence with a clear verb+scope, then a compact list of outputs. The parenthetical venue list is dense but each clause carries information; no filler sentences.

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 carries the return-value burden and does so by enumerating price, depth, main pool and per-pool status. Missing only edge-case behavior (unverified/no-pool tokens, failure modes) and how a specific block is selected.

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?

The schema fully documents the single token parameter (address preferred, or exact Coinbase symbol such as NVDAc). The description adds only that exactly one token is priced per call, so the schema does the heavy lifting; baseline 3 applies at 100% coverage.

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 ('Live DEX price of one token read onchain at one block') and enumerates the exact source venues (Uniswap v3, Aerodrome, Slipstream, Uniswap v4 vs USDC/WETH/ETH). It also names the returned artifacts (USD price, 2% depth, main pool, per-pool status), so an agent knows precisely what it gets.

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?

Usage is implied by the 'live … at one block' framing, which signals a spot quote for a single token. However, it never states when to prefer this over siblings like get_market_context or get_snapshot, nor any exclusions such as tokens without verified pools.

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