Skip to main content
Glama
Ethereum MCP
by ETHCF

get_dune_query_info

Retrieve metadata for a Dune query by ID, including its name, description, and parameters, to inspect query details before use.

Instructions

Get metadata about a Dune query (name, description, parameters)

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": {
      "queryId": "<queryId>"
    },
    "name": "get_dune_query_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryIdYesThe Dune query ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; "Get metadata" does imply a non-mutating read, and it names the returned fields, which adds some behavioral value. It does not disclose whether the SQL itself is returned, what happens with an invalid or inaccessible query ID, or whether authentication is required.

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 short, front-loaded sentence with the resource and returned fields in the opening clause and zero filler. It stops slightly short of a complete definition rather than being verbose.

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?

For a simple one-parameter read tool with fully documented schema this covers the core, but there is no output schema to fall back on, so the description should say more about the shape of the metadata returned and about auth prerequisites. Adequate but with identifiable gaps.

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% for the single queryId parameter, so the schema already explains the input fully. The description adds no format hints, ID-discovery guidance, or error semantics beyond what the schema states.

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 gives a specific verb and resource ("Get metadata about a Dune query") and enumerates the fields returned (name, description, parameters), so an agent can tell it is a read-only inspection tool. It does not distinguish itself from siblings such as get_dune_results or run_dune_query, leaving the agent to infer the boundary.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of prerequisites such as needing a configured Dune API key, and no reference to alternatives like run_dune_query or get_dune_results. The intended workflow (inspect a query before executing it) is left entirely to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools