Skip to main content
Glama
Ethereum MCP
by ETHCF

set_dune_key

Configures your Dune API key so Dune-powered queries can run in Ethereum MCP; use it when Dune tools fail due to a missing key.

Instructions

Set Dune API key. When Dune tools fail due to missing key, ask user: 'What is your Dune API key?' (requires Dune Pro)

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": {
      "key": "<key>"
    },
    "name": "set_dune_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe user's Dune API key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the behavioral burden. It usefully discloses a prerequisite ('requires Dune Pro') and the failure condition that should prompt its use, but says nothing about whether the key is validated before storage, where/how it persists, or what happens on an invalid key — meaningful gaps for a credential-write operation.

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?

Two short sentences, front-loaded with the action before the operational trigger. Nothing is superfluous, though the parenthetical prerequisite would read more clearly as its own clause.

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 setter with no output schema and no annotations, the description covers the essential trigger, the prerequisite, and the expected user interaction. It is still thin on post-call behavior — success confirmation, validation failure handling, and key storage semantics are left unspecified.

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?

There is only one parameter, and the schema already documents it at 100% coverage ('The user's Dune API key'). The description adds mild value by telling the agent to obtain the value by asking the user, but contributes no format or validation detail beyond the schema; baseline 3 applies.

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+resource ('Set Dune API key'), which is unambiguous and clearly distinct from the read/query Dune tools in the sibling list. It does not explicitly differentiate itself from the other set_*_key credential tools, but the resource name ('Dune') does that implicitly.

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?

Gives an explicit trigger condition ('When Dune tools fail due to missing key') plus a concrete script for what to ask the user, which is stronger guidance than most tools in this catalog. It stops short of a 5 because it offers no when-not guidance (e.g., what to do if the user has no key or is not on Dune Pro) and names no alternative.

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