Skip to main content
Glama

Yield.xyz AgentKit

Get Reward Rate History

yields_get_reward_rate_history
Read-onlyIdempotent

Get historical APY/reward rate snapshots for a yield over time. Use this to answer "has this yield's APY been stable?" or to chart APY trends. Defaults to last 30 days, daily interval.

Input Schema

NameRequiredDescriptionDefault
toNoEnd of time range (ISO 8601). Defaults to now.
fromNoStart of time range (ISO 8601) e.g. "2025-01-01T00:00:00Z". Overrides period.
limitNoMax data points to return (1-365, default 30).
offsetNoPagination offset.
periodNoPredefined time window: "1d", "7d", "30d", "90d", "1y", "all". Ignored if from/to are set. Default: "30d".
yieldIdYesYield ID e.g. "ethereum-eth-lido-staking".
intervalNoSampling resolution: "day", "week", or "month". Default: "day".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already disclose that this is a safe, read-only, idempotent operation, so the description does not need to carry the full safety burden. It adds the default time window and sampling interval, but those defaults are also present in the schema, and it does not describe ordering, pagination behavior, or response shape.

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?

It is two tightly written sentences with the core purpose front-loaded, followed by a concrete usage example. There is no redundant or decorative language.

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?

Given the rich schema and read-only annotations, the description provides enough to call the tool correctly for APY trend questions. Since there is no output schema, it could be slightly stronger by describing the snapshot return shape, but the core context is present.

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%, so all seven parameters are already well documented. The description's mention of the default 30-day window and daily interval reinforces the schema but adds no new parameter semantics, making the baseline 3 appropriate.

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?

The description states a specific verb and resource: get historical APY/reward rate snapshots for a yield over time. It clearly distinguishes this from sibling tools like yields_get_tvl_history by naming the exact data being returned and the question it answers.

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?

It gives clear usage context by naming the questions this tool answers (APY stability, APY trends) and states default behavior. It does not explicitly name a sibling alternative or when not to use it, which keeps it below a 5.

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