Skip to main content
Glama

RWA yields

get_rwa_yields
Read-onlyIdempotent

Use when an agent needs the realized 7-day and 30-day yield of tokenized treasury and credit products, computed from issuer on-chain prices. Returns NAV, yields, contract and method. A failed read answers 503, not charged. Costs 0.02 USDC per call (x402, USDC on Solana, Base, Polygon, Arbitrum or Arc).

Input Schema

NameRequiredDescriptionDefault
productNoone product id (usdy, ousg, ustb, usyc, syrupusdc); omit it for every product

Output Schema

NameRequiredDescriptionDefault
dataYesthe get_rwa_yields payload; a real captured example is free at https://x402.ochinimus.app/api/sample/get_rwa_yields
toolYesthe tool that produced this payload

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent, but the description adds genuinely new behavioral facts: a failed read returns 503 and is not charged, and each call costs 0.02 USDC via x402 with an explicit list of payment chains. Pricing and failure-billing semantics are exactly the kind of context annotations cannot express.

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?

Four short sentences, front-loaded with the usage trigger, then output, then failure behavior, then price. No sentence is redundant against another.

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?

An output schema exists, yet the description still names the key return fields (NAV, yields, contract, method), covers error handling, and discloses payment requirements. Nothing an agent needs to decide or call correctly is missing.

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 coverage is 100% and the schema itself already lists the five product ids and the omit-for-all behavior. The description adds nothing beyond that on the single parameter, so baseline 3 applies.

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?

States a specific resource (realized 7-day and 30-day yield of tokenized treasury and credit products) plus the computation source (issuer on-chain prices). This clearly separates it from neighboring market-data siblings like get_basis, get_spot, or get_peg_deviation.

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?

"Use when an agent needs the realized 7-day and 30-day yield..." gives an explicit trigger condition. It does not name an alternative tool or state when not to use it, so it stops short of a 5, but the context is unambiguous.

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.