Skip to main content
Glama

Calls to redeem PT-USDG

pt_redeem
Read-onlyIdempotent

Build the unsigned calls that redeem a wallet's PT-USDG for USDG 1:1 from its maturity on, on Robinhood Chain: an approval of exactly that PT-USDG to Pendle's router, if needed, then the router's redemption to the wallet itself. By default the PT of the oldest matured market the wallet holds (an earlier market's included); market names one (pt_position lists them). Before maturity it says to sell instead. Nothing is signed or sent. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketNoOptional: the market (or its PT) to redeem, as pt_position lists it. Default: the oldest matured market the wallet holds PT of.
addressYesThe wallet on Robinhood Chain (0x...).
amount_ptYesPT-USDG, e.g. 25.5, or "all" for the whole balance.
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

A4.3/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 the safety profile is covered; the description reinforces it ('Nothing is signed or sent. Read-only.') and adds real behavioral context: the call builds a two-step unsigned sequence and the approval is for exactly the PT-USDG amount, conditional ('if needed'). It does not mention any rate limits or failure modes, keeping it short of a 5.

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 purpose and the two-step flow are front-loaded, and the alternative routing comes after. It is dense and slightly clause-heavy, but no sentence is filler and the ordering is sensible.

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?

For a read-only transaction builder with no output schema, the description covers what is produced (unsigned calls, nothing signed or sent), the order of operations, and the maturity precondition. It is complete enough to call correctly; only the return payload shape is left implicit, which is acceptable given no output schema exists.

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 four parameters are already documented in the schema, including the market default and the redemption slippage default. The description largely restates those semantics rather than adding syntax or edge-case detail, so the 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 precise verb and resource ('Build the unsigned calls that redeem a wallet's PT-USDG for USDG 1:1'), including the chain (Robinhood Chain) and the exact mechanics (approval to Pendle's router, then router redemption). An agent can distinguish this from pt_sell, pt_buy, pt_quote and pt_position without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit when-not condition ('Before maturity it says to sell instead') and routes the agent to the sibling that enumerates markets ('pt_position lists them'). Default behavior versus the `market` override is spelled out, so the agent knows which path to take without inference.

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