Skip to main content
Glama

On-Chain Pool Status

get_onchain_status

Get live blockchain state for your pool: TRX balance, frozen resources (Energy/Bandwidth), voting status, claimable rewards, and delegated resources. Data is fetched directly from TRON blockchain. Requires API key.

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": "get_onchain_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
poolAddressNoPool address to check. If omitted, uses your first registered pool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / properties / poolAddress / maxLength
      Added value: +34
  3. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description does carry useful behavioral context: it is a live read from the TRON chain (freshness semantics) and requires an API key (prerequisite). It stops short of stating read-only guarantees, rate limits, latency, or what happens when the address is invalid or the pool is unregistered.

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 tight sentences, front-loaded with the verb and the full field inventory, followed by the data-source and auth prerequisite. No filler; only minor loss for packing the return fields into one long comma list rather than grouping them.

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?

For a zero-required-parameter read tool with no output schema, the enumerated return fields do the job the output schema would otherwise do, and the API-key requirement is stated. Missing only failure/edge-case behavior and any signal about how this differs from the overlapping balance and stats tools.

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 100% and the single optional poolAddress parameter is already documented in the schema, including the default-to-first-pool behavior. The description adds nothing about the parameter, so the 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?

The description uses a specific verb ('Get live blockchain state') and enumerates exactly what the resource covers: TRX balance, frozen Energy/Bandwidth, voting status, claimable rewards, and delegations. It is clear what the tool returns, though it never distinguishes itself from siblings like get_balance, get_pool_stats, or get_available_resources that likely overlap on balance and resource data.

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 and no named alternative; the agent must infer that this is the on-chain counterpart to the API-side get_balance/get_pool_stats tools. The only contextual hint is 'Data is fetched directly from TRON blockchain', which implies freshness but is not framed as a selection rule.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.