Skip to main content
Glama

get_earn_pool_state

Read the hyUSD Earn Pool reserve and eHYUSD supply, then calculate eHYUSD net asset value in hyUSD using the SDK formula.

Instructions

Read hyUSD Earn Pool reserve and eHYUSD supply; compute eHYUSD NAV in hyUSD from SDK formula.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the burden, and it does disclose one non-obvious trait: the NAV value is derived via an SDK formula rather than read directly on-chain. However, it says nothing about data freshness, RPC dependencies, or failure behavior, so the disclosure is partial.

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 the read targets front-loaded before the derived NAV computation. No filler, though the semicolon-joined clauses make it slightly dense.

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?

No output schema exists, so the description must describe returns, and it names the three values (reserve, eHYUSD supply, NAV) but not their units, precision, or structure. Adequate for a zero-param read tool but leaves the return shape underspecified.

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?

The tool takes zero parameters, so the baseline of 4 applies. The description correctly adds no parameter commentary, as there is nothing to disambiguate.

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 states a concrete verb+resource: reading the hyUSD Earn Pool reserve and eHYUSD supply, plus computing eHYUSD NAV. It is clearly narrower than get_protocol_state, though it never explicitly says how it differs from that sibling, 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?

There is no when-to-use guidance, no mention of when to prefer get_protocol_state or get_wallet_exposure instead, and no prerequisites. Usage is only implied by the read-only framing of the verb 'Read'.

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