Skip to main content
Glama
gblinproject

@gblin-protocol/mcp-server

GBLIN MCP Server

Model Context Protocol server for the GBLIN protocol on Base mainnet: an on-chain index of cbBTC, WETH and USDC whose shares are minted at NAV and redeemed pro rata in kind. The server reads live state, verifies governance and risk attestations, and returns unsigned calldata to enter, leave and bid. It never holds keys, signs or broadcasts.

Published on npm as @gblin-protocol/mcp-server.

npm CI License: MIT Base Mainnet Governance: 48h Timelock x402 Manifest MCP Registry Smithery Glama score

Documentation and quick start: gblin.digital/agents. Starter examples: examples/.

Features

  • Market risk regime (calm / elevated / crash) read from the vault's on-chain Crash Shield, with a severity score and a risk posture

  • Quotes at NAV for minting and redeeming, with a dynamic slippage buffer

  • One tool that prepares any operation on the vault (mint with ETH, WETH or USDC, redeem in kind, exit to ETH or USDC, bid in the auction), each step with its gas limit

  • Simulation of those steps before signing, in sequence against the latest block, with decoded revert reasons and the gas limit each vault step really needs

  • The outcome of a sent transaction, and the NAV per share over time beside ETH and BTC

  • Treasury health of an agent wallet: balances, gas runway, cooldown, allocation advice

  • Governance verification: owner, pending owner, timelock roles and scheduled operations, computed from the chain

  • The state of the rebalancing auction, row by row, with the bid to send

  • Gasless payments in GBLIN (EIP-3009): prepare the authorization to sign, check it against the chain before anyone spends gas, and, when nobody else will carry it, have GBLIN's relay settle it with the fee in GBLIN, in one atomic transaction

  • Offline verification of Risk Attestations (EIP-712) and of AI Action Receipts (RFC 6962)

  • A portable skill seed to onboard a peer agent

  • Four prompts (ready-made workflows) and four resources (deployment, payments, keys, limits)

  • An outputSchema on every tool that returns an object, so a client can validate results and generate types

Every tool is free. The server never charges: revenue comes from the on-chain protocol fee when an agent actually uses GBLIN. Verifiable pay-per-call lives on the HTTP endpoints listed under x402 endpoints.

Related MCP server: mcp-server

Contracts (Base mainnet, chain id 8453)

Component

Address

Role

Vault

0xc2181d975c05c8c724b334bcED0764c0b86B1D53

The ERC-20 share and the basket. Mints at NAV, redeems in kind, rebalances by Dutch auction, accepts payments by signature (EIP-3009). Never swaps.

Lens

0xfCFea8027019E8551A1f09AD91532471F5D26f61

Read-only views beside the vault: quotes, configuration, basket rows, auction state.

Zap

0x0E9D6Ceb6D313b021622C121Cda9C62e86e60200

The only contract that swaps: mints with any token, exits to ETH by redeeming in kind and selling every leg, all or nothing.

Timelock

0x6aBeC8716fFeEcf7C3D6e68255b4797113E8e5Dd

48-hour minimum delay, 14-day grace period, open executor. Proposer and canceller roles are held by separate addresses.

Previous deployments (0x36C81d7E1966310F305eA637e761Cf77F90852f0, 0x38DcDB3A381677239BBc652aed9811F2f8496345) are superseded. Nothing is read from them; holders migrate through the web app.

Fees: 0.10% on every mint with ETH or WETH (0.05% stays in the vault and lifts the NAV of every share, 0.05% is minted as shares to the fee recipient); in-kind deposits pay a 0.50% floor plus a deviation tax; a 0.50% yearly management fee accrues as shares; redemption in kind and transfers carry no fee.

Hosted variant

A stateless Streamable HTTP server runs at https://mcp.gblin.digital/mcp — no install, no auth, no session, 60 requests per minute per IP. It serves the vault, action and payment tools of this package under two-level names (treasury.*, actions.*, payments.*, governance.state, auction.state, attestation.verify), built from the same source, plus the risk, receipts and coherence tools; the snake_case names below are accepted there as aliases. It also serves search and fetch, the two read-only tools research clients expect (ChatGPT deep research among them): search returns matching documents (the protocol's documentation, one card per tool, the live vault state) and fetch returns one document's full text. Every step returned by the action tools carries both spellings, target/calldata and to/data/chainId, so it maps one to one onto wallet batch APIs such as send_calls. GET-only audit surfaces: /meta, /tools.json, /resources.json, /conformance. Also listed on Smithery. A second surface, https://mcp.gblin.digital/mcp/directory, serves the same tools except payments.relay, the one tool that submits a signed transfer on the caller's behalf; it exists for connector directories that accept software which reads, simulates, verifies and prepares unsigned calldata but not software that executes transfers. /meta reports it under directory_surface.

Agent treasury (library and CLI)

packages/agent-treasury — npm @gblin-protocol/agent-treasury. Operating cash stays in USDC, the surplus above a reserve is parked in GBLIN, and USDC is pulled back from GBLIN just in time when an x402 invoice arrives. The x402 client is Coinbase's reference x402Client with the refill attached to its onBeforePaymentCreation hook, so a 402 for USDC on Base triggers the refill before the authorization is signed and a price above the cap is refused before anything is signed. Self-custody, no key leaves the process. Verified end to end on a fork of Base (24 checks: park, refill, cooldown, a mock invoice with the challenge bytes of gblin.digital and a verified EIP-712 signature, the cap).

export GBLIN_AGENT_PRIVATE_KEY=0x...
npx @gblin-protocol/agent-treasury status --json
npx @gblin-protocol/agent-treasury park --json
npx @gblin-protocol/agent-treasury pay https://gblin.digital/api/x402/attestation --max-amount 3000 --json

The matching agent skill is skills/gblin-agent-treasury (npx skills add gblinproject/gblin-treasury-risk-regime). Details: packages/agent-treasury/README.md.

API

