Skip to main content
Glama

gblin-treasury-risk-regime

Server Details

GBLIN on Base for AI agents: risk regime, treasury plan for idle USDC, mint and redeem at NAV. Free.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
Repository
gblinproject/gblin-treasury-risk-regime
GitHub Stars
1
Server Listing
@gblin-protocol/mcp-server
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 24 tools

Disambiguation4/5

Most tools target distinct resources and the rich descriptions clarify boundaries: risk.regime (live read) vs attestation.verify (signed proof) vs risk.attestation_sample (test fixture) are distinguishable, as are the payment prepare/verify/relay trio. Minor friction comes from reused 'prepare' and 'verify' verbs across namespaces (actions.prepare vs payments.prepare; payments/attestation/receipts verify) and from docs-overlap between fetch, search, and protocol.info, but domain prefixes keep selection clear.

Naming Consistency4/5

A clean, predictable namespace.action convention (actions.prepare, payments.relay, treasury.nav_history, receipts.seal) is used throughout. The only deviations are the bare root tools fetch and search, which break the dotted pattern but remain readable and unambiguous.

Tool Count4/5

24 tools sits at the heavy edge, but the server genuinely spans several earned subdomains (vault actions, payments, risk/attestation, treasury analytics, receipts, governance, docs), and each tool contributes a distinct read, prepare, verify, or submit step. No obvious filler tools inflate the count, though it is on the upper end of ideal.

Completeness4/5

Coverage is strong: a full action lifecycle (prepare/preview/status), payments (prepare/verify/relay), risk attestation (live, sample, verify), receipts (seal/get/verify), treasury analytics (state, health, plan, quote, nav_history), governance, and docs. Gaps are minor and largely intentional, e.g. governance is read-only and there is no explicit transaction cancel/replace or direct share-balance query beyond treasury.health.

Available Tools

24 tools
actions.prepareA
Read-onlyIdempotent
Inspect

Builds the unsigned transactions for an operation on the GBLIN vault, in the order they are sent. Actions: mint_with_eth (amount in ETH), mint_with_weth (amount in WETH), mint_with_usdc (amount in USDC, through the Zap), redeem_in_kind (amount in shares; pro rata basket tokens, no fee, no price feed), exit_to_eth (amount in shares, through the Zap, all or nothing), exit_to_usdc (amount = the USDC needed), bid (trade with the rebalancing auction; row optional, the largest gap by default). Every output bound is non-zero and every step through the vault or the Zap carries its gas limit. Nothing is signed or sent: the steps are returned to the caller.

Inputs: action (required), wallet_address (required), row, amount. Returns: next, steps, action, wallet, +2 more

actions.previewA
Read-onlyIdempotent
Inspect

Simulates a list of transactions in sequence against the latest Base block, as if the wallet sent them one after the other, before anything is signed. Each step sees the state the previous ones left (an approval before a mint works). Accepts steps with target or to, calldata or data, and optional value and gas. Returns, per step, whether it would succeed, the gas it uses, whether the gas limit it carries is enough, and the decoded revert reason when it fails; and the net token and ETH movements for the wallet. State can change before transactions land: a successful preview is evidence, not a guarantee.

Inputs: from (required), steps (required). Returns: from, note, block, steps, +3 more

actions.statusA
Read-onlyIdempotent
Inspect

Reports what a sent Base transaction did: pending, succeeded, reverted or not found; its block and confirmations; the fee paid; the net token movements for the sender (GBLIN shares minted or redeemed, USDC, basket tokens); and, when it reverted, the decoded reason.

Inputs: hash (required). Returns: to, from, hash, note, +9 more

attestation.verifyA
Read-onlyIdempotent
Inspect

Verifies a GBLIN Risk Attestation, the object returned by GBLIN's /api/x402/attestation, or a proof-of-diligence attached by a peer agent. Free. Runs four checks: (1) integrity, by recomputing the EIP-712 attestation_id; (2) authenticity, by recovering the signer when a signature is present and comparing it with GBLIN's published attestor; (3) freshness, against on-chain time (10-minute validity); (4) live drift, by comparing the attested regime with the current on-chain regime.

Inputs: attestation (required), expected_attestor. Returns: live, valid, checks, source, +3 more

auction.stateA
Read-onlyIdempotent
Inspect

