Skip to main content

MCP tools

The seven tools hoodpocket exposes to the agent. There is intentionally no tool that returns the private key and no tool that sends funds to an external address.

search_tokens

Search tokens by name or symbol via the chain explorer.

ParamTypeDescription
querystringName or symbol, e.g. CASHCAT, AAPL

Returns up to 15 candidates with address, holders, and price feed status. Names are fakeable; always follow up with get_token_info before trading.

get_token_info

Classify a token address into a trust tier.

ParamTypeDescription
addressstringToken contract address

Returns symbol, name, decimals, tier with reasons, holders, price, live pools per quote currency, and the policy that applies to the tier.

quote

Executable price for a swap (exact input, best live pool).

ParamTypeDescription
token_instringETH, USDG, or a token address
token_outstringETH, USDG, or a token address
amount_instringHuman-readable amount, e.g. 0.05

One side must be ETH or USDG. Returns expected output, USD value, and the pool used.

swap

Execute a swap through the Uniswap v4 Universal Router. Guardrails run first; a blocked trade costs nothing.

ParamTypeDescription
token_instringETH, USDG, or a token address
token_outstringETH, USDG, or a token address
amount_instringHuman-readable amount to sell
slippage_bpsnumber, optionalMax slippage vs quote, default 100 (1%)

Returns amounts sold and received (gas-corrected for native ETH), USD value, tier, and an explorer link.

get_portfolio

Balances: ETH with live USD value, USDG, and previously traded tokens. If the wallet is unfunded it says so and includes the funding address.

No parameters.

get_limits

Current policy: per-tier rules, the rolling 24h budget, and how much of it is used.

No parameters.

get_trade_history

Recent trades, newest first, with USD values, tiers, and explorer links.

ParamTypeDescription
limitnumber, optionalMax entries, default 20