Tools

  • get_market_risk_regime

    • The BTC/ETH risk regime derived from the vault's Crash Shield: calm, elevated or crash, with severity_pct, a risk_posture (risk_on / reduce / risk_off), the defensive cash weight and one entry per risk asset

    • Inputs: none

    • Call it before any action that deploys capital; a crash reading means stand down

  • get_treasury_state

    • NAV in USD, ETH price, whether the vault can price itself (nav_reliable), the yearly management fee, whether an auction is open, Crash Shield status and the basket rows with base and dynamic weights

    • Inputs: none

  • quote_safe_swap

    • Previews a mint (ETH→GBLIN) or a redemption (GBLIN→ETH) through the Lens, with a safe minimum output under the dynamic slippage buffer (2.5% normally, 4% while the Crash Shield is active) and the fee breakdown

    • Inputs:

      • direction (string): buy or sell

      • amount_in (string): decimal amount of ETH (buy) or GBLIN (sell)

  • swap_gblin_to_usdc_jit

    • Unsigned calldata to turn GBLIN into a given amount of USDC just in time: approve the shares to the Zap, the Zap's sellGBLINForEth (redeem in kind and sell every leg, all or nothing), then a WETH→USDC swap. Three transactions; ERC-4337 and EIP-7702 wallets batch them into one

    • Inputs:

      • usdc_needed (string): decimal USDC amount

      • wallet_address (string): the agent's address, for the cooldown check and as receiver

    • Every step carries a minimum output; the last step's input is the guaranteed minimum of the previous one

  • invest_usdc_to_gblin

    • Unsigned calldata to mint GBLIN with USDC through the Zap: approve USDC, then one call that swaps to WETH and mints at NAV. Two transactions

    • Inputs:

      • usdc_amount (string): decimal USDC amount

      • wallet_address (string): receiver of the shares

    • Both bounds travel with the call: the minimum WETH from the swap and the minimum shares from the mint

  • analyze_treasury_health

    • GBLIN, USDC and ETH balances of a wallet, gas health, the vault's cooldown for that wallet, and an allocation recommendation with the runway in days when a burn rate is given

    • Inputs:

      • wallet_address (string)

      • daily_burn_usd (number, optional): average daily spend, enables the runway estimate

  • plan_treasury

    • Idle USDC to a reviewable plan in one call: the operating cash to keep liquid (max(reserve_usd, daily_burn_usd × days)), the surplus above it, a simulation of minting that surplus at NAV with every fee read live and the estimated value of exiting the same position today (round-trip cost included), the same simulation for a trial amount, the blockers (crash shield, cooldown, ETH for the exit) and the tools to call after a human confirms. Reads only; nothing is executed and nothing is advised

    • Inputs:

      • wallet_address (string)

      • daily_burn_usd (number, optional): average daily spend in USD

      • days (number, optional): days of spend to keep liquid, default 7

      • reserve_usd (number, optional): USD to keep liquid regardless of the burn rate; one of daily_burn_usd or reserve_usd is required

      • trial_usdc (number, optional): trial amount to simulate beside the surplus, default 100

    • The same plan is served over HTTP at https://gblin.digital/api/x402/plan

  • get_governance_state

    • Owner and pending owner of the vault, the fee recipient, the timelock's minimum delay and roles, and, when the pending owner is the timelock, the deterministic id and state of the scheduled acceptOwnership operation

    • Inputs:

      • operation_id (string, optional): a timelock operation id (bytes32) to inspect

  • share_skill_with_peer

    • A portable JSON seed another agent can use to install this server and start: install instructions, the tool list, contract addresses, a worked example and the caller's ERC-8021 builder code for attribution

    • Inputs:

      • caller_wallet (string)

      • peer_context (string, optional): what the peer does, to tailor the example

      • example_amount_usdc (number, optional)

  • get_auction_state

    • The rebalancing auction: whether it is open, the current premium over the oracle price and its curve, and one entry per basket row with the side the vault takes, the gap in ETH, the token and amount the bidder hands over, and unsigned calldata for the approval and the bid. best is the row with the largest gap

    • Inputs: none

    • The premium is the whole reward; nothing is paid out of the vault. The input is reduced to what closes the gap

  • prepare_gblin_payment

    • Builds a gasless GBLIN payment. The share token implements EIP-3009, the same mechanism USDC uses: the holder signs an authorization and anybody can carry it on chain, so the payer needs no ETH. Returns the EIP-712 message to sign, the amount in shares and atomic units, the payer's balance, the x402 "exact" payload for paying an HTTP endpoint in GBLIN, and the accepts block a seller publishes to be paid in GBLIN

    • Inputs:

      • from (string): the payer, the wallet that will sign

      • to (string): the recipient

      • amount_gblin (string) or amount_usd (string): the amount, converted at the live NAV when given in USD

      • method (string, optional): receive (default) can be submitted only by the recipient, so nobody can front-run it; transfer can be submitted by anyone, which is what an x402 facilitator does

      • valid_for_seconds (number, optional): default 600, maximum 86,400

    • The EIP-712 domain is read from the token through EIP-5267, never assumed. No private key is requested, held or transmitted

  • verify_gblin_authorization

    • Checks a signed authorization against the chain before anyone spends gas on it: recovers the signer from the digest, or 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 been used or cancelled, and whether the payer still holds the amount. Returns a verdict, the failing reasons, and the ready calldata when it would settle

    • Inputs:

      • authorization (object): from, to, value, validAfter, validBefore, nonce

      • signature (string): produced by the payer's wallet

      • method (string, optional): receive (default) or transfer

    • These are the checks an x402 facilitator runs, so a would_settle verdict means the payment is good to carry

  • relay_gblin_payment

    • Hands a signed payment and a signed relay fee to GBLIN's relay (https://gblin.digital/api/relay/gblin), which checks both against the chain, simulates them and submits them in one transaction through Multicall3: both settle or neither does. For a payer that holds no ETH and has nobody to carry the payment

    • Inputs:

      • payment (object): { authorization, signature }, method transfer

      • fee (object): { authorization, signature } from the relay block of prepare_gblin_payment called with relay: true

    • The fee is quoted live by the relay, in GBLIN at the NAV. This tool moves funds: it is marked destructive so clients ask before running it

  • prepare_action

    • Builds the unsigned steps for any operation on the vault, in order, each through the vault or the Zap carrying its gas limit

    • Inputs:

      • action (string): mint_with_eth, mint_with_weth, mint_with_usdc, redeem_in_kind, exit_to_eth, exit_to_usdc or bid

      • wallet_address (string): the wallet that will sign and receive

      • amount (string): in ETH, WETH or USDC for mints, in shares for redemptions and the ETH exit, the USDC needed for the USDC exit; not used by bid

      • row (integer, optional): bid only, the basket row; default the largest gap

    • Returns the steps, what they should deliver with the minimums applied, and warnings such as an active cooldown or an amount above the balance

  • preview_steps

    • Simulates a list of transactions in sequence against the latest block with eth_simulateV1, each seeing the state the previous ones left. Returns, per step, success, gas used, whether the given limit is enough, the recommended limit and the decoded revert reason with a hint; and the net token and ETH movements for the wallet

    • Inputs:

      • from (string): the wallet that will send the steps

      • steps (array): the steps as the tools return them: target, calldata, optional value and gas

    • For steps into the vault or the Zap the recommended limit is the smallest one that passes, found by bisection: the vault reserves gas for its capped transfers, so the gas a call uses is below the limit it needs

    • gas_limit_enough is true when the step passes with the limit it carries, false only when that limit is what makes it fail, and null when it fails for another reason (a slippage bound, a cooldown), which error and hint name

  • get_transaction_status

    • What a sent transaction did: pending, success, reverted or not found; block, confirmations, fee, net token movements for the sender, and the decoded reason when it reverted

    • Inputs: hash (string)

  • get_nav_history

    • NAV per share over time, read at past blocks, beside the ETH/USD and BTC/USD feeds the vault uses, with the change of each over the window and the NAV's largest drawdown. History starts at the deployment of the vault in service

    • Inputs: interval (hour or day, default day), points (2 to 90, default 30)

    • Historical reads use public endpoints that serve them; set GBLIN_ARCHIVE_RPC_URL to use your own

  • verify_risk_attestation

    • Verifies a Risk Attestation offline: recomputes the EIP-712 id, recovers the signer and checks it against the published attestor, checks freshness, and reports the live drift of the regime since issuance

    • Inputs:

      • attestation (object): the object returned by GET https://gblin.digital/api/x402/attestation

      • expected_attestor (string, optional): the attestor address to pin

    • Accepts EIP-712 domain version 2 (verifying contract = the vault in service) and version 1 (the previous deployment); the version the attestation declares selects the domain

  • seal_action_demo

    • Seals the hashes of an AI action into the public transparency log (demo: 5 per day per IP, receipt marked demo: true) and returns the portable receipt

    • Inputs:

      • action (string): a short label

      • input_hash (string): SHA-256 of the input

      • output_hash (string, optional)

      • agent_id, tool, meta (string, optional): identifiers, published in clear

    • Unlimited seals are a paid x402 HTTP endpoint; see how_to_seal_paid

  • get_receipt

    • A sealed receipt by index: canonical payload, Ed25519 signature, RFC 6962 inclusion proof and the signed checkpoint

    • Inputs:

      • index (integer)

  • how_to_seal_paid

    • How to seal without limits: endpoint, body schema, payment flow and offline verification

    • Inputs: none

Tool annotations (MCP hints)

Every tool sets MCP tool annotations:

Tool

readOnlyHint

idempotentHint

destructiveHint

openWorldHint

all except the three below

true

true

false

true

prepare_gblin_payment

true

false

false

true

seal_action_demo

false

false

false

true

relay_gblin_payment

false

true

true

true

Calldata builders are read-only: they return bytes, they do not send them. prepare_gblin_payment is not idempotent because every call draws a fresh nonce. Sealing appends to a public log and is never destructive. relay_gblin_payment moves the payer's funds on chain, so it is marked destructive and clients should confirm before calling it. Every tool also carries a human-readable title.

Output schemas

Every tool except seal_action_demo declares an outputSchema. A successful result carries the same object as structuredContent and as JSON text. The required list of each schema is the contract: fields a successful call always returns. Other fields are described but optional, and the schemas accept additional fields, so adding one is not a breaking change. Errors carry isError: true and no structured content.

Prompts

Prompt

What it does

risk_gate

Reads the regime and applies a rule stated before looking: proceed, halve, or stand down

pay_in_gblin

Prepare, sign in the payer's wallet, verify, then hand on a gasless GBLIN payment

pay_invoice_just_in_time

Exit just enough GBLIN to USDC to settle an invoice, after checking cooldown and gas

seal_and_verify

Seal an action, read the receipt back, and state what it does and does not prove

Resources

URI

Content

gblin://contracts

Every contract in service with its role, and the deprecated deployments not to use

gblin://payments

The EIP-712 domain read live from the token, the x402 payload, and the accepts block a seller publishes

gblin://keys

The attestor address to pin, and where the log and witness keys are published

gblin://limits

Price (free by default), the metering switch, and where the limits come from

Usage

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "gblin": {
      "command": "npx",
      "args": ["-y", "@gblin-protocol/mcp-server"]
    }
  }
}

Cursor, Windsurf and other MCP clients

{
  "mcpServers": {
    "gblin": {
      "command": "npx",
      "args": ["-y", "@gblin-protocol/mcp-server"],
      "env": { "GBLIN_RPC_URL": "https://base-rpc.publicnode.com" }
    }
  }
}

Programmatic (TypeScript)

import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";

const transport = new StdioClientTransport({ command: "npx", args: ["-y", "@gblin-protocol/mcp-server"] });
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(transport);

const jit = await client.callTool({
  name: "swap_gblin_to_usdc_jit",
  arguments: { usdc_needed: "0.50", wallet_address: "0xYourAgent..." },
});

AGENTS.md for coding assistants

npx -p @gblin-protocol/mcp-server gblin-init

Creates an AGENTS.md from the template at gblin.digital/AGENTS.template.md, or appends a delimited block to an existing one. Idempotent; --dry-run previews, --force refreshes the block. No files are written at install time; set GBLIN_SKIP_HINT=1 to silence the post-install hint.

Configuration

GBLIN_RPC_URL selects the Base RPC endpoint; the default is https://base-rpc.publicnode.com. For sustained load use a dedicated provider:

export GBLIN_RPC_URL="https://base-mainnet.g.alchemy.com/v2/YOUR_KEY"
npx @gblin-protocol/mcp-server

GBLIN_ATTESTOR_ADDRESS overrides the published attestor address used by verify_risk_attestation.

x402 endpoints

Pay-per-call data lives on HTTP, settled in USDC on Base through the Coinbase CDP facilitator with gasless EIP-3009 transferWithAuthorization. Clients such as @x402/fetch handle the 402 challenge, the signature and the retry.

Endpoint

Price

Returns

GET gblin.digital/api/x402/treasury-state

free

NAV, basket weights, Crash Shield status

GET gblin.digital/api/x402/quote

free

Mint or redemption preview with the dynamic slippage buffer

GET gblin.digital/api/x402/governance

free

Owner, timelock, pending operations

GET gblin.digital/api/x402/health

free

Wallet balances, gas runway, allocation advice

GET gblin.digital/api/x402/invest

free

Unsigned calldata: USDC → GBLIN

GET gblin.digital/api/x402/jit

free

Unsigned calldata: GBLIN → USDC just in time

GET gblin.digital/api/x402/attestation

$0.003

Signed EIP-712 Risk Attestation, valid ten minutes

POST gblin.digital/api/x402/seal

$0.0045

A sealed AI Action Receipt

Machine-readable manifest: https://gblin.digital/.well-known/x402. Payment recipient: 0x0ebA5d314F4f5Dcb7A094953Fa9311a45172dd1B.

Risk Attestation

GET https://gblin.digital/api/x402/attestation returns a ten-minute, verifiable snapshot of the BTC/ETH risk regime, signed under the EIP-712 domain GBLIN Risk Attestation, version 2, chain 8453, verifying contract = the vault in service. The response embeds its domain, types and message under eip712; a verifier recovers the signer and checks it against the published attestor address, which it should pin. verify_risk_attestation does this offline and also accepts attestations issued under domain version 1.

AI Action Receipts

A public, append-only RFC 6962 transparency log for AI actions. Input and output go in as hashes only; the short action, agent_id, tool and meta strings are published in clear, so put identifiers there, never secrets. Each seal returns a portable receipt:

receipt = canonical payload
        + Ed25519 signature            (key: gblin.digital/receipts-log)
        + RFC 6962 inclusion proof     (leaf → Merkle root)
        + C2SP signed checkpoint       (origin, tree size, root)

