Skip to main content
Glama
gblinproject

@gblin-protocol/mcp-server

plan_treasury

Read-onlyIdempotent

Simulate shifting idle USDC into GBLIN while keeping operating cash liquid; review surplus, NAV mint, exit value, round-trip cost, blockers, and next steps.

Instructions

Idle USDC to a reviewable plan in one call: operating cash = max(reserve_usd, daily_burn_usd × 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), the blockers (crash shield, redemption cooldown, ETH for the exit) and the tools to call after a human confirms. Reads 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. Addedv1.1.5

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered, but the description adds substantive behavior: fees are read live from the vault, the simulation includes estimated exit value and round-trip cost, and it lists the concrete blockers (crash shield, redemption cooldown, ETH for exit). The final sentence explicitly recharacterizes GBLIN as crypto exposure, not cash or yield — useful risk context not present in structured fields.

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 core outcome is front-loaded and the dense parentheticals pack in the formula, simulation contents, and blockers without filler. It is heavy for a single paragraph and some clauses (e.g., the full blocker enumeration) could be trimmed, but nearly every sentence carries information.

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?

An output schema exists so return values need not be explained, yet the description still summarizes the plan contents and adds the risk caveat and blocker list, giving an agent enough to call and interpret the tool confidently. Coverage is strong; only the absence of explicit alternative-routing keeps it from a 5.

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 real meaning by giving the operating-cash formula (max(reserve_usd, daily_burn_usd × days)), noting the trial default (100 USDC), and stating which rule wins when they conflict. That is beyond what the schema alone conveys.

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?

The description states a concrete transformation ('Idle USDC to a reviewable plan in one call') and enumerates the plan's outputs — operating cash, surplus, mint simulation, trial simulation, blockers — which lets an agent distinguish it from execution siblings like invest_usdc_to_gblin. The opening is a fragment naming the input rather than a clean verb+resource, so it falls just short of a 5.

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?

It places the tool firmly in a workflow ('the tools to call after a human confirms') and draws a boundary ('Reads only: nothing is executed and nothing is advised'), which implies this is the pre-execution planning step. It does not name a specific alternative to use instead if you want to actually execute, so it stops short of explicit when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.