Skip to main content
Glama

gblin-treasury-risk-regime

treasury.plan

Read-onlyIdempotent

Turns idle USDC into a reviewable plan in one call: operating cash = max(reserve_usd, daily_burn_usd x days), the surplus above it, a simulation of minting that surplus into GBLIN at NAV (fees read live from the vault, estimated exit value today, round-trip cost), the same simulation for a trial amount (100 USDC by default), and the blockers (Crash Shield, redemption cooldown, ETH for the exit). Read-only: nothing is executed and nothing is advised. GBLIN is crypto exposure (cbBTC, WETH, USDC), not cash and not yield.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoDays of spend to keep liquid (default 7, max 365).
trial_usdcNoTrial amount to simulate beside the surplus (default 100).
reserve_usdNoUSD to keep liquid regardless of the burn rate; the larger of the two rules wins.
daily_burn_usdNoAverage daily spend in USD. Operating cash = daily_burn_usd × days.
wallet_addressYesAgent's 0x address.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextYesThe tools to call after a human confirms.
as_ofNoBlock and time the reads were taken at.
notesNo
trialYesThe same simulation for the trial amount.
inputsNoThe inputs as applied, with the defaults filled in.
marketYesNAV, ETH price, risk regime and crash shield status.
walletYes
surplusYesUSDC above the operating cash.
blockersYesReasons parking is not appropriate right now, if any.
simulationYesMint simulation for the surplus: shares, fees, exit value today, round-trip cost; or nothing_to_park.
wallet_stateYesUSDC, GBLIN and ETH balances, gas health, redemption cooldown.
operating_cashYesUSDC to keep liquid: max(reserve_usd, daily_burn_usd × days), with the runway in days.
park_candidateYesTrue when no blocker applies. Not a recommendation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), yet the description adds substantial behavioral context beyond them: the exact operating-cash formula, that fees are read live from the vault, that exit value and round-trip cost are estimated, and the named blockers (Crash Shield, redemption cooldown, ETH for the exit). The closing caveat that GBLIN is crypto exposure rather than cash or yield is a genuine behavioral disclosure an agent needs.

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 read-only guarantee are front-loaded, and the middle enumerates plan contents efficiently. The single sentence is dense and becomes run-on, but each clause carries information an agent would otherwise have to infer from an output schema.

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?

For a five-parameter, read-only simulation tool with an output schema present, the description supplies everything missing: the derivation of operating cash, the scope of the simulation, and the risk caveat about GBLIN. Return-value detail is correctly left to the output schema.

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, but the description adds relational meaning the schema cannot: operating cash = max(reserve_usd, daily_burn_usd × days), and that trial_usdc simulates alongside the surplus using the 100 USDC default. It clarifies how the parameters interact rather than just restating them.

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 and resource ('turns idle USDC into a reviewable plan in one call') and immediately distinguishes itself from the sibling simulations by naming exactly what the plan contains (operating cash, surplus, mint simulation, trial, blockers). An agent can tell this apart from treasury.quote or treasury.state without opening either schema.

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?

The description gives clear context for when this applies — idle USDC above operating cash — and states 'Read-only: nothing is executed and nothing is advised,' which frames the decision-support role. It does not explicitly name when to prefer treasury.quote or treasury.state instead, so the alternative routing 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