Canonicalization is frozen as gblin-canonical-json/1: object keys sorted by UTF-16 code unit, no whitespace, JSON.stringify semantics for primitives, recursion for objects and arrays. Test vector: payload {"b":1,"a":null} → canonical {"a":null,"b":1} → leaf = SHA256(0x00 || canonical_bytes). The receipt signature is Ed25519 over "gblin-receipt/v1\n" + canonical.

  • Seal (paid, unlimited): POST https://gblin.digital/api/x402/seal, $0.0045 USDC via x402

  • Seal (demo, 5 per day per IP): POST <worker>/v1/seal-demo, or the tool seal_action_demo

  • Read, free: <worker>/v1/receipt/:index, /log, /log/checkpoint, /log/proof/:index, /log/consistency, /log/leaves, and the page /receipt/:index

  • Daily anchor of the tree root on Base as an EAS attestation (schema 0x9f433a96…)

  • Offline verifier with no dependencies: verify-receipt.mjs — node verify-receipt.mjs receipt.json

The checkpoint is signed by the log operator and cosigned by an independent witness (Markovian Protocol). A cosignature attests that the log stayed append-only between the sizes the witness saw; it does not attest that a receipt's content is true. A seal proves existence and time; it is not a compliance certificate and not an endorsement. <worker> = https://gblin-mcp.gblin-mcp-worker.workers.dev.

Coherence Proof

GBLIN pre-registers hash-pinned promises and runs an automaton that probes them every ten minutes and seals each closed day as an EAS attestation on Base. Free report: /coherence. Live promises: uptime of the paid attestation endpoint, and honesty of the public agent-economy counters, with the protocol's own wallets disclosed. GBLIN is a registered ERC-8004 agent (#59286).

Architecture notes

  • Mint at NAV, redeem in kind. The vault prices every mint from Chainlink feeds and issues shares against the deposit; redemption pays the exact pro-rata slice of every basket row, reads no price feed and cannot be paused. The vault never swaps.

  • The Zap swaps. Entering with a token other than ETH or WETH, and leaving to ETH or USDC, go through the Zap, which swaps on a venue and mints or redeems on the vault in the same call. Exits are all or nothing: a leg that cannot be sold reverts the whole transaction instead of paying out less.

  • Rebalancing is a Dutch auction. When a row drifts past its band the vault opens an auction; the counterparty trades toward the target weights at the oracle price adjusted by a premium that starts at a discount and rises to a cap over one ramp. get_auction_state exposes it.

  • Dynamic slippage. Minimum outputs are quoted from the Lens and buffered by 2.5%, or 4% while the Crash Shield is active. No calldata leaves this server with a zero minimum on a swap.

  • Cooldown. The vault refuses a redemption for a short window after the same address minted; the window is read live and reported by analyze_treasury_health.

  • Payments by signature. The vault implements EIP-3009 (transferWithAuthorization, receiveWithAuthorization, cancelAuthorization), so an agent can settle in GBLIN the way it settles in USDC. Transfers carry no fee.

Security notes

  • The server is read-only: it never holds, signs or broadcasts. Calldata is plain ABI-encoded bytes for the agent's own wallet to review and send.

  • Every quote comes from on-chain calls and Chainlink feeds. A stale or non-positive ETH/USD answer aborts the tool with an explicit error rather than a bad number; the vault's own isNavReliable is reported alongside.

  • No telemetry, no analytics, no remote dependencies beyond the configured RPC.

Development

git clone https://github.com/gblinproject/gblin-treasury-risk-regime
cd gblin-treasury-risk-regime
npm install
npm run build
npm test                 # handler smoke test against Base mainnet, read-only
npm run test:protocol    # speaks MCP over stdio: capabilities, instructions, prompts, resources
npm run test:schemas     # every tool through the official MCP client, which validates outputSchema
npx tsx scripts/test-hosted.ts <url>   # the hosted server over Streamable HTTP, with the same validation
npm start                # run the compiled server

Two tests run against a local fork of Base and send transactions there, never on mainnet:

anvil --fork-url <base rpc> --port 8555 &
export GBLIN_RPC_URL=http://127.0.0.1:8555
npm run test:payments    # gasless payment: signed, verified, carried by a third party; replay and front-run refused
npm run test:calldata    # sends the exit and investment steps exactly as the tools return them
npm run test:actions     # every prepare_action, simulated then sent; preview agrees with the chain; gas limits found by bisection
src/
  config.ts    # addresses, slippage and cache settings
  abi.ts       # vault, Lens, Zap, timelock, Chainlink and ERC-20 ABIs
  client.ts    # viem public client and on-chain timestamp
  helpers.ts   # NAV, basket state, slippage, cooldown, reverse quote
  auction.ts   # auction state and bid sizing
  tools.ts     # the treasury, auction and risk tools, and the tool list
  payments.ts  # gasless payments (EIP-3009): prepare, verify, relay
  actions.ts   # prepare_action, preview_steps, get_transaction_status, get_nav_history
  shared.ts    # result envelopes, builder code, Zap routing data and gas limit
  version.ts   # generated from package.json by scripts/write-version.mjs
  receipts.ts  # the three receipt tools
  output-schemas.ts  # the outputSchema of every tool
  prompts.ts   # the four prompts
  resources.ts # the four resources
  index.ts     # MCP stdio server entry and initialize instructions
  init.ts      # the gblin-init command
worker/        # the hosted Streamable HTTP server (Cloudflare Workers)
scripts/       # test.ts, test-protocol.ts, test-output-schemas.ts, test-payments-fork.ts, test-calldata-fork.ts

MIT © GBLIN Protocol

Available Tools

21 tools
analyze_treasury_healthA
Read-onlyIdempotent
Inspect

Analyze an agent wallet's treasury health: GBLIN/USDC/ETH balances, whether the ETH covers an exit at the live gas price, the redemption cooldown, and (if daily_burn_usd is provided) days of USDC runway plus a recommendation that keeps seven days of spend in USDC and treats only the surplus as a candidate for GBLIN. Free by default; metered at $0.003 USDC only when the operator sets MCP_PAYWALL=true.

ParametersJSON Schema
NameRequiredDescriptionDefault
_paymentNoBase64-encoded x402 PaymentProof JSON. Omit on first call to receive the 402 payment manifest.
daily_burn_usdNoOptional. Average daily spend in USD (e.g. 1.5).
wallet_addressYesAgent's 0x address.

Output Schema

ParametersJSON Schema
NameRequiredDescription
ratiosNo
walletYes
balancesYes
cooldownYesWhether the redemption cooldown is active and for how long.
gas_healthYesWhether the wallet holds enough ETH for the next transactions.
recommendationYeshold, rebalance_to_gblin or rebalance_to_usdc, with the reason.

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuinely new behavioral context beyond that: the analysis depends on live gas price, includes a redemption cooldown and a recommendation policy that reserves seven days of USDC spend and treats only surplus as GBLIN-eligible, plus a conditional cost model ($0.003 USDC only when MCP_PAYWALL=true). That pricing and the recommendation heuristic are real value-adds 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?

Two dense sentences, front-loaded with the core purpose and enumerating outputs in a single pass; the conditional cost model is placed last where it belongs. Every clause carries substance, though the first sentence is long and clause-heavy.

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?

For a read-only analysis tool with a full output schema and 100% parameter coverage, the description supplies the computation semantics, the daily_burn_usd trigger, and the free/metered billing condition, which is nearly everything an agent needs before calling. The missing piece is explicit sibling differentiation, which is a contextual gap rather than a correctness one.

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 description coverage is 100%, so the baseline is 3. The description nevertheless adds meaning beyond the schema for daily_burn_usd: it explains that supplying it produces days-of-runway and a recommendation with the seven-day buffer rule, which is more than the schema's 'Optional. Average daily spend in USD'.

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 specific verb (analyze) and resource (treasury health) and enumerates the concrete outputs: GBLIN/USDC/ETH balances, ETH exit coverage at live gas price, redemption cooldown, and runway when daily_burn_usd is supplied. It is far from a tautology. It does not, however, name or contrast the closely related siblings get_treasury_state and plan_treasury, so an agent must infer the boundary itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: passing daily_burn_usd is what unlocks runway and the recommendation, which suggests when to call it in a richer mode. There is no explicit statement of when to choose this over get_treasury_state or plan_treasury, and no exclusions. Adequate but leaves the sibling-routing decision to the agent.

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

get_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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
bestNoThe row with the largest gap, or null.
lensNo
noteNo
rowsYesOne entry per basket asset: side, gap from target and amount a bidder can fill.
curveNo
vaultYes
howToBidNo
openedAtNoWhen the auction opened, or null when closed.
premiumBpsYesCurrent premium over the oracle price, in basis points; negative is a discount.
auctionOpenYes
navReliableYes
worstGapEthNo
totalValueEthNo

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds substantial context beyond that: the Dutch-auction mechanics, the premium ramp from discount to cap, the fact that the vault pays nothing, and that returns include unsigned approval+bid calldata. It omits auth requirements and rate limits, but the domain behavior is well disclosed.

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?

Purpose is front-loaded in the first clause, and the prose is dense with domain information rather than filler. It runs long and the closing line ('nothing is paid out of the vault') partially restates earlier context, but every sentence conveys information useful for interpreting the auction state.

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?

With an output schema present the description needn't enumerate return fields, yet it usefully frames what each row means. Combined with zero parameters and full annotation coverage, the definition is nearly complete; the only shortfall is the absence of explicit invocation guidance relative to sibling tools.

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?

The tool takes zero parameters, so there is no parameter semantics to explain; the baseline for a no-arg tool is 4.

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 opening sentence gives a specific verb and resource — 'Read the GBLIN rebalancing auction on Base' — and the following sentences define exactly what the tool surfaces (per-row side, ETH gap, token/amount, unsigned calldata). An agent can distinguish this from siblings like get_treasury_state or get_governance_state without inspecting the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains the auction's existence condition ('when a basket row drifts past its band'), which implies the tool is worth calling to find rebalancing opportunities, but it never explicitly states when to call it, when not to, or how it relates to alternatives like quote_safe_swap or prepare_action. Usage is inferable rather than stated.

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

get_governance_stateA
Read-onlyIdempotent
Inspect

Verify GBLIN protocol governance state: confirms whether the GBLIN vault is owned by the 48h Timelock, reads the timelock's min delay and grace period, reports role member counts, and surfaces any pending asset-addition proposal on the index contract. If an operation_id is provided, also reports the status of that specific timelock operation. Read-only — use this to gate trust-sensitive agent actions.

