Skip to main content
Glama

Toll — coin, agent and pre-sign checks on Robinhood Chain

Check a hook

check_hook
Read-onlyIdempotent

One Uniswap v4 hook on Robinhood Chain, by its contract address: its name and where the name was read (the contract's own getter, Blockscout or Sourcify), whether it is a launchpad's shared hook, its 14 permission bits in plain words (runs on every trade, can take a fee or tax, can act when liquidity is removed...), whether its code can be changed by its owner (EIP-1967 proxy) or is a fixed clone, how many pools use it in Toll's chain data (said as "at least" while older pools are still being read), and whether a test sell through one of its most liquid pools reverted (sells fail). Hookr's root hook and its old launchpad's coins are read too. With a $TOLL holder's Toll key: also the measured buy and sell cut in % and its latest coins with how each ended (the launch record, scored 24 h after launch). Facts, never a verdict. Robinhood Chain only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "check_hook"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesThe hook contract's address on Robinhood Chain: 0x followed by 40 hex characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, open-world, non-destructive, so the bar is lower, yet the description goes well beyond them: data provenance (getter vs Blockscout vs Sourcify), the 'at least' caveat on pool counts while older pools are still being read, EIP-1967 proxy vs fixed clone detection, and a live test sell to detect reverting sells. The auth-gated Toll key tier and the framing 'Facts, never a verdict' are exactly the behavioral context annotations cannot convey.

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

Conciseness3/5

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

Key identifying information is front-loaded, which helps, but the description is one very long sentence with heavy parenthetical stacking ('runs on every trade, can take a fee or tax, can act when liquidity is removed...') that makes it hard to scan. Some clauses, such as the parenthetical 'sells fail' after the test-sell statement, restate what was just said.

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?

There is no output schema, so the description must describe return contents, and it does so thoroughly: name plus provenance, launchpad shared-hook status, 14 permission bits in plain words, upgradeability, pool count with caveat, sell failure, and the gated analytics tier. For a single-parameter read tool, an agent has everything needed to call it and interpret the result.

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 address parameter is already documented as 0x-prefixed 40 hex chars on Robinhood Chain. The description repeats the address-keyed lookup and chain restriction but adds no new format, validation, or edge-case semantics 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 names a specific resource and scope: 'One Uniswap v4 hook on Robinhood Chain, by its contract address.' The verb is implicitly a lookup keyed on an address, and the resource (hook) is cleanly separable from sibling resources like coins, agents, and tx, so an agent can route 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 Guidelines4/5

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

It states an explicit exclusion ('Robinhood Chain only') and a conditional usage tier ('With a $TOLL holder's Toll key: also the measured buy and sell cut...'), which tells the agent what extra data requires auth. It stops short of naming alternatives such as check_coin or pre_buy_check, so routing against siblings is left partly to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.