Skip to main content
Glama

read

Read-only

Execute a named Bittensor SDK catalog query at the current or specified block, with parameter filters, balance unit conversion, and result limits for focused chain data retrieval.

Instructions

Run any named read from the SDK catalog (see list_reads / describe_read). Balance amounts are converted (TAO number, or {"alpha", "netuid"}); plain integers are raw chain units (rao = 1e-9, u16 /65535, U64F64 /2**64) as describe_read documents. Large results are cut to the first limit items and to the size cap; prefer the curated tools for metagraph-sized data.

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

Input Schema

NameRequiredDescriptionDefault
nameYesRead name from list_reads, e.g. subnet_hyperparameters
blockNoBlock to read at: absolute number, or negative = blocks before head (-7200 ~ 1 day). Omit for the current head.
limitNoMax items kept from a list/dict result
paramsNoParameters as listed for that read, e.g. {"netuid": 19}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavioral context: unit conversion rules for balances, raw-chain-unit interpretation for plain integers, and truncation of large results at `limit`. It does not say what the response envelope looks like when results are cut, which matters for a tool that silently truncates.

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?

Three sentences, front-loaded with the core action, then units, then the size caveat. Dense but every clause carries information; the parenthetical unit conversions are terse to the point of needing careful parsing but not wasteful.

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?

No output schema exists, so the description bears the burden of describing returns, and it only covers unit encoding and truncation behavior. For an open-ended dispatcher whose result shape varies per read, it should say what the caller gets back and how truncation is signaled.

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 100%, so the baseline would be a 3. The description earns a bump by explaining unit semantics that the schema cannot express – balance outputs as TAO numbers or {alpha, netuid} objects, plain integers as raw rao/u16/U64F64 – and by clarifying that `limit` truncates rather than paginates. `params` remained reliant on the schema's example.

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: runs any named read from the SDK catalog, with `name` selecting from list_reads. Distinguishes itself from curated siblings (account, subnet, metagraph) by being the generic escape hatch, though it doesn't say why a generic read would be preferred over a specific tool beyond the size caveat.

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?

Points to list_reads and describe_read for discovery and documentation, and says to prefer curated tools for metagraph-sized data. That's clear context with a soft exclusion, but it doesn't state when a caller must fall back to this tool rather than a curated one, or whether all catalog reads are equally safe.

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