ParametersJSON Schema
NameRequiredDescriptionDefault
operation_idNoOptional 0x-prefixed 32-byte hex id of a specific timelock operation to inspect.

Output Schema

ParametersJSON Schema
NameRequiredDescription
lensNo
ownerYes
vaultYes
timelockYesAddress and minimum delay of the timelock, read on chain.
verificationNo
fee_recipientNo
trust_summaryNo
pending_handoverNoA pending ownership transfer, or null.
owner_is_timelockYes
owner_is_renouncedYes
pending_timelock_operationNoA scheduled timelock operation affecting ownership, or null.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered and the description's 'Read-only' restatement is redundant. It does add real behavioral context beyond the annotations: the conditional path when operation_id is supplied, and the fact that it reads across the vault, timelock, and index contracts. No auth or rate-limit disclosure, but little is needed for a read.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, and the core enumeration is front-loaded before the conditional parameter behavior and the usage hint. Every clause maps to a distinct capability the agent needs for selection.

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?

With an output schema present, the description needn't enumerate return values, and it appropriately focuses on scope, conditional behavior, and usage. An agent has everything needed to select and invoke this one-parameter read tool correctly.

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?

The schema already documents the single optional operation_id with 100% coverage. The description goes beyond the schema by explaining the behavioral consequence of supplying it ('also reports the status of that specific timelock operation'), which clarifies that the parameter is additive rather than required.

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 ('Verify') and resource ('GBLIN protocol governance state') and then enumerates the exact checks performed: vault ownership by the 48h Timelock, min delay, grace period, role member counts, and pending asset-addition proposals. This distinguishes it cleanly from siblings like get_treasury_state or get_auction_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 closing sentence provides a concrete use case: 'use this to gate trust-sensitive agent actions,' which tells the agent the decision context in which this tool belongs. It stops short of naming alternatives or an explicit when-not, so it earns a clear-context 4 rather than a full 5.

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

get_market_risk_regimeA
Read-onlyIdempotent
Inspect

When deciding whether to deploy capital, take on risk, or STAND DOWN in a volatile market, call this first (the 'Risk Gate' pattern: gblin.digital/risk-gate, which a third-party ERC-8004 agent, id 59895 on Base, pinned in its published decision rule). Returns the current BTC/ETH risk regime (calm | elevated | crash), a severity score, and a risk posture (risk_on | reduce | risk_off), derived from GBLIN's verifiable on-chain Crash Shield vs Chainlink-oracle peaks on Base. Useful to ANY trading or treasury agent — independent of holding GBLIN. Poll each decision cycle. Free by default; metered at $0.002 USDC only when the operator sets MCP_PAYWALL=true.

ParametersJSON Schema
NameRequiredDescriptionDefault
_paymentNoBase64-encoded x402 PaymentProof JSON. Omit on first call to receive the 402 payment manifest.

Output Schema

ParametersJSON Schema
NameRequiredDescription
metaNo
assetsNo
regimeYes
sourceNo
verifyNo
risk_postureNo
severity_pctYes
shield_activeYes
defensive_cash_pctYes

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint, idempotentHint, openWorldHint, non-destructive), so the bar is lower. The description adds valuable behavioral context: it explains the derivation from 'GBLIN's verifiable on-chain Crash Shield vs Chainlink-oracle peaks on Base,' notes polling cadence, and discloses the payment model ('Free by default; metered at $0.002 USDC only when the operator sets MCP_PAYWALL=true'). It does not detail response structure, but that is largely covered by the output schema.

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 the key action and decision trigger, then provides necessary context. It is somewhat dense with parentheticals and URLs, but every sentence earns its place by clarifying usage, output, derivation, and payment model. It avoids unnecessary repetition.

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 complexity (on-chain derived data, conditional payment, third-party reference), the description is complete enough. It covers when to use, what it returns, how it is derived, polling guidance, independence from GBLIN holdings, and the payment mechanism. The output schema exists, so return value details need not be repeated. An agent has all it needs to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is 1 parameter (_payment) with 100% schema description coverage, so the schema already fully documents its meaning and x402 payment proof requirement. The description adds no additional parameter details beyond mentioning the paywall condition, which is already implied by the schema. Baseline 3 is appropriate when schema coverage is high.

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 uses a specific verb+resource: 'Returns the current BTC/ETH risk regime (calm | elevated | crash), a severity score, and a risk posture (risk_on | reduce | risk_off).' It clearly distinguishes itself from siblings like get_treasury_state and analyze_treasury_health by focusing purely on market regime, and the 'Risk Gate' pattern framing makes its unique role explicit.

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?

Explicitly states when to call: 'When deciding whether to deploy capital, take on risk, or STAND DOWN in a volatile market, call this first.' It further says 'Poll each decision cycle' and that it is 'Useful to ANY trading or treasury agent — independent of holding GBLIN,' giving clear context for repeated use and no exclusions needed.

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

get_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. History starts at the deployment of the vault in service. Use it to judge how the index behaved against holding ETH or BTC over the same span.

ParametersJSON Schema
NameRequiredDescriptionDefault
pointsNoHow many points, newest last. Default 30.
intervalNoSpacing of the points. Default day.

Output Schema

ParametersJSON Schema
NameRequiredDescription
noteNo
methodNo
pointsYes
seriesYesOldest first: time, block, NAV in ETH and USD, ETH/USD and BTC/USD.
summaryNoChange of NAV, ETH and BTC over the window, and the NAV's largest drawdown.
intervalYes

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious context: data is read from historical blocks on chain, and 'History starts at the deployment of the vault in service' — a real temporal boundary that the annotations do not express.

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?