Read the GBLIN rebalancing auction on Base. The vault does not rebalance itself and pays nobody to do it: when a basket row drifts past its band it holds a Dutch auction, and whoever trades with it toward the target weights is the counterparty, at the oracle price adjusted by a premium that starts at a discount and rises to a cap over one ramp. Returns, per row, the side the vault takes, the gap in ETH, the token and amount the bidder hands over, and unsigned calldata (approval + bid). The premium is the whole reward; nothing is paid out of the vault.

Inputs: no named parameters. Returns: best, lens, note, rows, +9 more

coherence.reportA
Read-onlyIdempotent
Inspect

Kept/violated tallies for GBLIN's pre-registered, hash-pinned promises (attestation uptime, counter honesty), probed every 10 minutes; each closed UTC day is sealed on Base as an EAS attestation (schema 0x9f433a96…). Self-observation only in v0. Free.

Inputs: no named parameters. Returns: method, subject, promises, observing_since

fetchA
Read-onlyIdempotent
Inspect

Returns the full text of one GBLIN document by its id: {id, title, text, url, metadata}. Documents are the protocol's public documentation, the tool cards and the live vault state. Read-only and free.

Inputs: id (required). Returns: id, url, text, title, +1 more

governance.stateA
Read-onlyIdempotent
Inspect

Reads GBLIN protocol governance: whether the GBLIN vault is owned by the 48-hour timelock, the timelock's minimum delay and grace period, role member counts, and any pending asset-addition proposal on the vault. With an operation_id it also reports the status of that timelock operation. Read-only.

Inputs: operation_id. Returns: lens, owner, vault, timelock, +7 more

payments.prepareA
Read-only
Inspect

Builds a gasless GBLIN payment. The vault's share token implements EIP-3009, so the holder signs an authorization and anybody can carry it on chain: the payer needs no ETH. Returns the EIP-712 message to sign (its domain is read from the token, not assumed), the calldata that carries the signed authorization, and the x402 'exact' payload for paying an HTTP endpoint in GBLIN. Method 'receive' lets only the named recipient submit the authorization, so nobody can front-run the transfer; method 'transfer' suits an x402 facilitator, which submits on the seller's behalf. With relay: true it also returns a second authorization that pays a relayer's fee in GBLIN. No private key is requested, held or transmitted: the signature is produced by the caller's own wallet.

Inputs: to (required), from (required), relay, method, +3 more. Returns: relay, amount, digest, method, +8 more

payments.relayA
DestructiveIdempotent
Inspect

GBLIN's relay carries a signed GBLIN payment on chain for a payer that holds no ETH. Takes the payment and the relay fee, each as { authorization, signature }, both signed by the payer's wallet. The relay checks both against the chain, simulates them and submits them in one transaction through Multicall3: either both settle or neither does. The fee is paid in GBLIN at the live NAV. Returns the transaction hash and its outcome. This tool moves funds: it carries the authorizations exactly as signed.

Inputs: fee (required), payment (required). Returns: fee, note, block, relay, +4 more

payments.verifyA
Read-onlyIdempotent
Inspect

Checks a signed GBLIN authorization against the chain before any gas is spent on it. Recovers the signer from the EIP-712 digest (and asks the wallet itself through ERC-1271 when the payer is a contract), then checks the validity window against on-chain time, whether the nonce has already been used or cancelled, and whether the payer still holds the amount. Returns a verdict and the ready calldata when it would settle, the failing reason when it would not. These are the checks an x402 facilitator runs, so a 'would_settle' verdict means the payment can be carried.

Inputs: signature (required), authorization (required), method. Returns: amount, checks, digest, method, +4 more

protocol.infoA
Read-onlyIdempotent
Inspect

GBLIN llms.txt as plain text: contract addresses, endpoints, prices, payment flow, field contract of the attestation.

Inputs: no named parameters. Returns: llms_txt

protocol.statsA
Read-onlyIdempotent
Inspect

Cumulative public counters of GBLIN's x402 endpoints: paid calls, unique payer wallets, USDC earned, with methodology disclosure. Cached 5 min.

Inputs: no named parameters. Returns: _source, total_paid_calls, total_usdc_earned, total_unique_agents

receipts.getA
Read-onlyIdempotent
Inspect

Receipt #index from GBLIN's receipts log, re-signed (Ed25519 is deterministic) with a fresh inclusion proof, the current signed checkpoint and the latest on-chain anchor. Free.

Inputs: index (required). Returns: leaf, root, index, anchor, +9 more

