Skip to main content
Glama

Quote a PT-USDG trade

pt_quote
Read-onlyIdempotent

Quote buying PT-USDG (Pendle's principal token for USDG on Robinhood Chain, redeemable 1:1 for USDG at its maturity) with USDG, selling it before maturity, or redeeming it after: what comes out at the oracle's spot rate, the minimum a trade would name, the days to maturity and the fixed APY a buyer locks in. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sideYesbuy: USDG in, PT-USDG out. sell: PT-USDG in, USDG out, before maturity. redeem: PT-USDG in, USDG out 1:1, from maturity.
amountYesUSDG to spend (buy), or PT-USDG to sell or redeem.
slippage_bpsNoSlippage margin in basis points under the quote, 0 to 500. Default 100 (1%), 10 for a redemption.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description goes beyond them by naming what the quote yields (oracle spot rate output, minimum named trade, days to maturity, fixed APY a buyer locks) and clarifying withdrawal/duration semantics, adding real context for a quote call.

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, but the primary action ('Quote buying PT-USDG...') is front-loaded and the parenthetical explains the token inline. The trailing 'Read-only.' earns its place as a safety signal, though the em-dash chain is somewhat packed.

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?

With no output schema, the description compensates by enumerating the returned figures (spot-rate output, minimum, days to maturity, fixed APY), so an agent knows what a quote produces. Combined with the annotation-backed safety profile, an agent has enough to call it correctly; only explicit when-to-use routing 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 description coverage is 100%, so the schema already documents side, amount and slippage_bps including enum semantics and defaults. The description adds no extra parameter detail beyond what the schema provides, which matches the baseline 3 when the schema does the heavy lifting.

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 verb (quote) and resource (PT-USDG trade) and enumerates the three operations covered: buying, selling before maturity, redeeming after. It clearly distinguishes itself from the mutating siblings pt_buy, pt_sell and pt_redeem by being the quote/preview counterpart.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says 'Read-only' and covers all three side modes, which implicitly positions it as the preview step before pt_buy/pt_sell/pt_redeem. However it never explicitly says to use this instead of those tools when you only want a price, nor states prerequisite conditions, so the routing guidance is implied rather than stated.

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