Two sentences, front-loaded with the core resource and data source before the comparative detail and the temporal caveat. Dense but each clause carries information; only slightly heavy for two optional integer/enum parameters.

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-shape explanation is not needed. The description covers contents (change values, max drawdown), provenance (on-chain historical blocks, vault's own oracles), and the start boundary, which is sufficient for a low-complexity two-param read tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% (points, interval, defaults, enum all documented in the schema), so the baseline is 3. The description references 'the window' and 'the change of each over the window' but adds no syntax, format, or constraint detail beyond what the schema already states.

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 first sentence names the specific resource (NAV per GBLIN share over time), the data source (read from the chain at past blocks), and the comparative payload (ETH/USD and BTC/USD oracle prices, change over window, largest drawdown). This is far more specific than a sibling like get_treasury_state and lets an agent distinguish it immediately.

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 closing sentence gives a clear use case: 'judge how the index behaved against holding ETH or BTC over the same span.' It conveys when the tool is valuable but does not name alternatives or state when not to use it, so it falls short of the explicit when/when-not/alternative routing that a 5 would require.

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

get_receiptA
Read-onlyIdempotent
Inspect

Fetch a sealed AI Action Receipt by index from GBLIN's public transparency log (free forever). Returns the full portable receipt — canonical payload, Ed25519 signature, RFC 6962 Merkle inclusion proof against the current tree, operator-signed C2SP checkpoint — which any third party can verify offline with verify-receipt.mjs (zero dependencies).

ParametersJSON Schema
NameRequiredDescriptionDefault
indexYesZero-based index of the receipt in the log (see the log overview at https://gblin-mcp.gblin-mcp-worker.workers.dev/log for the current size).

Output Schema

ParametersJSON Schema
NameRequiredDescription
leafNo
noteNo
rootNo
indexYes
anchorNo
formatNo
verifyNoHow to verify this receipt.
payloadYesThe sealed record as signed.
signatureYes
tree_sizeNo
checkpointNo
human_pageNo
provenanceNo
verifier_keyNo
verify_offlineNo
inclusion_proofYesSibling hashes from the leaf to the root (RFC 6962).
canonical_sha256No
canonicalizationNoThe canonical JSON form the leaf is hashed from.

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety traits (readOnlyHint, idempotentHint, destructiveHint, openWorldHint). The description adds meaningful behavioral context beyond annotations: the log is public and free forever, the returned receipt is portable and includes canonical payload, Ed25519 signature, RFC 6962 Merkle inclusion proof, and C2SP checkpoint, and it can be verified offline with verify-receipt.mjs. It does not mention rate limits or error behavior for out-of-range indices, but it adds substantial value over the structured 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 the core action and scope in the first sentence, followed by return details in the second. It is appropriately sized for a technically rich tool, though phrases like 'free forever' and 'zero dependencies' are mildly promotional and not strictly necessary for invocation correctness.

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?

With an output schema present and rich annotations, the description is complete for an agent to call the tool correctly. It supplements the structured fields with verification context and return composition, and no critical invocation information is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the single index parameter is fully documented in the schema, including zero-based semantics and a link to the log overview. The description only repeats 'by index' without adding new syntax or format details. Baseline 3 is appropriate when the schema already does the heavy lifting.

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 states a specific verb and resource: fetch a sealed AI Action Receipt by index from GBLIN's public transparency log. It is clearly distinguishable from sibling tools like seal_action_demo or verify_risk_attestation, which perform different operations on related concepts. An agent can identify exactly what this tool does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The purpose implies the use case: retrieve a receipt when you have its index and want the full verifiable artifact. However, the description does not explicitly state when to use this tool versus alternatives such as verify_risk_attestation or get_transaction_status, nor does it provide exclusions or prerequisites. Usage is therefore implied but not fully guided.

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

get_transaction_statusA
Read-onlyIdempotent
Inspect

Report 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. Use it after sending the steps from prepare_action to confirm each one before the next.

ParametersJSON Schema
NameRequiredDescriptionDefault
hashYesThe transaction hash.

Output Schema

ParametersJSON Schema
NameRequiredDescription
toNo
fromNo
hashYes
noteNo
blockNo
revertNo
statusYes
fee_ethNo
explorerNo
gas_usedNo
gas_limitNo
confirmationsNo
balance_changesNo

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is fully covered. The description adds the 'sent Base transaction' scope and the reverted-reason decoding, but most of its content describes return values rather than behavior beyond the 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 purpose and the full list of reported fields are front-loaded in one dense sentence, with the usage rule following. The enumeration is long but each item is informative, and there is no filler.

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 restated in full, and the description still covers what an agent must know: when to call it and what it reports. For a single-parameter read tool with complete annotations, it is essentially complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single parameter with 100% schema description coverage, so the schema already carries the meaning of 'hash'. The description adds no syntax, format, or constraint details beyond what the schema provides; baseline 3 applies.

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 states a specific verb and resource ('Report what a sent Base transaction did') and enumerates the exact outcomes (pending, succeeded, reverted, not found). It is clearly distinguishable from lookup-style siblings such as get_receipt or get_auction_state.

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 gives explicit sequencing guidance: 'Use it after sending the steps from prepare_action to confirm each one before the next,' naming the sibling that produces the inputs. It does not state when not to use it, but the context is unambiguous.

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

get_treasury_stateA
Read-onlyIdempotent
Inspect

Read the current GBLIN protocol state on Base mainnet: NAV in USD, basket composition with dynamic weights, and Crash Shield status. Use this BEFORE any swap to know the current price and risk regime.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
metaNo
basketYesAssets in the basket with base and dynamic weights.
nav_usdYesNet asset value of one GBLIN share in USD.
auction_openYesTrue while a rebalancing auction is running.
nav_reliableYesFalse when a price feed is stale or a basket asset cannot be read; do not trade on the NAV then.
eth_price_usdYesETH price in USD from the oracle.
slippage_reasonNo
crash_shield_activeYesTrue when the crash shield has cut the weight of a falling asset.
slippage_buffer_pctNo
management_fee_bps_per_yearYesManagement fee in basis points per year, read from the contract.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds real context beyond that: it reads live mainnet state and defines the three data domains returned, plus the pre-swap sequencing. It omits auth requirements and any freshness/latency caveats, keeping it at a 4 rather than a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler. The returned fields are front-loaded and the usage constraint follows immediately, so an agent gets the payload and the trigger in the first read.

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?

An output schema exists, so return-value explanation is technically not required, yet the description still summarizes the key outputs helpfully. With no parameters and annotations covering the safety profile, nothing an agent needs to call this correctly is missing.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. Nothing in the schema needs compensation from the description.

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?

Specific verb ("Read") plus specific resource ("GBLIN protocol state on Base mainnet"), and it enumerates the returned content: NAV in USD, basket composition with dynamic weights, and Crash Shield status. This clearly distinguishes it from sibling tools like analyze_treasury_health (analysis) and get_nav_history (historical series).

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?

"Use this BEFORE any swap to know the current price and risk regime" gives an explicit trigger and sequencing constraint, which is actionable guidance. It does not, however, name the neighboring alternatives (analyze_treasury_health, get_market_risk_regime, get_nav_history) or state when NOT to use it, so it falls short of a full 5.

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

how_to_seal_paidA
Read-onlyIdempotent
Inspect

Instructions for UNLIMITED paid seals ($0.0045 USDC per seal via x402 on Base) in GBLIN's AI Action Receipts transparency log — endpoint, body schema, payment flow, and how to verify receipts offline. Free demo alternative: seal_action_demo (5/day/IP).

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
flowYes
noteNo
priceYes
receiptNo
endpointYes
read_freeNo
body_schemaNo
verify_offlineNo

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description supplies behavioral facts annotations cannot: exact cost ($0.0045 USDC per seal), the payment rail (x402 on Base), that the action goes into a public transparency log, and that receipts can be verified offline. It also contrasts rate limits against the free sibling.

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?

A single front-loaded sentence plus one short alternative clause — no filler. Slightly dense with parentheticals (price, rail, free-tier limit), but each parenthetical carries decision-relevant information.

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 zero-parameter documentation tool with an output schema, the description delivers everything an agent needs before calling: what it returns, the payment requirement, the network, and the fallback. Return-value details are 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?

The tool takes zero parameters, so the schema cannot carry semantic load and the baseline is 4. The description references a 'body schema' it exposes, which is useful orientation, but adds no per-field syntax details beyond that pointer.

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 deliverable — instructions for paid seals — and enumerates exactly what the instructions cover: endpoint, body schema, payment flow, and offline receipt verification. It also names the sibling free alternative (seal_action_demo), so an agent can distinguish it from the demo-sealing tool without opening any schema.

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?

Explicitly routes the agent: use this for paid, unlimited seals; use seal_action_demo for the free path, with the concrete constraint '5/day/IP'. Both the when-to-use and the alternative condition are stated rather than inferred.

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

invest_usdc_to_gblinA
Read-onlyIdempotent
Inspect

When your agent's idle USDC exceeds operating needs (rule of thumb: more than 7x daily burn), call this to park the SURPLUS into GBLIN — managed crypto exposure minted at NAV, redeemable any time via swap_gblin_to_usdc_jit. Returns two steps of calldata: (1) approve USDC to the GBLIN Zap, (2) GBLINZap.buyGBLINWithToken, which swaps the USDC to WETH on Uniswap V3 and mints at NAV with a non-zero minimum output. Free to call. The mint fee and the yearly management fee are governance parameters: read them live from get_treasury_state rather than from this text.

ParametersJSON Schema
NameRequiredDescriptionDefault
usdc_amountYesUSDC amount to invest (decimal string).
wallet_addressYesUser's wallet address that holds the USDC and signs the transactions.

Output Schema

ParametersJSON Schema
NameRequiredDescription
stepsYesTransactions to send in order.
actionYesAlways sequential_txs: send the steps one after the other.
expectedYesShares expected and the minimum applied.
gas_hintYesGas limit to set on the Zap step.
securityNo
gas_hint_noteNo

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that the call is free, that it returns two calldata steps (approve + buyGBLINWithToken), that the swap routes through Uniswap V3, that minting happens at NAV with a non-zero minimum output, and that fees are live governance parameters rather than fixed text. There is mild tension with readOnlyHint=true given the returned calldata approves and mints, but the tool itself only constructs calldata and does not execute or mutate state, so this reads as preparation rather than an outright contradiction. Auth/permission requirements are not stated.

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?

Front-loaded with the decision rule, then the mechanism, then the return shape, then the fee caveat — logical order with no filler. It is on the longer side for a two-parameter tool, but each sentence carries distinct operational information (threshold, reverse path, calldata steps, fee source).

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?

With an output schema present, the description need not document return values, yet it still sketches the two calldata steps. Combined with annotations covering safety and the schema covering both parameters, an agent has everything needed to decide and invoke correctly; the fee pointer to get_treasury_state closes the last gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so usdc_amount and wallet_address are already fully documented by the schema. The description reinforces context (surplus, wallet that holds USDC and signs) but adds no format, bounds, or unit detail beyond what the schema provides. Baseline 3 applies when the schema carries the parameter burden.

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+resource (park surplus USDC into GBLIN) and immediately distinguishes itself from siblings by naming swap_gblin_to_usdc_jit as the reverse path and get_treasury_state for fee data. The agent can tell exactly what this tool does without opening the schema.

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?

Gives an explicit trigger condition with a concrete threshold ('idle USDC exceeds operating needs — rule of thumb: more than 7x daily burn'), restricts scope to SURPLUS only, and names the escape hatch (redeemable any time via swap_gblin_to_usdc_jit). When-to-use and the alternative are both spelled out.

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

plan_treasuryA
Read-onlyIdempotent
Inspect

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.

ParametersJSON 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

ParametersJSON Schema
NameRequiredDescription
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.

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.

prepare_actionA
Read-onlyIdempotent
Inspect

Build the unsigned transactions for any operation on the GBLIN vault, in the order to send them. 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 you need), 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: simulate the steps with preview_steps, then send them from the wallet.

ParametersJSON Schema
NameRequiredDescriptionDefault
rowNobid only: the basket row to bid on. Default: the row with the largest gap.
actionYesThe operation to prepare.
amountNoDecimal amount. Unit depends on the action (see the description). Not used by bid.
wallet_addressYesThe wallet that will sign and receive.

Output Schema

ParametersJSON Schema
NameRequiredDescription
nextNo
stepsYesTransactions to send in order.
actionYes
walletNo
expectedNoWhat the operation should deliver, with the minimums applied.
warningsNo

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description reinforces with 'Nothing is signed or sent' while adding per-action behavior: redeem_in_kind has 'no fee, no price feed', exit_to_eth is 'all or nothing', and every vault/Zap step carries a gas limit. These are meaningful traits beyond the 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?

Front-loaded with the core action, then a dense but useful per-action list where each clause carries distinct semantics. Efficient overall, though the long inline action enumeration makes it fairly heavy for a single paragraph.

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?

With an output schema present, return values need no explanation, and the description covers the prepare/simulate/send workflow, all action-specific units, and the safety framing. An agent has everything needed to invoke it correctly.

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% (baseline 3), but the description goes further by resolving the otherwise ambiguous 'amount' unit per action (ETH, WETH, USDC, shares) and clarifying that bid ignores amount and only optionally uses row. This adds real meaning over the schema text.

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+resource ('Build the unsigned transactions for any operation on the GBLIN vault') and enumerates the exact actions available. It is distinguishable from siblings like preview_steps (simulate) and the various get_* state tools without opening any 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?

Explicitly names the workflow and the alternative: simulate with preview_steps, then send from the wallet. This tells the agent when to reach for this tool versus the simulation sibling. It stops short of stating when NOT to use it or prerequisites, so it is not a full 5.

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

prepare_gblin_paymentA
Read-only
Inspect

Build 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. Use method 'receive' when paying a known recipient: only that recipient can submit it, so nobody can front-run the transfer. Use 'transfer' for an x402 facilitator, which submits on the seller's behalf. With relay: true it also prepares the fee authorization for relay_gblin_payment, for when nobody else will carry the payment. No private key is requested, held or transmitted: the signature is produced by the caller's own wallet.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesThe recipient's address.
fromYesThe payer's address: the wallet that will sign.
relayNotrue when nobody else will carry the payment on chain: also prepares the relay fee authorization, paid in GBLIN at the live NAV, for relay_gblin_payment. Forces method 'transfer'.
methodNo'receive' (default) can be submitted only by the recipient; 'transfer' by anyone.
amount_usdNoAmount in USD, converted at the live NAV. Give this or amount_gblin.
amount_gblinNoAmount in GBLIN shares, e.g. '0.25'. Give this or amount_usd.
valid_for_secondsNoHow long the authorization stays valid. Default 600, maximum 86400.

Output Schema

ParametersJSON Schema
NameRequiredDescription
relayNoWith relay: true, the fee authorization to sign and where to send both.
amountNo
digestYesThe EIP-712 digest of typed_data.
methodYes
submitNo
warningsNo
next_stepsNo
typed_dataYesThe EIP-712 message to sign with eth_signTypedData_v4.
x402_payloadYesThe x402 exact-scheme payment payload, with the signature left to fill.
authorizationYesfrom, to, value, validAfter, validBefore, nonce.
payer_balanceNo
x402_accepts_for_sellersNo

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint, openWorldHint) by disclosing the security posture: no private key is requested, held or transmitted; the EIP-712 domain is read from the token rather than assumed; 'receive' cannot be front-run because only the recipient can submit. These are exactly the behavioral facts an agent needs before signing and relaying.

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?