receipts.sealAInspect

Appends the hashes of an AI action to GBLIN's public RFC 6962 transparency log and returns a portable receipt: Ed25519 signature, inclusion proof, operator-signed C2SP checkpoint, and the latest on-chain anchor (EAS on Base, daily). Demo mode only over MCP: 5 seals per day per IP, receipts marked demo: true; unlimited sealing is a separate paid x402 HTTP endpoint. Provenance is self-reported: a receipt proves that the record existed at that time, not that the action happened. The action, agent_id, tool and meta strings are published in the log exactly as given. Fields not listed in the schema are ignored and not recorded.

Inputs: action (required), input_hash (required), meta, mode, +3 more. Returns: leaf, root, index, anchor, +9 more

receipts.verifyA
Read-onlyIdempotent
Inspect

Verifies a gblin-receipt/v1 JSON with pure math, without a log lookup and without trusting this server: leaf hash, Ed25519 signature, RFC 6962 inclusion proof, C2SP checkpoint signature and verifier-key hash. These are the same checks as the zero-dependency verify-receipt.mjs script that runs offline; the consistency check against the on-chain anchor is available separately at GET /v1/verify/:index.

Inputs: receipt (required). Returns: index, valid, checks, errors, +3 more

risk.attestation_sampleA
Read-onlyIdempotent
Inspect

Static, permanently expired sample of the signed Risk Attestation (sample: true), with the same fields and EIP-712 schema as the signed one, for building and testing parsers and verifiers.

Inputs: no named parameters. Returns: meta, eip712, sample, signed, +5 more

risk.regimeA
Read-onlyIdempotent
Inspect

Current BTC/ETH risk regime (calm | elevated | crash) and the matching risk posture, read live from GBLIN's on-chain Crash Shield on Base (60-second cache). Free and unsigned; a signed version that verifies offline is a separate paid x402 HTTP endpoint.

Inputs: no named parameters. Returns: note, assets, regime, source, +7 more

treasury.healthA
Read-onlyIdempotent
Inspect

Analyzes an agent wallet's treasury: GBLIN, USDC and ETH balances, whether the ETH covers an exit at the live gas price, and the redemption cooldown. When daily_burn_usd is given it adds days of USDC runway and a split that keeps seven days of spend in USDC and treats only the surplus as a candidate for GBLIN. Free by default; a 0.003 USDC charge applies only when the server operator sets MCP_PAYWALL=true.

Inputs: wallet_address (required), _payment, daily_burn_usd. Returns: ratios, wallet, balances, cooldown, +2 more

treasury.nav_historyA
Read-onlyIdempotent
Inspect

NAV per GBLIN share over time, read from the chain at past blocks, beside the ETH/USD and BTC/USD oracle prices the vault itself uses, with the change of each over the window and the NAV's largest drawdown. The series starts at the deployment of the vault in service and can be compared with holding ETH or BTC over the same span.

Inputs: points, interval. Returns: note, method, points, series, +2 more

treasury.planA
Read-onlyIdempotent
Inspect

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.

Inputs: wallet_address (required), days, trial_usdc, reserve_usd, +1 more. Returns: next, as_of, notes, trial, +9 more

treasury.quoteA
Read-onlyIdempotent
Inspect

Preview a buy (ETH→GBLIN) or sell (GBLIN→ETH) without executing. Returns expected output, safe minOut with dynamic slippage buffer (2.5% normal / 4% during Crash Shield), and fee breakdown. Read-only.

Inputs: amount_in (required), direction (required). Returns: fees, direction, next_step, amount_in_eth, +9 more

treasury.stateA
Read-onlyIdempotent
Inspect

Reads the current GBLIN protocol state on Base mainnet: NAV in USD, basket composition with dynamic weights, Crash Shield status and whether the NAV is reliable.

Inputs: no named parameters. Returns: meta, basket, nav_usd, auction_open, +6 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      Not graded
      maintenance
      Trust infrastructure for AI agents on Base. DEX Spread Oracle (live Uniswap V3 prices), on-chain escrow, insurance pool, and collective knowledge base. 7 smart contracts. Pay-per-query via x402 micropayments in USDC.
      6
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents on Base to call a check_token_risk tool before trading, providing honeypot detection, LP-lock verification, brand impersonation checks, and live sell simulation across Uniswap V2/V3/V4 and Aerodrome with a clear risk score and should-trade decision.
      1
      11 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.