Skip to main content
Glama
Ethereum MCP
by ETHCF

get_dune_results

Fetch cached results from a Dune query by ID without re-running it, providing access to existing on-chain data.

Instructions

Get cached results from a Dune query (faster, no execution)

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_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryIdYesThe Dune query ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden, and it does disclose a meaningful trait: no query execution occurs and cached data is returned. However, it omits what happens when no cached result exists (error vs. stale data), whether cache age is reported, and any permission requirements.

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?

A single front-loaded sentence plus a short parenthetical, with no redundant or filler wording. Every element contributes to identifying the tool's behavior.

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 one-parameter read tool this is close to adequate, but with no output schema the agent gets no hint about the shape of returned results (rows, columns, cache metadata) or the failure mode when nothing is cached. Those gaps keep it at minimum-viable.

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%, so queryId is already documented in the schema and the description adds no format or sourcing detail beyond it. Baseline 3 applies when the schema does the heavy lifting.

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?

"Get cached results from a Dune query" names a specific verb and resource, and the parenthetical "faster, no execution" signals it is the non-executing counterpart to run_dune_query. It stops short of naming the sibling it differs from, so the distinction 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 Guidelines3/5

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

The phrase "faster, no execution" implies when to prefer this over executing a query, but the guidance is only implied. There is no explicit statement such as "use when results are already cached; use run_dune_query otherwise" and no mention of what to do when no cache exists.

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