Skip to main content
Glama

dex_search

Search DEX pairs across all chains by token name, symbol or address — top 10 by liquidity, with rounded prices. 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. 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 disclosure burden and does reasonably well: it reveals the result cap (top 10), the ranking criterion (liquidity), numeric formatting (rounded prices), cross-chain breadth, and the upstream data source (DexScreener). Gaps remain around behavior on ambiguous or no-result queries and whether results are sorted/paginated.

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?

Two compact sentences with no waste; the core scope and ranking rule are front-loaded, and attribution to DexScreener is a short trailing clause rather than filler.

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 search tool with an output schema present, the description covers what an agent needs: input semantics, ranking, result count, and data source. Minor omissions are chain filtering and behavior when nothing matches.

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% and the only field is a bare "Query" string, so the description must compensate — and it does, explicitly stating the query accepts token name, symbol, or address. It does not mention matching behavior (fuzzy vs exact) or whether chain identifiers can be embedded in the query.

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?

States a specific verb and resource ("Search DEX pairs") plus scope ("across all chains") and result profile ("top 10 by liquidity, with rounded prices"). It does not explicitly contrast itself with near-siblings like token_search or dex_pair_lookup, so differentiation is inferable but not stated.

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: use when you have a token name, symbol, or address and want the most liquid pairs. There is no explicit when-to-use vs. alternative guidance (e.g., use token_search for token metadata, dex_pair for a single known pair) and no stated exclusions.

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