Skip to main content
Glama

DPX — Institutional Cross-Border Settlement

treasury.yield_route

Read-only

Treasury Float Yield Routing Analysis — OPTIONAL, CLIENT-DIRECTED ONLY.

Analyzes whether idle settlement float can be productively deployed into a yield-bearing instrument between the current time and a scheduled settlement deadline. Returns a structured recommendation with expected yield, exit timing, liquidity assessment, slippage estimate, and a mandatory risk disclosure.

THIS TOOL DOES NOT MOVE FUNDS. It provides analysis only. All execution decisions are made by the client or agent acting on explicit instruction. DPX charges a flat fee for this analysis and does not receive any portion of yield earned.

Current supported instrument: sUSDS (Sky Protocol Savings Rate). Selected because: • Instant on-chain entry and exit (no T+1 delays) • No US person restrictions • Real asset backing (tokenized RWAs + Spark borrow rates) • Available on Base chain via bridge • No de-peg events recorded (unlike synthetic alternatives)

Safety parameters enforced: • Maximum 90% of settlement amount — 10% always stays in USDC • Early exit triggered 30 minutes before settlement deadline (not 15) • Slippage guard: if DEX USDC/USDS quote shows >0.1% slippage, recommendation = HOLD • Minimum viable window: 2 hours (shorter windows do not justify entry/exit gas costs)

Not recommended if: • Settlement window is < 2 hours • Amount is < $50,000 (gas costs erode yield) • Client has not acknowledged the risk_disclosure object in this response • Settlement is time-critical with zero tolerance for delay

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dryRunNoIf true, returns analysis without any on-chain queries. Useful for planning. Default: false.
amountUsdcYesSettlement amount in USDC. Minimum $50,000 for yield routing to be viable after gas costs.
riskToleranceNoconservative = sUSDS only (T-bill / RWA backed, instant exit). moderate = sUSDS with higher slippage tolerance (up to 0.15%). Default: conservative.
settlementDeadlineUtcYesISO 8601 UTC timestamp of when USDC must be ready for settlement (e.g. "2026-06-15T20:00:00Z"). The tool will recommend exiting 30 minutes before this.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
exitByNoRecommended exit timestamp (30 min before deadline).
notViableNoTrue if net yield is negative (gas exceeds expected yield).
instrumentNoRecommended instrument (currently always sUSDS).
windowHoursNoAvailable window in hours (deadline minus now minus 30-min buffer).
netYieldUsdcNoExpected yield minus gas costs.
currentApyPctNoCurrent Sky Savings Rate APY (live, from Sky Protocol).
amountReservedNoAmount kept in USDC regardless (10% floor).
amountRoutableNoAmount to deploy (90% of input, USDC). 10% stays in USDC.
recommendationNoROUTE (deploy float), HOLD (stay in USDC), or INSUFFICIENT_WINDOW.
gasEstimateUsdcNoEstimated Base L2 gas cost for entry + exit in USDC.
risk_disclosureNoMUST be surfaced to the client before any action is taken.
estimatedSlippageNoEstimated DEX slippage for USDC→USDS→USDC round trip (%).
expectedYieldUsdcNoExpected yield for this window at current APY.
instrument_detailNoBackground on the recommended instrument.
slippageGuardTrippedNoTrue if slippage > 0.1% — recommendation will be HOLD.

TDQS

A4.8/5.0
Behavior5/5

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

The description goes well beyond annotations (readOnlyHint:true) by detailing safety parameters (max 90% deployment, 30-min early exit, slippage guard, 2-hour window), instrument selection rationale, fee structure, and risk disclosures. It explicitly clarifies that the tool only analyzes and does not move funds, adding critical behavioral transparency. There is no contradiction with 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 front-loaded with a bold header and summary, then organized into clear sections. While it is somewhat long (roughly 25 sentences), each paragraph earns its place—instrument rationale, safety parameters, and contraindications—all essential for safe usage. A minor trim of redundant explanation about 'This tool does not move funds' could improve conciseness.

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?

Given the tool's moderate complexity (4 parameters, annotated readOnly, with an output schema as per context signals), the description is thorough: it explains when to use, safety guards, risk disclosure expectations, and the analytical nature. The output schema covers return values, so the description's focus on usage and safety is appropriate and complete for this domain.

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?

Schema coverage is 100%, so the baseline is 3. The description adds significant value by providing context for the riskTolerance enum (explains what moderate means with 0.15% slippage) and details for settlementDeadlineUtc ('30 minutes before'), which is not fully captured in the schema descriptions. However, dryRun's default is already in schema, and amountUsdc's minimum is duplicated.

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 starts with a clear verb+resource combination ('analyzes whether idle settlement float can be productively deployed into a yield-bearing instrument') and distinguishes itself from siblings by specifying its unique function (yield routing analysis, not fund movement). The optional/client-directed-only note further clarifies its role.

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?

The description provides explicit guidance on when to use this tool (analysis of idle settlement float) and when not to use it, listing four specific conditions (windows <2 hours, amounts <$50,000, unacknowledged risk disclosure, time-critical settlement). It also clarifies what the tool does NOT do (move funds), which differentiates it from sibling tools like 'settlement.execute' or 'mercury.send'.

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.0
Disambiguation4/5

Most tools have clearly distinct purposes, especially within their domains (e.g., analytics, compliance, ESG, forecasting). However, a few tools like route and stability.stablecoin_route or settlement.quote and fx.cost_certainty may cause confusion despite distinct descriptions, and the large number of intelligence tools (cascade, aftershock, contagion, etc.) could lead to misselection without careful reading.

Naming Consistency3/5

Naming follows a domain prefix pattern (e.g., agent.kya_register, settlement.quote, esg.score), which provides some structure. However, inconsistencies exist: some tools use underscores (batch_settle, flow_check), others are single words (route), and the mix of verb_noun and noun_verb styles (e.g., compliance.pep_screen vs market.fx) reduces predictability.

Tool Count3/5

At 71 tools, the server is very broad in scope, covering compliance, ESG, forecasting, intelligence, treasury management, and more. While each tool seems justified for the complex institutional domain, the sheer number may overwhelm agents and makes the set feel bloated. A more focused scope or tighter tool grouping would improve appropriateness.

Completeness4/5

The tool surface is remarkably comprehensive for cross-border settlement, covering end-to-end workflow from quoting, FX analysis, compliance screening, ESG scoring, forecasting, and multiple payment rails (Mercury, Ramp, SWIFT). Minor gaps exist (e.g., no tool to update a settlement after execution), but core operations are well-covered, and the addition of integration and audit trails enhances completeness.

Resources