Skip to main content
Glama

gage

Prepare: Withdraw from Earn

gage_prepare_earn_redeem

Prepare withdrawing from a partner vault, everything it can pay when shares is omitted. Returns the next unsigned transaction and a review link; never signs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vaultYes
sharesNoShares to redeem, raw (18 decimals); all when omitted, less what a vault of an asset with more than 6 decimals cannot pay after a loss (a millionth of the asset at most)
walletYes
maxSlippageBpsNoMost the conversion may move against you, in bps; 50 when omitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare non-readOnly, non-destructive, non-idempotent, openWorld, but the description adds high-value context they don't carry: it returns an unsigned transaction plus a review link and 'never signs', which is the key safety property of a prepare tool. It does not state required approvals or rate limits, so not 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?

Two compact clauses, front-loaded with the purpose followed by the return/behavior note. No wasted filler; slightly dense phrasing but every part earns its place.

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?

No output schema exists, so the description usefully explains the return (unsigned transaction and review link). Combined with sibling naming and annotations, an agent has enough to call it, though approval/prerequisite context 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 50% - shares and maxSlippageBps are documented in the schema, while vault/wallet are not. The description reinforces the shares-omission default ('everything it can pay when shares is omitted') but adds little beyond the schema and says nothing about vault/wallet or slippage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Prepare withdrawing from a partner vault') and distinguishes itself from the deposit/reclaim siblings by naming the vault-withdrawal action. An agent can identify it as the earn-side redemption flow without opening the schema.

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 'Prepare' naming and 'never signs' imply this is the pre-signing step of a multi-step flow, so usage is inferable. However, there is no explicit when-to-use or when-not-to-use guidance and no sibling is named as an alternative.

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