Skip to main content
Glama

Read native pool info

get_pool_state
Read-only

Reads one or several native Radix pools (OneResourcePool, TwoResourcePool, MultiResourcePool), the same profile the console's "Pool info" section shows: name, description and link, whether it is retired, resources, reserves, pool unit and its supply, what one unit is worth, who holds the manager and owner roles, and its largest participants (units, share, what each put in and took out, from the pool's history). Includes the console's security analysis (findings worst first: AllowAll or XRD manager, a badge that can be minted or has several units, reserve tokens that imitate a known token or that their issuer can recall, freeze or restrict, whether the managing component belongs to a verified dApp and who controls it, reserves moved by a manager badge, whether the profile can change) and every role of the pool with whether it can change. These check permissions, not code. Flags pools whose manager role is AllowAll: anyone can drain those with protected_withdraw. With an account, also its position (units, share of the pool, what redeeming would return, what it put in and took out, and the result) and whether it holds the manager / owner badge. Use it before build_pool_manifest.

Input Schema

NameRequiredDescriptionDefault
poolYesPool component (pool_…) address, or a list of up to 10 to read them all at once
accountNoOptional account: its position and badge ownership
networkYesRadix network: "mainnet" (production) or "stokenet" (testnet)mainnet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Read-only is already covered by annotations, but the description adds substantial context the agent could not otherwise know: the security analysis is findings-worst-first, it checks permissions rather than code, and pools with an AllowAll manager can be drained via protected_withdraw. It also discloses that the response expands when account is supplied.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, which is good, but the middle collapses into two very long comma-chained sentences enumerating findings and reserve-token risks. The density makes it slow to parse; several clauses could be trimmed without losing selection-critical information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 exhaustively: profile fields, security findings, role permissions, and the optional per-account position. Combined with full schema coverage on inputs, an agent has everything needed to invoke this correctly.

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 baseline is 3, but the description earns extra credit by explaining the account parameter's effect on the result (position, share, redeem return, badge ownership) and by implying pool is a batchable list. It does not restate enum values, which the schema already handles.

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 and resource ('Reads one or several native Radix pools') plus the three pool flavors, then enumerates the exact profile fields returned. This clearly separates it from find_pools (discovery), get_pool_positions (positions) and get_component_state (generic state).

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 an explicit sequencing rule: 'Use it before build_pool_manifest.' It also explains the conditional branch for the account parameter ('With an account, also its position...'), which shapes usage. It stops short of stating when to prefer get_pool_positions or get_component_info instead, so no exclusion guidance.

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.

Resources