Skip to main content
Glama

subnets

Read-only

Lists each Bittensor network as a table row with token price, burn, neuron count, tempo, pool reserves, and optional net TAO flow, sortable by metrics at a chosen block.

Instructions

Every subnet as one table (columns + rows): name, token symbol, alpha spot price (TAO per alpha), registration burn (TAO), neuron count, tempo, the chain's net TAO flow EMA (TAO per day; negative = net outflow), and the pool: pool_tao and pool_alpha are its reserves (the subnet tool's tao_in and alpha_in), alpha_out is the subnet's alpha held outside the pool. sort_by="pool" ranks by pool_tao; root (netuid 0) has no pool, so it comes last. The chain updates that EMA lazily: tao_flow_ema in the result gives its last-update block and age, and warns when it is stale (on spec 493 it has not moved since block 8,466,530), so check it before reading tao_flow_per_day as current.

With flow_window (or sort_by="net_flow"), it also measures the real net flow over a window of blocks: the change in the chain's stake-minus-unstake counter between the window's two ends, as a total in TAO, not per day. A subnet re-registered inside the window, or whose counter may have been reset there, gets null and a reason under net_flow.excluded.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "subnets"
  }
}

Input Schema

NameRequiredDescriptionDefault
blockNoBlock to read at: absolute number, or negative = blocks before head (-7200 ~ 1 day). Omit for the current head.
limitNo
sort_byNonetuid
flow_windowNoAlso measure net TAO flow over this many blocks ending at `block` (7200 ~ 1 day, 50400 ~ 7 days): TAO staked minus unstaked, from the chain's per-subnet counter. Adds window_net_flow_tao and window_pool_change_tao columns. Defaults to 7200 when sort_by is net_flow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint, but the description discloses substantial behavior beyond them: the EMA is updated lazily and can be stale (with a concrete spec/block example), window net flow is a cumulative TAO total rather than per-day, and subnets re-registered inside the window get null with a reason under net_flow.excluded. It also notes root (netuid 0) has no pool and is sorted last — a genuine edge case an agent would otherwise misread.

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 output shape, then a paragraph on flow_window — a sensible ordering with no filler sentences. Density is high but a few nested parentheticals (the spec-493 example, the tao_in/alpha_in mapping) make it heavier than it needs to be, though each still carries information.

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 carries the full burden of explaining results and largely meets it: named columns, the tao_flow_ema result block, and the net_flow.excluded structure. The remaining gap is pagination/limit behavior — nothing says whether results are truncated at `limit` or how to page — which matters for a table-returning list tool.

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?

At 50% schema description coverage, the description compensates well: it defines what sort_by="pool" actually ranks on, what flow_window measures (change in stake-minus-unstake counter between window ends, expressed in TAO total), its implicit default, and that the window ends at `block`. `limit` remains unexplained in both schema and description (default 200, max 1024, no truncation note), which keeps this below a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource framing ('Every subnet as one table (columns + rows)') and then enumerates the actual columns produced. It also distinguishes itself from the sibling `subnet` tool by mapping terminology ('pool_tao and pool_alpha are its reserves (the subnet tool's tao_in and alpha_in)'), so an agent can tell the two apart without opening either schema.

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 clear conditions for the optional behaviors: sort_by="pool" ranks by pool_tao, flow_window (or sort_by="net_flow") adds windowed flow columns, and flow_window defaults to 7200 when sort_by is net_flow. It also warns to check tao_flow_ema staleness before trusting tao_flow_per_day. It stops short of an explicit 'use `subnet` instead when you want a single subnet' routing statement, so usage is strong but not fully disambiguated against alternatives.

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