Skip to main content
Glama

subnet

Read-only

Fetches full on-chain state for a chosen Bittensor network: identity, ownership, pool balances, emissions, prices, registration, weights, hyperparameters, and neuron counts at a specified block.

Instructions

One subnet's state: identity, owner, pool (tao_in TAO, alpha_in/alpha_out), per-block emission, spot and moving price, registration (burn TAO, limits, immunity), weights settings, epoch position, all hyperparameters (raw encodings), and neuron counts. The result's "units" field says which fields are converted and which are raw chain integers.

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

Input Schema

NameRequiredDescriptionDefault
blockNoBlock to read at: absolute number, or negative = blocks before head (-7200 ~ 1 day). Omit for the current head.
netuidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/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 still adds real value beyond them by warning that the result's 'units' field distinguishes converted values from raw chain integers, which is a genuine interpretation trap for the caller. It does not cover error behavior for invalid netuids or what happens at a pruned/old block, so it is not a 5.

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?

Front-loaded with the resource and scope, then the field inventory, then a single caveat about units — logically ordered with no filler. The field enumeration is dense but each item tells the agent something it can retrieve, so it earns its length.

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?

With no output schema, the description usefully compensates by enumerating the returned fields and flagging raw vs converted encodings. For a read-only single-object tool with two parameters, that is close to sufficient; the missing pieces are error behavior on unknown netuid and any pointer to sibling tools for related lookups.

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 coverage is 50%: the 'block' parameter is well documented in the schema (absolute vs negative offset from head), while 'netuid' has no description anywhere. The description adds no parameter meaning of its own, neither clarifying netuid nor the cost/behavior of historical block reads. Baseline 3 is appropriate given the schema carries half the burden.

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 names a specific resource (one subnet) and enumerates exactly what state is returned: identity, owner, pool balances, emission, price, registration, weights, epoch position, hyperparameters, neuron counts. That is clearly distinct from what an agent would expect from 'neuron' or 'chain_status'. It stops short of naming a sibling it excludes or contrasting with 'subnets'/'metagraph', which keeps it off a 5.

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 (e.g. that netuid must exist), and no routing to alternatives such as 'subnets' for enumeration or 'metagraph' for per-neuron detail. Usage is only implied by the field list.

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