Skip to main content
Glama

get_staking_info

Retrieves staking pool details and the staked balance for a given NEAR account, enabling users to check delegation status and pool information.

Instructions

Get staking pool information and staked balance for an account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pool_idYesStaking pool contract ID (e.g., 'astro-stakers.poolv1.near')
account_idYesAccount to check staked balance for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Get' implies a read, and it does say what is returned (pool info + staked balance), but it omits read-only confirmation, behavior when the account has no stake or the pool ID is invalid, and whether results are cached or live.

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

Conciseness5/5

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

A single front-loaded sentence with zero filler. The purpose is delivered in the first few words and nothing is repeated from the schema or title.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read tool with complete schema coverage and no output schema, the description covers the essentials. However, with zero annotation coverage it leaves the agent without any safety or error-behavior signal, which is a real but modest gap at this complexity level.

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%: both pool_id (with an example contract ID) and account_id are fully documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline of 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?

Specific verb ('Get') plus two concrete resources (staking pool information and staked balance) scoped to an account. It distinguishes itself reasonably from get_account_balance, though it never names a sibling explicitly, so an agent must infer the boundary.

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?

No statement of when to use this versus get_account_balance, get_validators, or the other account/validator tools, and no prerequisites or conditions given. Usage is implied only by the tool name.

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