Skip to main content
Glama

account

Read-only

Retrieve a coldkey's TAO balance, stake positions, owned hotkeys, and on-chain identity at the current or a past block for portfolio and staking analysis.

Instructions

A coldkey's position: free TAO balance, every stake position (hotkey, subnet, alpha), the stake marked to TAO at spot prices, the hotkeys it owns, and its on-chain identity.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real behavioral context by disclosing that stake is 'marked to TAO at spot prices', i.e. that returned values are derived and price-sensitive, plus the breadth of what is returned. It says nothing about cost, latency, or behavior when a coldkey has no stake/identity, so it exceeds the annotation bar only modestly.

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?

A single dense sentence with no filler, and the resource is front-loaded before the content list. The only structural weakness is that it opens with a noun phrase rather than an action, so the agent must infer 'fetch/return' from context.

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?

There is no output schema, so the description must carry the return-value burden, and it does so by enumerating exactly what comes back (balance, stake positions, TAO-marked value, owned hotkeys, identity). Combined with full schema coverage of the two parameters, an agent has enough to call it correctly; only the historical-read implications of the block parameter are left implicit.

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%, and the schema already explains both parameters including the negative-block convention ('-7200 ~ 1 day'). The description mentions neither coldkey nor block, adding no meaning beyond the schema. Baseline 3 is correct when the schema does all the parameter work.

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 the resource precisely ('A coldkey's position') and enumerates its contents: free TAO balance, stake positions by hotkey/subnet/alpha, TAO-marked stake value, owned hotkeys, and on-chain identity. That is far more specific than a restatement of the name 'account', and it implicitly separates it from hotkey/subnet/neuron siblings. It stops short of an explicit verb or an explicit contrast with those siblings, so it lands at 4 rather than 5.

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?

There is no explicit when-to-use statement, no named alternative, and no exclusion such as 'use hotkey for a hotkey-centric view.' Usage is only implied by the enumerated contents: an agent can infer this is the coldkey-centric portfolio lookup. That is enough to route a competent agent but leaves the sibling choice to inference.

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