Skip to main content
Glama

dex_search

Search DEX pairs by token name, symbol or address — top 10 by liquidity, with rounded prices. Solana pairs are excluded: Solana DEX data is served by the paid Solana API. Source: DexScreener.

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": {
      "query": "<query>"
    },
    "name": "dex_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

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 has to carry the full disclosure burden, and it does more than most: it states the result cap and ranking rule (top 10 by liquidity), that prices are rounded, an explicit coverage limitation (Solana excluded), and the upstream data source (DexScreener). It does not say whether the operation is purely read-only in cost/rate-limit terms or how partial matches behave, which are the remaining gaps.

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?

Three short clauses, front-loaded with the core action, then the exclusions, then the source attribution. No padding or restatement of the name, and each sentence carries a distinct constraint.

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 one-parameter read tool with an output schema, the description covers scope, result cap, ranking, formatting and the main coverage exclusion — enough to call it correctly. The only incompleteness is the lack of disambiguation against sibling search/lookup tools for the same resource.

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 0% for the single `query` parameter, and the description compensates meaningfully by enumerating the three accepted forms (name, symbol, address). It does not specify matching behavior — exact vs. fuzzy, case sensitivity, whether a symbol collision returns multiple tokens — so it adds partial rather than full meaning.

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 verb and resource ("Search DEX pairs") and pins down the lookup keys (token name, symbol or address), the result size (top 10 by liquidity) and price formatting. What keeps it from a 5 is that it never contrasts itself with plausible sibling lookups such as token_search, dex_pair or dex_pair_lookup, so the boundary must be inferred.

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?

It gives a clear when-to-use signal by listing the three accepted identifier types, and an explicit when-not ("Solana pairs are excluded: Solana DEX data is served by the paid Solana API"). It stops short of naming an in-catalog alternative for the Solana case or for the single-pair lookups, so an agent still has to guess among siblings.

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.