Front-loaded with the action and the return payloads, then method selection, then the relay caveat, then the no-private-key guarantee. Every sentence carries unique information, though the single long paragraph is dense and could be split for faster scanning.

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 multi-step signing/relaying tool with 7 parameters, an output schema and full schema coverage, the description covers the missing pieces: the gasless mechanism, method semantics, relay handoff, and security guarantees. Nothing needed to invoke it correctly is absent.

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 cross-parameter behavior beyond the field docs: it clarifies that relay: true forces method 'transfer', that the domain comes from the token, and that amount_usd is converted at live NAV. It stops short of documenting valid_for_seconds bounds or amount interplay in more depth than the schema already does.

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 ('Build a gasless GBLIN payment') and immediately explains the EIP-3009 signing model that makes it distinct from a normal transfer. It also names the three artifacts returned (EIP-712 message, calldata, x402 payload), so an agent knows exactly what it produces versus sibling tools like relay_gblin_payment or verify_gblin_authorization.

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?

Explicitly routes between the two methods ('receive' for a known recipient, 'transfer' for an x402 facilitator) and gives the condition for each. It also states when to set relay: true ('when nobody else will carry the payment') and names the downstream tool relay_gblin_payment, leaving nothing to inference.

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

preview_stepsA
Read-onlyIdempotent
Inspect

Simulate 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). Returns, per step, whether it would succeed, the gas it uses, whether the gas limit it carries is enough, and the decoded revert reason with a hint when it fails; and the net token and ETH movements for the wallet. Pass the steps exactly as prepare_action, invest_usdc_to_gblin or swap_gblin_to_usdc_jit return them. State can change before your transactions land: a successful preview is evidence, not a guarantee.

ParametersJSON Schema
NameRequiredDescriptionDefault
fromYesThe wallet that will send the steps.
stepsYesThe steps, in order: target and calldata (or their send_calls spellings, to and data), value in wei (optional), gas (optional).

Output Schema

ParametersJSON Schema
NameRequiredDescription
fromNo
noteNo
blockNoThe block the simulation ran on.
stepsYesPer step: success, gas used, whether the given limit is enough, recommended limit, revert reason.
would_succeedYesTrue only if every step succeeds in the simulation.
balance_changesYesNet token and ETH movements for the wallet.
first_failing_stepNo

TDQS

A4.9/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds substantial context beyond them: sequential state dependency between steps ('an approval before a mint works'), the per-step and net returns, and the caveat that on-chain state can change before landing. This is rich behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three front-loaded sentences: purpose first, mechanics and return shape second, provenance and caveat third. Every sentence earns its place with no redundancy.

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?

Complete for a simulation tool. Although an output schema exists (so return values need not be restated), the description still clarifies the return shape and sequencing semantics, and covers the state-may-change caveat an agent needs to interpret results correctly.

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 schema already documents from, steps, and the target/calldata aliases and optional value/gas. The description adds provenance meaning by telling the agent to pass steps 'exactly as' the producing tools return them and emphasizes they are applied in order, which goes modestly beyond the schema.

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+resource with precise scope: 'Simulate a list of transactions in sequence against the latest Base block ... before anything is signed.' This clearly distinguishes it from siblings like prepare_action (which produces steps) and the read-only state tools.

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?

Explicitly frames when to use it ('before anything is signed'), and names the exact sibling tools whose output feeds it (prepare_action, invest_usdc_to_gblin, swap_gblin_to_usdc_jit). It also warns that a successful preview is 'evidence, not a guarantee,' which sets correct expectations about when the result is authoritative.

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

quote_safe_swapA
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.

ParametersJSON Schema
NameRequiredDescriptionDefault
amount_inYesPositive decimal. ETH for buy, GBLIN for sell.
directionYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
feesNo
directionYes
next_stepYes
amount_in_ethNoBuy only.
cooldown_noteNo
amount_in_gblinNoSell only.
slippage_reasonNo
expected_eth_outNoSell only.
safe_min_eth_outNoSell only. Pass as minEthOut.
expected_gblin_outNoBuy only.
safe_min_gblin_outNoBuy only. Pass as minOut.
slippage_buffer_bpsYes
will_revert_with_zero_toleranceNo

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds valuable behavioral context beyond annotations: the dynamic slippage buffer (2.5% normal / 4% during Crash Shield) and the fee breakdown returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tightly written sentences, front-loaded with the core purpose and return values. Every sentence adds information without repetition.

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?

An output schema exists, so return values need not be explained in full, yet the description still summarizes them. Annotations cover safety, and the description adds the slippage and fee context, leaving no critical gaps for correct invocation.

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 50%: amount_in has a description, but direction has only an enum. The description compensates by mapping buy to ETH→GBLIN and sell to GBLIN→ETH, clarifying the missing half of the parameter semantics.

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 (preview) and resource (buy/sell ETH↔GBLIN), and explicitly distinguishes from execution with 'without executing'. An agent can tell this is a read-only quote tool separate from swap execution siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'without executing' implies the tool is for previewing before a swap, but it does not name any alternative tool or state when not to use it. No explicit routing to siblings like swap_gblin_to_usdc_jit or preview_steps is provided.

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

relay_gblin_paymentA
DestructiveIdempotent
Inspect

Have GBLIN's relay carry a signed GBLIN payment on chain for a payer that holds no ETH. Pass the payment and the relay fee, each as { authorization, signature }, both prepared by prepare_gblin_payment with relay: true and 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 moves funds: run it only with authorizations the payer meant to sign.

ParametersJSON Schema
NameRequiredDescriptionDefault
feeYes{ authorization, signature } of the relay fee, from prepare_gblin_payment's relay block.
paymentYes{ authorization, signature } of the payment, method 'transfer'.

Output Schema

