io.github.gblinproject/gblin-treasury-risk-regime is an MCP server published by io.github.gblinproject, hosted at mcp.gblin.digital. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 24 tools, including risk.regime, risk.attestation_sample, protocol.stats, protocol.info, receipts.seal.
GBLIN on Base for AI agents: risk regime, treasury plan for idle USDC, mint and redeem at NAV. Free.
667 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
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.
No parameters.
{
"name": "risk.regime",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"regime",
"regime_code",
"severity_pct",
"defensive_cash_pct",
"shield_active",
"assets"
],
"properties": {
"note": {
"type": "string"
},
"assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"token",
"shielded",
"weight_cut_pct"
],
"properties": {
"token": {
"type": "string",
"description": "ERC-20 address"
},
"shielded": {
"type": "boolean"
},
"weight_cut_pct": {
"type": "number"
},
"base_weight_pct": {
"type": "number"
},
"dynamic_weight_pct": {
"type": "number"
}
}
},
"description": "Per-risk-asset shield state"
},
"regime": {
"enum": [
"calm",
"elevated",
"crash"
],
"type": "string",
"description": "Current risk regime"
},
"source": {
"type": "string"
},
"chain_id": {
"type": "integer"
},
"contract": {
"type": "string",
"description": "GBLIN contract on Base"
},
"regime_code": {
"type": "integer",
"description": "0 calm, 1 elevated, 2 crash"
},
"risk_posture": {
"enum": [
"risk_on",
"reduce",
"risk_off"
],
"type": "string",
"description": "Suggested posture"
},
"severity_pct": {
"type": "number",
"description": "Max crash-shield weight cut across risk assets, percent"
},
"shield_active": {
"type": "boolean",
"description": "True when any risk asset is currently slashed"
},
"defensive_cash_pct": {
"type": "number",
"description": "USDC dynamic weight in the basket, percent"
}
}
},
"annotations": {
"title": "Market risk regime (live, free)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
No parameters.
{
"name": "risk.attestation_sample",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"sample",
"attestation",
"attestation_id",
"signed"
],
"properties": {
"meta": {
"type": "object"
},
"eip712": {
"type": "object",
"description": "EIP-712 domain/types/message to recompute the digest"
},
"sample": {
"type": "boolean",
"description": "Always true — never a live signal"
},
"signed": {
"type": "boolean"
},
"verify": {
"type": "object"
},
"attestor": {
"type": [
"string",
"null"
]
},
"signature": {
"type": [
"string",
"null"
]
},
"attestation": {
"type": "object",
"description": "Same field contract as the paid attestation (regime, shield_active, severity_pct, defensive_cash_pct, expires_at, ...)"
},
"attestation_id": {
"type": "string",
"description": "hashTypedData digest — recompute to verify"
}
}
},
"annotations": {
"title": "Attestation sample (free, expired)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Cumulative public counters of GBLIN's x402 endpoints: paid calls, unique payer wallets, USDC earned, with methodology disclosure. Cached 5 min.
No parameters.
{
"name": "protocol.stats",
"description": "Cumulative public counters of GBLIN's x402 endpoints: paid calls, unique payer wallets, USDC earned, with methodology disclosure. Cached 5 min.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"total_paid_calls",
"total_unique_agents",
"total_usdc_earned"
],
"properties": {
"_source": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"docs": {
"type": "string"
},
"name": {
"type": "string"
},
"license": {
"type": "string"
},
"disclosure": {
"type": "string"
},
"data_endpoint": {
"type": "string"
}
},
"description": "Provenance and disclosure of the counters"
},
"total_paid_calls": {
"type": "integer",
"description": "Settled x402 calls, cumulative"
},
"total_usdc_earned": {
"type": "number",
"description": "USDC received, cumulative"
},
"total_unique_agents": {
"type": "integer",
"description": "Distinct payer wallets, cumulative (our own wallets excluded)"
}
}
},
"annotations": {
"title": "Agent-economy stats (free, cached)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}GBLIN llms.txt as plain text: contract addresses, endpoints, prices, payment flow, field contract of the attestation.
No parameters.
{
"name": "protocol.info",
"description": "GBLIN llms.txt as plain text: contract addresses, endpoints, prices, payment flow, field contract of the attestation.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"llms_txt"
],
"properties": {
"llms_txt": {
"type": "string",
"description": "The full llms.txt document (plain text)"
}
}
},
"annotations": {
"title": "Protocol info / llms.txt (free)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| meta | string | Extra JSON object as a string (optional). PUBLISHED. |
| mode | string | Only 'demo' is available over MCP (5/day/IP). Paid seals go through x402 HTTP. |
| tool | string | Tool/model used (optional). PUBLISHED. |
| action * | string | What the AI did, short label. PUBLISHED in the log. |
| agent_id | string | Your agent identifier (optional). PUBLISHED. |
| input_hash * | string | sha256 of the input/prompt, 64 hex chars (0x prefix optional) |
| output_hash | string | sha256 of the output, 64 hex chars (optional; empty or blank = omitted) |
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.
| Parameter | Type | Description |
|---|---|---|
| index * | integer | Receipt index in the log (0-based; current size at GET /log/checkpoint) |
{
"name": "receipts.get",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"index"
],
"properties": {
"index": {
"type": "integer",
"minimum": 0,
"description": "Receipt index in the log (0-based; current size at GET /log/checkpoint)"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"format",
"payload",
"leaf",
"index",
"tree_size",
"root",
"signature",
"verifier_key",
"inclusion_proof",
"checkpoint",
"anchor",
"provenance"
],
"properties": {
"leaf": {
"type": "string",
"description": "base64 SHA256(0x00 || canonical)"
},
"root": {
"type": "string",
"description": "base64 Merkle root at tree_size"
},
"index": {
"type": "integer"
},
"anchor": {
"type": "object",
"required": [
"root_covers_this_receipt",
"anchored_tree_size",
"what_is_anchored"
],
"properties": {
"chain": {
"type": "string"
},
"method": {
"type": "string"
},
"explorer": {
"type": "string"
},
"promise_id": {
"type": "string"
},
"last_anchor": {
"type": [
"object",
"null"
],
"properties": {
"tx": {
"type": "string"
},
"day": {
"type": "string"
},
"root": {
"type": "string"
},
"tree_size": {
"type": "integer"
}
}
},
"eas_schema_uid": {
"type": "string"
},
"what_is_anchored": {
"type": "string"
},
"anchored_tree_size": {
"type": [
"integer",
"null"
]
},
"covers_this_receipt": {
"type": "boolean",
"description": "deprecated alias of root_covers_this_receipt"
},
"root_covers_this_receipt": {
"type": "boolean",
"description": "true iff index < anchored_tree_size: the anchored ROOT commits to this leaf via the inclusion proof"
}
},
"description": "Latest daily EAS anchor of the tree root on Base and whether it already covers this receipt"
},
"format": {
"type": "string",
"const": "gblin-receipt/v1"
},
"payload": {
"type": "object",
"required": [
"v",
"log",
"index",
"ts",
"action",
"input_hash"
],
"properties": {
"v": {
"type": "integer"
},
"by": {
"enum": [
"operator"
],
"type": "string",
"description": "Present only when this server sealed its own action; set server-side, cannot be supplied by a caller"
},
"ts": {
"type": "string"
},
"log": {
"type": "string"
},
"demo": {
"type": "boolean"
},
"meta": {},
"tool": {
"type": [
"string",
"null"
]
},
"index": {
"type": "integer"
},
"action": {
"type": "string"
},
"agent_id": {
"type": [
"string",
"null"
]
},
"input_hash": {
"type": "string"
},
"output_hash": {
"type": [
"string",
"null"
]
}
},
"description": "The signed, canonicalized record (gblin-canonical-json/1)"
},
"signature": {
"type": "string",
"description": "base64 Ed25519 over 'gblin-receipt/v1\\n' + canonical"
},
"tree_size": {
"type": "integer"
},
"checkpoint": {
"type": "string",
"description": "C2SP signed note (origin, size, root)"
},
"provenance": {
"type": "object",
"required": [
"level",
"levels"
],
"properties": {
"level": {
"enum": [
"self-reported",
"server-observed",
"externally-verified"
],
"type": "string"
},
"levels": {
"type": "array",
"items": {
"type": "string"
}
},
"meaning": {
"type": "string"
},
"levels_meaning": {
"type": "object"
}
},
"description": "What the receipt does and does not prove"
},
"verifier_key": {
"type": "string",
"description": "C2SP note verifier key: origin+hash+base64(0x01||pub)"
},
"inclusion_proof": {
"type": "array",
"items": {
"type": "string"
}
},
"canonicalization": {
"type": "object",
"required": [
"rule",
"spec"
],
"properties": {
"leaf": {
"type": "string"
},
"node": {
"type": "string"
},
"rule": {
"type": "string",
"const": "gblin-canonical-json/1"
},
"spec": {
"type": "string"
},
"verifier": {
"type": "string"
},
"frozen_since": {
"type": "string"
},
"signed_message": {
"type": "string"
}
},
"description": "The serialisation rule these bytes were produced with, named in the receipt itself so a later verifier can recompute them without consulting our repository. Frozen as gblin-canonical-json/1."
}
}
},
"annotations": {
"title": "Get a receipt by index",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| receipt * | object | A gblin-receipt/v1 JSON, bare or wrapped in {receipt}, as issued by the receipts log (also served at GET /v1/receipt/:i) |
{
"name": "receipts.verify",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"receipt"
],
"properties": {
"receipt": {
"type": "object",
"description": "A gblin-receipt/v1 JSON, bare or wrapped in {receipt}, as issued by the receipts log (also served at GET /v1/receipt/:i)"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"valid",
"checks",
"errors"
],
"properties": {
"index": {
"type": "integer"
},
"valid": {
"type": "boolean"
},
"checks": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"name": {
"type": "string"
},
"detail": {
"type": "string"
}
}
}
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"type": "string"
},
"reminder": {
"type": "string"
},
"tree_size": {
"type": "integer"
}
}
},
"annotations": {
"title": "Verify a receipt (pure math)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
No parameters.
{
"name": "coherence.report",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"subject",
"promises"
],
"properties": {
"method": {
"type": "string"
},
"subject": {
"type": "string",
"description": "Observed subject"
},
"promises": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Short promise id (P1, P2, ...)"
},
"file": {
"type": "string",
"description": "Public URL of the promise file"
},
"kept": {
"type": "integer"
},
"kept_bps": {
"type": "integer",
"description": "Kept ratio in basis points (10000 = 100%)"
},
"promiseId": {
"type": "string",
"description": "keccak256 of the pre-registered promise file"
},
"violations": {
"type": "integer"
},
"last_status": {
"enum": [
"kept",
"violated"
],
"type": "string"
},
"observations": {
"type": "integer"
},
"last_observation": {
"type": "string"
}
}
}
},
"observing_since": {
"type": "string"
}
}
},
"annotations": {
"title": "Coherence report (promises vs conduct, free)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
No parameters.
{
"name": "treasury.state",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"nav_usd",
"eth_price_usd",
"nav_reliable",
"management_fee_bps_per_year",
"auction_open",
"crash_shield_active",
"basket"
],
"properties": {
"meta": {
"type": "object"
},
"basket": {
"type": "array",
"items": {
"type": "object"
},
"description": "Assets in the basket with base and dynamic weights."
},
"nav_usd": {
"type": "number",
"description": "Net asset value of one GBLIN share in USD."
},
"auction_open": {
"type": "boolean",
"description": "True while a rebalancing auction is running."
},
"nav_reliable": {
"type": "boolean",
"description": "False when a price feed is stale or a basket asset cannot be read; do not trade on the NAV then."
},
"eth_price_usd": {
"type": "number",
"description": "ETH price in USD from the oracle."
},
"slippage_reason": {
"type": "string"
},
"crash_shield_active": {
"type": "boolean",
"description": "True when the crash shield has cut the weight of a falling asset."
},
"slippage_buffer_pct": {
"type": "number"
},
"management_fee_bps_per_year": {
"type": "number",
"description": "Management fee in basis points per year, read from the contract."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Read the GBLIN protocol state",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| amount_in * | string | Positive decimal. ETH for buy, GBLIN for sell. |
| direction * | string | one of ["buy","sell"] |
{
"name": "treasury.quote",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"direction",
"amount_in"
],
"properties": {
"amount_in": {
"type": "string",
"description": "Positive decimal. ETH for buy, GBLIN for sell."
},
"direction": {
"enum": [
"buy",
"sell"
],
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"direction",
"slippage_buffer_bps",
"next_step"
],
"properties": {
"fees": {
"type": "object"
},
"direction": {
"enum": [
"buy",
"sell"
],
"type": "string"
},
"next_step": {
"type": "string"
},
"amount_in_eth": {
"type": "string",
"description": "Buy only."
},
"cooldown_note": {
"type": "string"
},
"amount_in_gblin": {
"type": "string",
"description": "Sell only."
},
"slippage_reason": {
"type": "string"
},
"expected_eth_out": {
"type": "string",
"description": "Sell only."
},
"safe_min_eth_out": {
"type": "string",
"description": "Sell only. Pass as minEthOut."
},
"expected_gblin_out": {
"type": "string",
"description": "Buy only."
},
"safe_min_gblin_out": {
"type": "string",
"description": "Buy only. Pass as minOut."
},
"slippage_buffer_bps": {
"type": "number"
},
"will_revert_with_zero_tolerance": {
"type": "boolean"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Quote a mint or a redemption",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| _payment | string | Base64-encoded x402 PaymentProof JSON. Omit on first call to receive the 402 payment manifest. |
| daily_burn_usd | number | Optional. Average daily spend in USD (e.g. 1.5). |
| wallet_address * | string | Agent's 0x address. |
{
"name": "treasury.health",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"wallet_address"
],
"properties": {
"_payment": {
"type": "string",
"description": "Base64-encoded x402 PaymentProof JSON. Omit on first call to receive the 402 payment manifest."
},
"daily_burn_usd": {
"type": "number",
"description": "Optional. Average daily spend in USD (e.g. 1.5)."
},
"wallet_address": {
"type": "string",
"description": "Agent's 0x address."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"wallet",
"balances",
"gas_health",
"cooldown",
"recommendation"
],
"properties": {
"ratios": {
"type": "object"
},
"wallet": {
"type": "string"
},
"balances": {
"type": "object"
},
"cooldown": {
"type": "object",
"description": "Whether the redemption cooldown is active and for how long."
},
"gas_health": {
"type": "object",
"description": "Whether the wallet holds enough ETH for the next transactions."
},
"recommendation": {
"type": "object",
"description": "hold, rebalance_to_gblin or rebalance_to_usdc, with the reason."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Analyse an agent treasury",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| days | number | Days of spend to keep liquid (default 7, max 365). |
| trial_usdc | number | Trial amount to simulate beside the surplus (default 100). |
| reserve_usd | number | USD to keep liquid regardless of the burn rate; the larger of the two rules wins. |
| daily_burn_usd | number | Average daily spend in USD. Operating cash = daily_burn_usd × days. |
| wallet_address * | string | Agent's 0x address. |
{
"name": "treasury.plan",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"wallet_address"
],
"properties": {
"days": {
"type": "number",
"description": "Days of spend to keep liquid (default 7, max 365)."
},
"trial_usdc": {
"type": "number",
"description": "Trial amount to simulate beside the surplus (default 100)."
},
"reserve_usd": {
"type": "number",
"description": "USD to keep liquid regardless of the burn rate; the larger of the two rules wins."
},
"daily_burn_usd": {
"type": "number",
"description": "Average daily spend in USD. Operating cash = daily_burn_usd × days."
},
"wallet_address": {
"type": "string",
"description": "Agent's 0x address."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"wallet",
"market",
"wallet_state",
"operating_cash",
"surplus",
"park_candidate",
"blockers",
"simulation",
"trial",
"next"
],
"properties": {
"next": {
"type": "object",
"description": "The tools to call after a human confirms."
},
"as_of": {
"type": "object",
"description": "Block and time the reads were taken at."
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"trial": {
"type": "object",
"description": "The same simulation for the trial amount."
},
"inputs": {
"type": "object",
"description": "The inputs as applied, with the defaults filled in."
},
"market": {
"type": "object",
"description": "NAV, ETH price, risk regime and crash shield status."
},
"wallet": {
"type": "string"
},
"surplus": {
"type": "object",
"description": "USDC above the operating cash."
},
"blockers": {
"type": "array",
"items": {
"type": "string"
},
"description": "Reasons parking is not appropriate right now, if any."
},
"simulation": {
"type": "object",
"description": "Mint simulation for the surplus: shares, fees, exit value today, round-trip cost; or nothing_to_park."
},
"wallet_state": {
"type": "object",
"description": "USDC, GBLIN and ETH balances, gas health, redemption cooldown."
},
"operating_cash": {
"type": "object",
"description": "USDC to keep liquid: max(reserve_usd, daily_burn_usd × days), with the runway in days."
},
"park_candidate": {
"type": "boolean",
"description": "True when no blocker applies. Not a recommendation."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Plan what to do with idle USDC",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| points | integer | How many points, newest last. Default 30. |
| interval | string | Spacing of the points. Default day. |
{
"name": "treasury.nav_history",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"points": {
"type": "integer",
"maximum": 90,
"minimum": 2,
"description": "How many points, newest last. Default 30."
},
"interval": {
"enum": [
"hour",
"day"
],
"type": "string",
"description": "Spacing of the points. Default day."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"interval",
"points",
"series"
],
"properties": {
"note": {
"type": "string"
},
"method": {
"type": "string"
},
"points": {
"type": "number"
},
"series": {
"type": "array",
"items": {
"type": "object"
},
"description": "Oldest first: time, block, NAV in ETH and USD, ETH/USD and BTC/USD."
},
"summary": {
"type": [
"object",
"null"
],
"description": "Change of NAV, ETH and BTC over the window, and the NAV's largest drawdown."
},
"interval": {
"enum": [
"hour",
"day"
],
"type": "string"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Read the NAV history",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| row | integer | bid only: the basket row to bid on. Default: the row with the largest gap. |
| action * | string | The operation to prepare. |
| amount | string | Decimal amount. Unit depends on the action (see the description). Not used by bid. |
| wallet_address * | string | The wallet that will sign and receive. |
{
"name": "actions.prepare",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"action",
"wallet_address"
],
"properties": {
"row": {
"type": "integer",
"minimum": 0,
"description": "bid only: the basket row to bid on. Default: the row with the largest gap."
},
"action": {
"enum": [
"mint_with_eth",
"mint_with_weth",
"mint_with_usdc",
"redeem_in_kind",
"exit_to_eth",
"exit_to_usdc",
"bid"
],
"type": "string",
"description": "The operation to prepare."
},
"amount": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Decimal amount. Unit depends on the action (see the description). Not used by bid."
},
"wallet_address": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "The wallet that will sign and receive."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"action",
"steps"
],
"properties": {
"next": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"type": "object",
"description": "One transaction to send, in order: target, calldata, value in wei, and gas when the step needs an explicit limit. The same call is repeated as to, data and chainId (8453) for wallet batch APIs such as send_calls."
},
"description": "Transactions to send in order."
},
"action": {
"type": "string"
},
"wallet": {
"type": "string"
},
"expected": {
"type": "object",
"description": "What the operation should deliver, with the minimums applied."
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
},
"annotations": {
"title": "Prepare an operation on the vault",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| from * | string | The wallet that will send the steps. |
| steps * | array | The steps, in order: target and calldata (or their send_calls spellings, to and data), value in wei (optional), gas (optional). |
{
"name": "actions.preview",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"from",
"steps"
],
"properties": {
"from": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "The wallet that will send the steps."
},
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [],
"properties": {
"to": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"gas": {
"type": "string",
"pattern": "^\\d+$"
},
"data": {
"type": "string",
"pattern": "^0x([0-9a-fA-F]{2})*$"
},
"value": {
"type": "string",
"pattern": "^\\d+$"
},
"target": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "Contract to call. Alias: to."
},
"calldata": {
"type": "string",
"pattern": "^0x([0-9a-fA-F]{2})*$",
"description": "ABI-encoded call. Alias: data."
}
},
"additionalProperties": true
},
"maxItems": 8,
"minItems": 1,
"description": "The steps, in order: target and calldata (or their send_calls spellings, to and data), value in wei (optional), gas (optional)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"would_succeed",
"steps",
"balance_changes"
],
"properties": {
"from": {
"type": "string"
},
"note": {
"type": "string"
},
"block": {
"type": "number",
"description": "The block the simulation ran on."
},
"steps": {
"type": "array",
"items": {
"type": "object"
},
"description": "Per step: success, gas used, whether the given limit is enough, recommended limit, revert reason."
},
"would_succeed": {
"type": "boolean",
"description": "True only if every step succeeds in the simulation."
},
"balance_changes": {
"type": "array",
"items": {
"type": "object"
},
"description": "Net token and ETH movements for the wallet."
},
"first_failing_step": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
},
"annotations": {
"title": "Simulate steps before signing",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| hash * | string | The transaction hash. |
{
"name": "actions.status",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"hash"
],
"properties": {
"hash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "The transaction hash."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"hash",
"status"
],
"properties": {
"to": {
"type": [
"string",
"null"
]
},
"from": {
"type": "string"
},
"hash": {
"type": "string"
},
"note": {
"type": "string"
},
"block": {
"type": "number"
},
"revert": {
"type": "object"
},
"status": {
"enum": [
"pending",
"not_found",
"success",
"reverted"
],
"type": "string"
},
"fee_eth": {
"type": "string"
},
"explorer": {
"type": "string"
},
"gas_used": {
"type": "number"
},
"gas_limit": {
"type": [
"number",
"null"
]
},
"confirmations": {
"type": [
"number",
"null"
]
},
"balance_changes": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": true
},
"annotations": {
"title": "Read a transaction's outcome",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| operation_id | string | Optional 0x-prefixed 32-byte hex id of a specific timelock operation to inspect. |
{
"name": "governance.state",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"operation_id": {
"type": "string",
"description": "Optional 0x-prefixed 32-byte hex id of a specific timelock operation to inspect."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"vault",
"owner",
"owner_is_timelock",
"owner_is_renounced",
"timelock"
],
"properties": {
"lens": {
"type": "string"
},
"owner": {
"type": "string"
},
"vault": {
"type": "string"
},
"timelock": {
"type": "object",
"description": "Address and minimum delay of the timelock, read on chain."
},
"verification": {
"type": "object"
},
"fee_recipient": {
"type": "string"
},
"trust_summary": {
"type": "string"
},
"pending_handover": {
"type": [
"object",
"null"
],
"description": "A pending ownership transfer, or null."
},
"owner_is_timelock": {
"type": "boolean"
},
"owner_is_renounced": {
"type": "boolean"
},
"pending_timelock_operation": {
"type": [
"object",
"null"
],
"description": "A scheduled timelock operation affecting ownership, or null."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Verify governance and the timelock",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
No parameters.
{
"name": "auction.state",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"vault",
"navReliable",
"auctionOpen",
"premiumBps",
"rows"
],
"properties": {
"best": {
"type": [
"object",
"null"
],
"description": "The row with the largest gap, or null."
},
"lens": {
"type": "string"
},
"note": {
"type": "string"
},
"rows": {
"type": "array",
"items": {
"type": "object"
},
"description": "One entry per basket asset: side, gap from target and amount a bidder can fill."
},
"curve": {
"type": "object"
},
"vault": {
"type": "string"
},
"howToBid": {
"type": "string"
},
"openedAt": {
"type": [
"number",
"string",
"null"
],
"description": "When the auction opened, or null when closed."
},
"premiumBps": {
"type": "number",
"description": "Current premium over the oracle price, in basis points; negative is a discount."
},
"auctionOpen": {
"type": "boolean"
},
"navReliable": {
"type": "boolean"
},
"worstGapEth": {
"type": "string"
},
"totalValueEth": {
"type": "string"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Read the rebalancing auction",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| to * | string | The recipient's address. |
| from * | string | The payer's address: the wallet that will sign. |
| relay | boolean | true when nobody else will carry the payment on chain: also prepares a second authorization that pays GBLIN's relay fee in GBLIN at the live NAV. Forces method 'transfer'. |
| method | string | 'receive' (default) can be submitted only by the recipient; 'transfer' by anyone. |
| amount_usd | string | Amount in USD, converted at the live NAV. Give this or amount_gblin. |
| amount_gblin | string | Amount in GBLIN shares, e.g. '0.25'. Give this or amount_usd. |
| valid_for_seconds | number |
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.
| Parameter | Type | Description |
|---|---|---|
| method | string | Which method the signature was produced for. Default 'receive'. |
| signature * | string | The signature produced by the payer's wallet, 0x-prefixed. |
| authorization * | object | The authorization object: from, to, value, validAfter, validBefore, nonce. |
{
"name": "payments.verify",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"authorization",
"signature"
],
"properties": {
"method": {
"enum": [
"receive",
"transfer"
],
"type": "string",
"description": "Which method the signature was produced for. Default 'receive'."
},
"signature": {
"type": "string",
"description": "The signature produced by the payer's wallet, 0x-prefixed."
},
"authorization": {
"type": "object",
"description": "The authorization object: from, to, value, validAfter, validBefore, nonce.",
"additionalProperties": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"would_settle",
"method",
"checks",
"failures"
],
"properties": {
"amount": {
"type": "object"
},
"checks": {
"type": "object"
},
"digest": {
"type": "string"
},
"method": {
"enum": [
"receive",
"transfer"
],
"type": "string"
},
"source": {
"type": "string"
},
"submit": {
"type": [
"object",
"null"
],
"description": "Calldata and who may submit it, or null when it would not settle."
},
"failures": {
"type": "array",
"items": {
"type": "string"
},
"description": "Reasons it would not settle; empty when it would."
},
"would_settle": {
"type": "boolean",
"description": "True only if the token would accept this authorization now."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Verify a signed GBLIN authorization",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| fee * | object | { authorization, signature } of the relay fee, as prepared with relay: true and signed by the payer. |
| payment * | object | { authorization, signature } of the payment, method 'transfer'. |
{
"name": "payments.relay",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"payment",
"fee"
],
"properties": {
"fee": {
"type": "object",
"required": [
"authorization",
"signature"
],
"properties": {
"signature": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]+$"
},
"authorization": {
"type": "object"
}
},
"description": "{ authorization, signature } of the relay fee, as prepared with relay: true and signed by the payer."
},
"payment": {
"type": "object",
"required": [
"authorization",
"signature"
],
"properties": {
"signature": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]+$"
},
"authorization": {
"type": "object"
}
},
"description": "{ authorization, signature } of the payment, method 'transfer'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"relay",
"status",
"transaction"
],
"properties": {
"fee": {
"type": "object"
},
"note": {
"type": "string"
},
"block": {
"type": "number"
},
"relay": {
"type": "string",
"description": "The relay that carried the payment."
},
"status": {
"enum": [
"settled",
"reverted",
"submitted"
],
"type": "string"
},
"payment": {
"type": "object"
},
"explorer": {
"type": "string"
},
"transaction": {
"type": "string",
"description": "The transaction hash."
}
},
"additionalProperties": true
},
"annotations": {
"title": "Relay a gasless GBLIN payment",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| attestation * | object | The full attestation object from /api/x402/attestation (must include `eip712`; `attestation_id`, `signature`, `attestor` are used when present). A JSON string of that object is also accepted. |
| expected_attestor | string | Optional 0x address to check the signature against. Defaults to the GBLIN attestor address baked into this MCP build (GBLIN_ATTESTOR_ADDRESS env). |
{
"name": "attestation.verify",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"attestation"
],
"properties": {
"attestation": {
"type": "object",
"description": "The full attestation object from /api/x402/attestation (must include `eip712`; `attestation_id`, `signature`, `attestor` are used when present). A JSON string of that object is also accepted."
},
"expected_attestor": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "Optional 0x address to check the signature against. Defaults to the GBLIN attestor address baked into this MCP build (GBLIN_ATTESTOR_ADDRESS env)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"valid",
"checks"
],
"properties": {
"live": {
"type": "object"
},
"valid": {
"type": "boolean",
"description": "True only if every check passed."
},
"checks": {
"type": "object",
"description": "Each check by name, with its result."
},
"source": {
"type": "string"
},
"attested": {
"type": "object"
},
"guidance": {
"type": "string"
},
"recomputed_attestation_id": {
"type": "string"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Verify a risk attestation",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Searches GBLIN's documentation and live state and returns matching documents: the agent API summary, the protocol's README and documents (governance, deployments, review record), the MCP server and library READMEs, the public pages, one card per MCP tool, and a snapshot of the live vault state. Returns {results: [{id, title, url}]}, where each id identifies a full document. Read-only and free.
| Parameter | Type | Description |
|---|---|---|
| query * | string | What to look for, in plain words. |
{
"name": "search",
"description": "Searches GBLIN's documentation and live state and returns matching documents: the agent API summary, the protocol's README and documents (governance, deployments, review record), the MCP server and library READMEs, the public pages, one card per MCP tool, and a snapshot of the live vault state. Returns {results: [{id, title, url}]}, where each id identifies a full document. Read-only and free.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "What to look for, in plain words."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
}
}
},
"annotations": {
"title": "Search GBLIN documentation",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| id * | string | A GBLIN document id, such as protocol-readme. |
{
"name": "fetch",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "A GBLIN document id, such as protocol-readme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"id",
"title",
"text",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"metadata": {
"type": "object"
}
}
},
"annotations": {
"title": "Fetch a GBLIN document",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}GBLIN hosted MCP (stateless, no auth, 60 req/min/IP, everything here is free). THREE THINGS LIVE HERE. (1) AI ACTION RECEIPTS - a public append-only RFC 6962 transparency log for AI actions. receipts.seal appends the SHA-256 of your input (and optionally your output) plus a short public label, and returns a portable receipt: Ed25519 signature, inclusion proof, C2SP checkpoint, tree root anchored daily on Base. Minimal call: receipts.seal {action: "what you did", input_hash: "<sha256 hex>"} - demo mode, 5/day/IP, receipts marked demo:true. Then receipts.verify checks it with pure math, no trust in this server; receipts.get re-reads any receipt by index. A receipt proves the record existed here at this time - NOT that the action happened (provenance is self-reported). (2) MARKET RISK: risk.regime (live calm|elevated|crash from the on-chain Crash Shield), risk.attestation_sample, protocol.stats, protocol.info, coherence.report. Nothing is paid over MCP; unlimited seals and signed attestations are x402 HTTP endpoints - see resources gblin://howto/seal, gblin://howto/attestation, gblin://limits, gblin://keys. Ready-made prompts: seal_and_verify, risk_gate. (3) THE GBLIN VAULT, the same code as the npm package @gblin-protocol/mcp-server: treasury.state, treasury.quote, treasury.health, treasury.nav_history, governance.state, auction.state, attestation.verify; to act, actions.prepare (any operation) -> actions.preview (simulate before signing; finds the gas each vault step really needs) -> send from your own wallet -> actions.status; to pay in GBLIN with a signature and no ETH, payments.prepare -> payments.verify, or payments.relay when nobody else will carry it. This server holds no key and never signs. The npm package's snake_case tool names are accepted here as aliases. (4) DOCUMENTS: search (query) and fetch (id) return the protocol's documentation, one card per tool and the live vault state as documents, in the shape research clients read.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "receipts.seal",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"action",
"input_hash"
],
"properties": {
"meta": {
"type": "string",
"maxLength": 512,
"description": "Extra JSON object as a string (optional). PUBLISHED."
},
"mode": {
"enum": [
"demo"
],
"type": "string",
"default": "demo",
"description": "Only 'demo' is available over MCP (5/day/IP). Paid seals go through x402 HTTP."
},
"tool": {
"type": "string",
"maxLength": 128,
"description": "Tool/model used (optional). PUBLISHED."
},
"action": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "What the AI did, short label. PUBLISHED in the log."
},
"agent_id": {
"type": "string",
"maxLength": 128,
"description": "Your agent identifier (optional). PUBLISHED."
},
"input_hash": {
"type": "string",
"pattern": "^\\s*(0x)?[0-9a-fA-F]{64}\\s*$",
"description": "sha256 of the input/prompt, 64 hex chars (0x prefix optional)"
},
"output_hash": {
"type": "string",
"pattern": "^\\s*((0x)?[0-9a-fA-F]{64})?\\s*$",
"description": "sha256 of the output, 64 hex chars (optional; empty or blank = omitted)"
}
},
"additionalProperties": true
},
"outputSchema": {
"type": "object",
"required": [
"format",
"payload",
"leaf",
"index",
"tree_size",
"root",
"signature",
"verifier_key",
"inclusion_proof",
"checkpoint",
"anchor",
"provenance"
],
"properties": {
"leaf": {
"type": "string",
"description": "base64 SHA256(0x00 || canonical)"
},
"root": {
"type": "string",
"description": "base64 Merkle root at tree_size"
},
"index": {
"type": "integer"
},
"anchor": {
"type": "object",
"required": [
"root_covers_this_receipt",
"anchored_tree_size",
"what_is_anchored"
],
"properties": {
"chain": {
"type": "string"
},
"method": {
"type": "string"
},
"explorer": {
"type": "string"
},
"promise_id": {
"type": "string"
},
"last_anchor": {
"type": [
"object",
"null"
],
"properties": {
"tx": {
"type": "string"
},
"day": {
"type": "string"
},
"root": {
"type": "string"
},
"tree_size": {
"type": "integer"
}
}
},
"eas_schema_uid": {
"type": "string"
},
"what_is_anchored": {
"type": "string"
},
"anchored_tree_size": {
"type": [
"integer",
"null"
]
},
"covers_this_receipt": {
"type": "boolean",
"description": "deprecated alias of root_covers_this_receipt"
},
"root_covers_this_receipt": {
"type": "boolean",
"description": "true iff index < anchored_tree_size: the anchored ROOT commits to this leaf via the inclusion proof"
}
},
"description": "Latest daily EAS anchor of the tree root on Base and whether it already covers this receipt"
},
"format": {
"type": "string",
"const": "gblin-receipt/v1"
},
"payload": {
"type": "object",
"required": [
"v",
"log",
"index",
"ts",
"action",
"input_hash"
],
"properties": {
"v": {
"type": "integer"
},
"by": {
"enum": [
"operator"
],
"type": "string",
"description": "Present only when this server sealed its own action; set server-side, cannot be supplied by a caller"
},
"ts": {
"type": "string"
},
"log": {
"type": "string"
},
"demo": {
"type": "boolean"
},
"meta": {},
"tool": {
"type": [
"string",
"null"
]
},
"index": {
"type": "integer"
},
"action": {
"type": "string"
},
"agent_id": {
"type": [
"string",
"null"
]
},
"input_hash": {
"type": "string"
},
"output_hash": {
"type": [
"string",
"null"
]
}
},
"description": "The signed, canonicalized record (gblin-canonical-json/1)"
},
"signature": {
"type": "string",
"description": "base64 Ed25519 over 'gblin-receipt/v1\\n' + canonical"
},
"tree_size": {
"type": "integer"
},
"checkpoint": {
"type": "string",
"description": "C2SP signed note (origin, size, root)"
},
"provenance": {
"type": "object",
"required": [
"level",
"levels"
],
"properties": {
"level": {
"enum": [
"self-reported",
"server-observed",
"externally-verified"
],
"type": "string"
},
"levels": {
"type": "array",
"items": {
"type": "string"
}
},
"meaning": {
"type": "string"
},
"levels_meaning": {
"type": "object"
}
},
"description": "What the receipt does and does not prove"
},
"verifier_key": {
"type": "string",
"description": "C2SP note verifier key: origin+hash+base64(0x01||pub)"
},
"inclusion_proof": {
"type": "array",
"items": {
"type": "string"
}
},
"canonicalization": {
"type": "object",
"required": [
"rule",
"spec"
],
"properties": {
"leaf": {
"type": "string"
},
"node": {
"type": "string"
},
"rule": {
"type": "string",
"const": "gblin-canonical-json/1"
},
"spec": {
"type": "string"
},
"verifier": {
"type": "string"
},
"frozen_since": {
"type": "string"
},
"signed_message": {
"type": "string"
}
},
"description": "The serialisation rule these bytes were produced with, named in the receipt itself so a later verifier can recompute them without consulting our repository. Frozen as gblin-canonical-json/1."
}
}
},
"annotations": {
"title": "Seal an AI action (demo receipt)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| How long the authorization stays valid. Default 600, maximum 86400. |
{
"name": "payments.prepare",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "The recipient's address."
},
"from": {
"type": "string",
"description": "The payer's address: the wallet that will sign."
},
"relay": {
"type": "boolean",
"description": "true when nobody else will carry the payment on chain: also prepares a second authorization that pays GBLIN's relay fee in GBLIN at the live NAV. Forces method 'transfer'."
},
"method": {
"enum": [
"receive",
"transfer"
],
"type": "string",
"description": "'receive' (default) can be submitted only by the recipient; 'transfer' by anyone."
},
"amount_usd": {
"type": "string",
"description": "Amount in USD, converted at the live NAV. Give this or amount_gblin."
},
"amount_gblin": {
"type": "string",
"description": "Amount in GBLIN shares, e.g. '0.25'. Give this or amount_usd."
},
"valid_for_seconds": {
"type": "number",
"description": "How long the authorization stays valid. Default 600, maximum 86400."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"authorization",
"method",
"typed_data",
"digest",
"x402_payload"
],
"properties": {
"relay": {
"type": "object",
"description": "With relay: true, the fee authorization to sign and where to send both."
},
"amount": {
"type": "object"
},
"digest": {
"type": "string",
"description": "The EIP-712 digest of typed_data."
},
"method": {
"enum": [
"receive",
"transfer"
],
"type": "string"
},
"submit": {
"type": "object"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"next_steps": {
"type": "array",
"items": {
"type": "string"
}
},
"typed_data": {
"type": "object",
"description": "The EIP-712 message to sign with eth_signTypedData_v4."
},
"x402_payload": {
"type": "object",
"description": "The x402 exact-scheme payment payload, with the signature left to fill."
},
"authorization": {
"type": "object",
"description": "from, to, value, validAfter, validBefore, nonce."
},
"payer_balance": {
"type": "object"
},
"x402_accepts_for_sellers": {
"type": "object"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Prepare a gasless GBLIN payment",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}