Skip to main content
Glama

calculate_yield

Read-only

Project compound returns for a USDC deposit into any ACCRUE vault or model portfolio over a given holding period. Uses live APY data and applies the ACCRUE platform fee, which is charged on PRINCIPAL (0.25%/yr standalone, 0.50%/yr managed falling to 0.25% above $1M) and never on yield. Returns gross yield, platform fee, net yield and final balance. Because the fee is on principal, net yield can be negative over a short horizon — net_is_negative flags that. Use this when the user asks "how much would I earn" or "what would my $X grow to".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthsYesHolding period in months
target_idNoOptional vault ID or portfolio ID. If omitted, projects across all vaults and portfolios.
amount_usdcYesUSDC deposit amount in dollars

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint and destructiveHint annotations, the description discloses detailed fee mechanics (charged on principal, never on yield, specific rates), the possibility of negative net yield over short horizons, and the presence of the net_is_negative flag. It also lists all returned values. This thoroughly explains the tool's behavior without contradicting annotations.

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?

The description is three sentences, front-loaded with the primary purpose. It packs necessary detail (fee structure, return values, use case) without unnecessary fluff, though the fee explanation is dense and could be simplified. Overall it is well-structured and appropriately sized.

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?

Since there is no output schema, the description compensates by explicitly enumerating the return values (gross yield, platform fee, net yield, final balance) and the edge-case flag. It also covers the optional target_id behavior and mentions live APY data. For a calculation tool, this is sufficiently complete for an agent to set expectations.

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?

With 100% schema description coverage, the schema already explains all three parameters. The description adds meaningful context not in the schema: 'If omitted, projects across all vaults and portfolios' clarifies the target_id behavior, and the fee-on-principal explanation deepens understanding of the amount_usdc and months relationship to the result.

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 clearly states the tool's function: 'Project compound returns for a USDC deposit into any ACCRUE vault or model portfolio over a given holding period.' This specific verb+resource combination distinguishes it from sibling tools like list_vaults or get_vault_details. The explicit use-case phrasing ('how much would I earn') further clarifies its purpose.

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?

The description provides clear usage context with the directive: 'Use this when the user asks "how much would I earn" or "what would my $X grow to".' This tells the agent when to invoke the tool, though it does not explicitly mention when not to use it or name alternative tools, which prevents a perfect score.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool targets a distinct aspect: listing, details, comparison, search, calculation, recommendation, and SYX components/history/methodology. While search and search_vaults overlap somewhat, their intended usage differs (natural language vs structured filters). No tools are ambiguous in purpose.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (e.g., calculate_yield, get_syx_value, list_vaults). The one exception, 'search', is still a clear imperative verb, and 'search_vaults' follows the pattern. No mixing of styles or vague verbs.

Tool Count5/5

With 14 tools, the surface is well-scoped for a DeFi yield platform covering vaults, portfolios, SYX index, and platform info. Each tool serves a clear purpose without redundancy or bloat, fitting comfortably within the typical 3-15 range.

Completeness5/5

The tool set provides comprehensive coverage of the informational domain: listing, details, search, comparison, yield projection, recommendation, and full SYX index data (current, historical, components, methodology). There are no obvious dead ends, and the absence of transaction-oriented features aligns with the server's apparent read-only, knowledge-query purpose.

Resources