ParametersJSON Schema
NameRequiredDescription
feeNo
noteNo
blockNo
relayYesThe relay that carried the payment.
statusYes
paymentNo
explorerNo
transactionYesThe transaction hash.

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses the atomic Multicall3 settlement ('either both settle or neither does'), chain-side verification and simulation before submission, fee denomination at live NAV, and the return shape. Annotations cover the safety profile (destructive/idempotent), and the description adds concrete operational mechanics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then how to supply the inputs, then behavioral mechanics, ending with the funds warning. Six dense sentences with no filler; each carries distinct, actionable information.

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 nested two-object, fund-moving tool with an output schema, the description covers inputs, prerequisite tool, atomicity, fee mechanics, return summary, and a safety caveat. Nothing an agent needs to invoke it correctly is missing.

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 baseline is 3. The description adds real value: both params are { authorization, signature } blocks produced by prepare_gblin_payment with relay: true, signed by the payer's wallet, with the payment method being 'transfer'.

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 ('have GBLIN's relay carry a signed GBLIN payment on chain') plus the distinguishing condition ('for a payer that holds no ETH'). It clearly differentiates itself from prepare_gblin_payment, which it names as the upstream tool.

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?

Gives the selecting condition (payer holds no ETH), names the prerequisite producer (prepare_gblin_payment with relay: true), and adds an explicit safety exclusion ('run it only with authorizations the payer meant to sign'). An agent knows exactly when this applies and when it must not be run.

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

seal_action_demoAInspect

Seal the HASHES of an AI action into GBLIN's public append-only RFC 6962 transparency log (FREE demo, 5/day/IP, receipt marked demo:true). Returns a portable receipt: Ed25519 signature + Merkle inclusion proof + operator-signed C2SP checkpoint, offline-verifiable forever with the zero-dependency verify-receipt.mjs. Input/output go in as sha256 HASHES only; the action label and metadata you send are published in the public log. Unlimited seals cost $0.0045 via x402 — see how_to_seal_paid.

ParametersJSON Schema
NameRequiredDescriptionDefault
metaNoOptional public metadata (published).
toolNoOptional name of the tool/model that produced the action (published).
actionYesShort public label of the action, e.g. 'trade.executed' or 'report.generated'. Published in the log — never put secrets here.
agent_idNoOptional public identifier of the agent (published in the log).
input_hashYessha256 of the action input, as 64 lowercase hex chars. Hash locally; never send content.
output_hashNoOptional sha256 of the action output (64 lowercase hex chars).

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply the safety profile (readOnly=false, idempotent=false, openWorld=true). The description adds substantial behavior beyond that: a per-IP rate limit, the fact that the action label and metadata become publicly published, the exact receipt composition (Ed25519 signature, Merkle inclusion proof, operator-signed C2SP checkpoint), and that verification is offline and permanent.

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?

Two dense sentences with the core action front-loaded and no filler. The parenthetical rate-limit and receipt-detail clauses make it packed, but each clause carries information an agent needs before calling.

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?

With no output schema, the description compensates by describing the return value (portable verifiable receipt) and its verification path. Rate limits, payment alternative, and the public-publishing side effect are all covered, leaving nothing material missing for a mutation tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is already 100%, so the schema documents hash format, length caps, and the 'published — never put secrets here' warning on its own. The description reinforces the hash-only contract and public-visibility consequence but adds no syntax or format detail the schema lacks; baseline 3 is appropriate.

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: "Seal the HASHES of an AI action into GBLIN's public append-only RFC 6962 transparency log." It also names the closely-related sibling (how_to_seal_paid), so an agent can separate it from the payment-instruction tool 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?

Gives clear operating context (FREE demo, 5/day/IP) and routes to the alternative with a condition: unlimited seals go through x402 "— see how_to_seal_paid." There is no explicit when-not-to-use versus prepare_action or the verification siblings, so it stops short of full routing guidance.

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

share_skill_with_peerA
Read-onlyIdempotent
Inspect

Generate a portable skill seed that another AI agent can use to install GBLIN MCP and start managing treasury. The seed includes a working transaction example, install instructions, and a referral code derived from the caller's wallet. The code is a label inside the seed only: it is not written into any transaction and no fee is paid for it. Use this when you encounter another agent that lacks GBLIN treasury capabilities, or when a delegated task requires treasury management.

ParametersJSON Schema
NameRequiredDescriptionDefault
peer_contextNoOptional brief description of the peer agent's use case (e.g. 'yield farming bot', 'x402 payment agent', 'NFT marketplace'). Used to customize the example transaction in the seed.
caller_walletYesEVM address of the caller agent's wallet (the agent currently using GBLIN MCP). Will be hashed into the referral code.
example_amount_usdcNoOptional USDC amount to use in the example transaction within the seed. Default: 5. Range: 1-100.

Output Schema

ParametersJSON Schema
NameRequiredDescription
textYesA ready-to-send description of the GBLIN skill.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world, so the bar is lower. The description adds meaningful behavior beyond them: the referral code is a label inside the seed, never written into a transaction, and no fee is paid for it — an important reassurance against misreading the code as an on-chain action.

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?

Front-loads the generation purpose and what the seed contains, then the referral-code clarification, then the usage trigger. Slightly dense but every sentence carries weight and none is filler.

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. The description covers what is produced, the semantics of the referral code, and when to invoke it, leaving only minor gaps such as the size or format of the generated seed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with caller_wallet hashing into the referral code and peer_context/example_amount_usdc fully documented, so the baseline is 3. The description mentions the referral-code derivation but adds no format, syntax, or constraint detail beyond what the schema already provides.

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 concrete verb and resource ('Generate a portable skill seed') and enumerates what the seed contains (example transaction, install instructions, referral code). This is clearly distinguishable from the sibling treasury-operation tools, which read/plan/execute rather than produce a shareable artifact.

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?

Gives explicit trigger conditions: 'when you encounter another agent that lacks GBLIN treasury capabilities, or when a delegated task requires treasury management.' Clear context, though it names no alternative tool or a when-not-to-use case.

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

swap_gblin_to_usdc_jitA
Read-onlyIdempotent
Inspect

When an x402 invoice (or any USDC obligation) arrives and your treasury sits in GBLIN, call this to get ready-to-broadcast calldata that redeems exactly the USDC you need, just in time. Three sequential transactions: (1) approve the shares to the GBLIN Zap, (2) GBLINZap.sellGBLINForEth, which redeems in kind and sells every leg for ETH, all or nothing, (3) a Uniswap WETH->USDC swap that spends only the guaranteed ETH minimum and still returns at least the requested USDC. EOAs sign three times; ERC-4337 / EIP-7702 wallets can batch them into one operation. Every step carries a non-zero minimum; ETH above the minimum stays in the wallet. Free to call. A redemption carries no protocol fee; the costs are the Zap's swaps and gas.

ParametersJSON Schema
NameRequiredDescriptionDefault
usdc_neededYesUSDC amount, decimal string.
wallet_addressYesAgent's 0x address (for cooldown check).

Output Schema

ParametersJSON Schema
NameRequiredDescription
stepsYesTransactions to send in order.
actionYesAlways sequential_txs: send the steps one after the other.
paramsNo
expectedYesShares spent, ETH and USDC expected, and the minimums applied.
gas_hintYesGas limit to set on the Zap step.
compatibilityNo
gas_hint_noteNo

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the exact three-transaction sequence, the all-or-nothing redemption semantics, the non-zero minimum guarantees on every step, wallet handling of surplus ETH, EOA vs ERC-4337/EIP-7702 signing paths, and the cost/fee profile. This is a rich behavioral contract, not a repeat of readOnlyHint/idempotentHint.

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?

Front-loaded with the trigger and the deliverable, then the mechanics; every sentence carries information an agent needs (sequence, minimums, signing model, cost). It is dense and slightly long, but nothing is disposable boilerplate.

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?

With an output schema present, the description needn't explain return values, and it covers the remaining obligations: when to invoke, what gets produced, how many signatures are required, and what the cost surface is. An agent has everything needed to call it correctly.

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, and the description adds real meaning on top: usdc_needed is 'exactly the USDC you need' with a guarantee the swap returns at least that amount, and wallet_address is tied to a cooldown check. Both parameters are given purpose beyond their field-level docs.

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 artifact ('get ready-to-broadcast calldata') plus the exact resource pair (GBLIN -> USDC) and the timing constraint (just in time). An agent can distinguish it from invest_usdc_to_gblin (the reverse direction) and prepare_gblin_payment 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?

Gives a clear trigger condition: 'When an x402 invoice (or any USDC obligation) arrives and your treasury sits in GBLIN.' It covers when to use it but never names the sibling to prefer when the treasury is already in USDC or when no obligation exists, so the exclusion side is inferred rather than stated.

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

verify_gblin_authorizationA
Read-onlyIdempotent
Inspect

Check a signed GBLIN authorization against the chain before spending gas 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. This is the same set of checks an x402 facilitator runs, so a 'would_settle' verdict here means the payment is good to carry.

ParametersJSON Schema
NameRequiredDescriptionDefault
methodNoWhich method the signature was produced for. Default 'receive'.
signatureYesThe signature produced by the payer's wallet, 0x-prefixed.
authorizationYesThe authorization object: from, to, value, validAfter, validBefore, nonce.

Output Schema

ParametersJSON Schema
NameRequiredDescription
amountNo
checksYes
digestNo
methodYes
sourceNo
submitNoCalldata and who may submit it, or null when it would not settle.
failuresYesReasons it would not settle; empty when it would.
would_settleYesTrue only if the token would accept this authorization now.

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantial behavioral detail beyond them: EIP-712 signer recovery, the ERC-1271 contract-payer path, the validity-window/nonce/payer-balance checks, and the dual return shape (verdict + calldata vs. failing reason). This is exactly the extra context the annotations cannot carry.

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?

Four sentences, front-loaded with the core action, then the mechanism, then the return contract, then the trust framing. Dense but each sentence carries information; only the final x402 sentence is arguably optional.

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 an output schema exists, return values need not be explained, yet the description still clarifies the verdict semantics and calldata. Combined with the fully covered input schema and safety annotations, an agent has everything needed to call and interpret the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema already documents each parameter (method enum, signature format, authorization fields). The description reinforces concepts like the digest and nonce but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 states a specific verb and resource ('Check a signed GBLIN authorization against the chain') and clarifies it is a pre-flight verification distinct from sibling tools like prepare_gblin_payment and relay_gblin_payment. An agent can immediately tell this validates rather than executes a payment.

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 clearly states when to use it ('before spending gas on it') and gives the operative condition for the verdict ('would_settle' means the payment is good to carry). It stops short of explicitly naming alternative siblings or when-not-to-use cases, so it is not a full 5.

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

verify_risk_attestationA
Read-onlyIdempotent
Inspect

Verify a GBLIN Risk Attestation — the object returned by GBLIN's /api/x402/attestation, or a proof-of-diligence a peer agent attached to its action. FREE, no payment. Runs four checks: (1) INTEGRITY — recomputes the EIP-712 attestation_id and detects tampering; (2) AUTHENTICITY — if a signature is present, recovers the signer and checks it is GBLIN's published attestor; (3) FRESHNESS — whether it expired (10-minute TTL), using on-chain time; (4) LIVE DRIFT — compares the attested regime to the CURRENT on-chain regime and flags if it changed. Use before you trust any counterparty/peer that claims it 'checked market risk via GBLIN'.

ParametersJSON Schema
NameRequiredDescriptionDefault
attestationYesThe 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_attestorNoOptional 0x address to check the signature against. Defaults to the GBLIN attestor address baked into this MCP build (GBLIN_ATTESTOR_ADDRESS env).

Output Schema

ParametersJSON Schema
NameRequiredDescription
liveNo
validYesTrue only if every check passed.
checksYesEach check by name, with its result.
sourceNo
attestedNo
guidanceNo
recomputed_attestation_idNo

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the burden is low, yet the description still adds substantial behavior: it is FREE with no payment, and it enumerates the four concrete checks (EIP-712 recomputation, signer recovery, 10-minute TTL against on-chain time, live regime drift). This tells the agent exactly what the call proves and what failure modes it detects.

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?

Front-loaded with the verb, resource, and the 'FREE' qualifier, then a numbered breakdown of the four checks plus a use-case sentence. Dense and largely waste-free, though the enumerated checks make it longer than strictly necessary.

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?

With an output schema present, return formatting need not be described, and the description covers cost, the four verification dimensions, and the trust decision it supports. Nothing needed to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented in the schema (including the eip712 requirement and expected_attestor defaulting to GBLIN_ATTESTOR_ADDRESS). The description adds only a slight note that the attestor is 'GBLIN's published attestor', so it meets the baseline without exceeding it.

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 (verify a GBLIN Risk Attestation) and scopes exactly which objects qualify: the /api/x402/attestation output or a peer's proof-of-diligence. An agent can distinguish it from siblings like verify_gblin_authorization because the resource being verified is named precisely.

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?

Gives an explicit trigger: 'Use before you trust any counterparty/peer that claims it checked market risk via GBLIN.' That is a clear contextual trigger, but no when-not condition or named alternative tool is offered.

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

Tool Schema Changelog

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

  1. 21 tool updatesv1.1.5
    • Changedanalyze_treasury_health2 fields changed
      • addedInput schema / properties / _payment
        Added value: +{
        +  "description": "Base64-encoded x402 PaymentProof JSON. Omit on first call to receive the 402 payment manifest.",
        +  "type": "string"
        +}
      • changedOutput schema / (root)
        Previous value: -nullNew value: +{
        +  "additionalProperties": true,
        +  "properties": {
        +    "balances": {
        +      "type": "object"
        +    },
        +    "cooldown": {
        +      "description": "Whether the redemption cooldown is active and for how long.",
        +      "type": "object"
        +    },
        +    "gas_health": {
        +      "description": "Whether the wallet holds enough ETH for the next transactions.",
        +      "type": "object"
        +    },
        +    "ratios": {
        +      "type": "object"
        +    },
        +    "recommendation": {
        +      "description": "hold, rebalance_to_gblin or rebalance_to_usdc, with the reason.",
        +      "type": "object"
        +    },
        +    "wallet": {
        +      "type": "string"
        +    }
        +  },
        +  "required": [
        +    "wallet",
        +    "balances",
        +    "gas_health",
        +    "cooldown",
        +    "recommendation"
        +  ],
        +  "type": "object"
        +}
    • Addedget_auction_state
    • Changedget_governance_state2 fields changed
      • addedInput schema / required
        Added value: +[]
      • changedOutput schema / (root)
        Previous value: -nullNew value: +{
        +  "additionalProperties": true,
        +  "properties": {
        +    "fee_recipient": {
        +      "type": "string"
        +    },
        +    "lens": {
        +      "type": "string"
        +    },
        +    "owner": {
        +      "type": "string"
        +    },
        +    "owner_is_renounced": {
        +      "type": "boolean"
        +    },
        +    "owner_is_timelock": {
        +      "type": "boolean"
        +    },
        +    "pending_handover": {
        +      "description": "A pending ownership transfer, or null.",
        +      "type": [
        +        "object",
        +        "null"
        +      ]
        +    },
        +    "pending_timelock_operation": {
        +      "description": "A scheduled timelock operation affecting ownership, or null.",
        +      "type": [
        +        "object",
        +        "null"
        +      ]
        +    },
        +    "timelock": {
        +      "description": "Address and minimum delay of the timelock, read on chain.",
        +      "type": "object"
        +    },
        +    "trust_summary": {
        +      "type": "string"
        +    },
        +    "vault": {
        +      "type": "string"
        +    },
        +    "verification": {
        +      "type": "object"
        +    }
        +  },
        +  "required": [
        +    "vault",
        +    "owner",
        +    "owner_is_timelock",
        +    "owner_is_renounced",
        +    "timelock"
        +  ],
        +  "type": "object"
        +}
    • Addedget_market_risk_regime
    • Addedget_nav_history
    • Addedget_receipt
    • Addedget_transaction_status
    • Changedget_treasury_state2 fields changed
      • addedInput schema / required
        Added value: +[]
      • changedOutput schema / (root)
        Previous value: -nullNew value: +{
        +  "additionalProperties": true,
        +  "properties": {
        +    "auction_open": {
        +      "description": "True while a rebalancing auction is running.",
        +      "type": "boolean"
        +    },
        +    "basket": {
        +      "description": "Assets in the basket with base and dynamic weights.",
        +      "items": {
        +        "type": "object"
        +      },
        +      "type": "array"
        +    },
        +    "crash_shield_active": {
        +      "description": "True when the crash shield has cut the weight of a falling asset.",
        +      "type": "boolean"
        +    },
        +    "eth_price_usd": {
        +      "description": "ETH price in USD from the oracle.",
        +      "type": "number"
        +    },
        +    "management_fee_bps_per_year": {
        +      "description": "Management fee in basis points per year, read from the contract.",
        +      "type": "number"
        +    },
        +    "meta": {
        +      "type": "object"
        +    },
        +    "nav_reliable": {
        +      "description": "False when a price feed is stale or a basket asset cannot be read; do not trade on the NAV then.",
        +      "type": "boolean"
        +    },
        +    "nav_usd": {
        +      "description": "Net asset value of one GBLIN share in USD.",
        +      "type": "number"
        +    },
        +    "slippage_buffer_pct": {
        +      "type": "number"
        +    },
        +    "slippage_reason": {
        +      "type": "string"
        +    }
        +  },
        +  "required": [
        +    "nav_usd",
        +    "eth_price_usd",
        +    "nav_reliable",
        +    "management_fee_bps_per_year",
        +    "auction_open",
        +    "crash_shield_active",
        +    "basket"
        +  ],
        +  "type": "object"
        +}
    • Addedhow_to_seal_paid
    • Changedinvest_usdc_to_gblin3 fields changed
      • addedInput schema / properties / wallet_address
        Added value: +{
        +  "description": "User's wallet address that holds the USDC and signs the transactions.",
        +  "type": "string"
        +}
      • changedInput schema / required
        Previous value: -[
        -  "usdc_amount"
        -]New value: +[
        +  "usdc_amount",
        +  "wallet_address"
        +]
      • changedOutput schema / (root)
        Previous value: -nullNew value: +{
        +  "additionalProperties": true,
        +  "properties": {
        +    "action": {
        +      "description": "Always sequential_txs: send the steps one after the other.",
        +      "type": "string"
        +    },
        +    "expected": {
        +      "description": "Shares expected and the minimum applied.",
        +      "type": "object"
        +    },
        +    "gas_hint": {
        +      "description": "Gas limit to set on the Zap step.",
        +      "type": "number"
        +    },
        +    "gas_hint_note": {
        +      "type": "string"
        +    },
        +    "security": {
        +      "type": "object"
        +    },
        +    "steps": {
        +      "description": "Transactions to send in order.",
        +      "items": {
        +        "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.",
        +        "type": "object"
        +      },
        +      "type": "array"
        +    }
        +  },
        +  "required": [
        +    "action",
        +    "steps",
        +    "expected",
        +    "gas_hint"
        +  ],
        +  "type": "object"
        +}
    • Addedplan_treasury
    • Addedprepare_action
    • Addedprepare_gblin_payment
    • Addedpreview_steps
    • Changedquote_safe_swap1 field changed
      • changedOutput schema / (root)
        Previous value: -nullNew value: +{
        +  "additionalProperties": true,
        +  "properties": {
        +    "amount_in_eth": {
        +      "description": "Buy only.",
        +      "type": "string"
        +    },
        +    "amount_in_gblin": {
        +      "description": "Sell only.",
        +      "type": "string"
        +    },
        +    "cooldown_note": {
        +      "type": "string"
        +    },
        +    "direction": {
        +      "enum": [
        +        "buy",
        +        "sell"
        +      ],
        +      "type": "string"
        +    },
        +    "expected_eth_out": {
        +      "description": "Sell only.",
        +      "type": "string"
        +    },
        +    "expected_gblin_out": {
        +      "description": "Buy only.",
        +      "type": "string"
        +    },
        +    "fees": {
        +      "type": "object"
        +    },
        +    "next_step": {
        +      "type": "string"
        +    },
        +    "safe_min_eth_out": {
        +      "description": "Sell only. Pass as minEthOut.",
        +      "type": "string"
        +    },
        +    "safe_min_gblin_out": {
        +      "description": "Buy only. Pass as minOut.",
        +      "type": "string"
        +    },
        +    "slippage_buffer_bps": {
        +      "type": "number"
        +    },
        +    "slippage_reason": {
        +      "type": "string"
        +    },
        +    "will_revert_with_zero_tolerance": {
        +      "type": "boolean"
        +    }
        +  },
        +  "required": [
        +    "direction",
        +    "slippage_buffer_bps",
        +    "next_step"
        +  ],
        +  "type": "object"
        +}
    • Addedrelay_gblin_payment
    • Addedseal_action_demo
    • Addedshare_skill_with_peer
    • Changedswap_gblin_to_usdc_jit1 field changed
      • changedOutput schema / (root)
        Previous value: -nullNew value: +{
        +  "additionalProperties": true,
        +  "properties": {
        +    "action": {
        +      "description": "Always sequential_txs: send the steps one after the other.",
        +      "type": "string"
        +    },
        +    "compatibility": {
        +      "type": "object"
        +    },
        +    "expected": {
        +      "description": "Shares spent, ETH and USDC expected, and the minimums applied.",
        +      "type": "object"
        +    },
        +    "gas_hint": {
        +      "description": "Gas limit to set on the Zap step.",
        +      "type": "number"
        +    },
        +    "gas_hint_note": {
        +      "type": "string"
        +    },
        +    "params": {
        +      "type": "object"
        +    },
        +    "steps": {
        +      "description": "Transactions to send in order.",
        +      "items": {
        +        "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.",
        +        "type": "object"
        +      },
        +      "type": "array"
        +    }
        +  },
        +  "required": [
        +    "action",
        +    "steps",
        +    "expected",
        +    "gas_hint"
        +  ],
        +  "type": "object"
        +}
    • Addedverify_gblin_authorization
    • Addedverify_risk_attestation
  2. 6 tool updatesv1.1.2
    • First observedanalyze_treasury_health
    • First observedget_governance_state
    • First observedget_treasury_state
    • First observedinvest_usdc_to_gblin
    • First observedquote_safe_swap
    • First observedswap_gblin_to_usdc_jit

TDQS

A4/5.0

Scored across 21 tools

Disambiguation3/5

Several tools overlap in purpose: invest_usdc_to_gblin and swap_gblin_to_usdc_jit largely duplicate prepare_action's mint_with_usdc and exit_to_eth/exit_to_usdc paths, and plan_treasury, analyze_treasury_health, and invest_usdc_to_gblin all blend treasury planning/allocation. quote_safe_swap vs preview_steps is also blurry, though descriptions do help distinguish read-only quoting from full-sequence simulation.

Naming Consistency4/5

Nearly all tools use a consistent snake_case verb_noun or get_noun pattern (get_treasury_state, prepare_action, verify_risk_attestation). Minor deviations like how_to_seal_paid and quote_safe_swap break the pattern slightly but remain readable and unambiguous.

Tool Count3/5

21 tools is on the heavy side for a single server and is inflated by convenience wrappers (invest_usdc_to_gblin, swap_gblin_to_usdc_jit) that partially duplicate prepare_action. The breadth of sub-domains (treasury, payments, risk, receipts) justifies many tools, but the surface is borderline heavy.

Completeness4/5

Coverage is strong across the protocol lifecycle: read state (treasury, auction, governance, NAV history, risk regime), prepare/simulate/execute transactions, verify authorizations and attestations, and seal/fetch transparency-log receipts. A few niche operations (e.g. cancelling authorizations, richer governance actions) are absent but core workflows have no dead ends.

Maintenance

ActivityActive
ResponsivenessSlow

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that provides real-time access to Chainlink's decentralized on-chain price feeds, optimized for seamless integration into AI agents and autonomous systems.
    5
    9 npm
    7
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Manage Uniswap and Aerodrome liquidity positions with leverage, automated rebalancing, and yield optimization on Base and Unichain.
    35
    155 npm
    5
    AGPL 3.0
  • A
    license
    A
    quality
    C
    maintenance
    Eight crypto and DeFi data tools for AI agents: prices, gas, one ParaSwap route quote, GoPlus token security and top-holder samples, DefiLlama yields, Hyperliquid/dYdX funding, and observed wallet balances. Inspect prices free; pay 0.001–0.008 USDC per call on Base through x402. No API key or subscription.
    8
    214 npm
    MIT