Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BLURHOOK_POLICYNoSupplies inline policy JSON.
BLURHOOK_RPC_URLSNoChooses read RPCs.
BLURHOOK_POOLS_FILENoAdds pool definitions.
BLURHOOK_LEDGER_FILENoPersists daily usage across restarts. Without this, the default in-memory ledger resets when the process restarts.
BLURHOOK_POLICY_FILENoSelects a policy JSON file.
BLURHOOK_DISCOVER_BLOCKSNoEnables a bounded startup discovery scan. Default discovery is off.off

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Best-price trading on Robinhood Chain (chain id 4663) across Uniswap v3, v4 and hooked v4 pools. Call quote to compare routes, build_swap for policy-checked Universal Router calldata that the agent's own wallet signs, and spending_policy to see the limits. This server never holds keys and never sends transactions.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
opalhook_deploymentA

Read OpalHook contract addresses and privacy scope on Robinhood Chain. This tool does not construct private proofs or authorize deposits.

blurhook_deploymentA

Read OpalHook contract addresses and privacy scope on Robinhood Chain. This tool does not construct private proofs or authorize deposits.

quoteA

Best route for a swap on Robinhood Chain across Uniswap v3 (4 fee tiers), v4 and hooked v4 pools, including splits and two-hop routes via USDG or ETH. Returns amounts, minimum received, price impact, pinned-code and hook checks, warnings, and a preview of the spending-policy verdict. Never returns calldata.

build_swapA

Quote, enforce the spending policy (allowlist, per-trade cap, daily cap, max slippage, max price impact, pinned contracts and hooks), simulate from the agent wallet, and return Universal Router calldata for that wallet to sign. ERC-20 input without Permit2 allowances returns the approval calldata first. Refusals list every rule that failed. The trade's USD size counts toward the daily cap once calldata is returned.

simulateA

Run a transaction with eth_call from a wallet and estimate its gas, without sending it. Returns ok, gasEstimate and the revert reason when it fails. fundEth gives the wallet enough ETH through a state override for a dry run.

list_hook_poolsA

Hooks in the server's pool list ranked by swaps, with pool counts, tokens and recorded codehash pins. Pass a hook to list its pools, or a token to filter.

hook_passportA

What a Uniswap v4 hook can do, read from public on-chain data: permission flags from its address, proxy and owner, Sourcify verification, admin-style functions in its bytecode, pools in the list, and a rule-based risk score with every rule that fired.

token_priceA

USD price per whole token from live Uniswap v3/v4 quotes, directly against USDG or via ETH (USDG counts as 1 USD). Up to 30 tokens.

stock_tokensA

Robinhood Stock Tokens on Robinhood Chain, listed only when the contract's runtime code exactly matches the official Stock Token proxy (copycats with the same symbol are never listed), with whether the spending policy allows trading each.

spending_policyA

The spending policy this server enforces before returning calldata, the USD spent in the rolling 24 h window and what is left of the daily cap.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 10 tools

Disambiguation2/5

opalhook_deployment and blurhook_deployment have byte-for-byte identical descriptions, so an agent cannot tell which to call or whether they differ. The remaining tools (quote, build_swap, simulate, spending_policy, token_price, stock_tokens, hook_passport, list_hook_pools) are clearly distinct, and quote/build_swap are explicitly demarcated (one never returns calldata).

Naming Consistency3/5

All names are snake_case, but the convention splits: read-only tools are bare nouns (quote, simulate, stock_tokens, hook_passport) while the mutating one is verb_noun (build_swap), and two tools are prefixed with near-duplicate product names (opalhook_/blurhook_). It reads fine but is not a predictable verb_noun pattern.

Tool Count4/5

10 tools is well within the healthy range and each covers a real step of the swap/hook workflow. The lone redundancy is the duplicated deployment tool, which is a content problem rather than a count problem.

Completeness4/5

The surface covers the full flow: price discovery (quote, token_price), policy check, calldata construction with allowance handling (build_swap), dry-run (simulate), and context (deployment, hook_passport, list_hook_pools, stock_tokens). Minor gaps remain — no direct balance/allowance query, no transaction submission or status tracking — but agents can work around these via simulate and wallet-side signing.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues