Skip to main content
Glama

Check before signing

check_tx
Read-only

Pre-sign check, before an agent signs anything on Robinhood Chain (chain id 4663): send the transaction (to, data, value, and from), a message to sign (message: {kind: personal_sign | eth_sign, data, origin?}), an EIP-712 signature request (typedData), an ERC-4337 user operation (userOp, with entryPoint), a type-4 authorizationList (alone or with the transaction), the wallet request as the agent would send it (rpc: {method, params} for personal_sign, eth_sign, eth_signTypedData_v4 or eth_sendTransaction), or an x402 payment (x402: the PaymentRequired from the 402, or one accepts entry; agentId optional), and Toll answers ALLOW / WARN / BLOCK with the reasons, as an ERC-8265 RiskAssessment. It reads approvals (unlimited, to a plain wallet, to a contract we do not know, to a wallet the coin's own check names), transfers (to a burn address, the token itself, a router, a flagged wallet, an unknown contract), swaps (the router, who it pays out to, and the coin bought, through Toll's coin check: BLOCK only for findings whose coins rugged at 40% or more in our calibration; a single-pool Uniswap v4 swap off the coin's main pool is quoted on the main pool, WARN when that pays more than 3% more), Uniswap v4 position manager calls (modifyLiquidities, its multicall, initializePool, permit: liquidity paid out or a position minted to anyone but from is a warning), Hookr's calls as its MCP builds them (HookrRouter swap, swapFor, swapGated; HookrLauncher launches, a launch's own withdrawal and fee collection, a pool core's claim, a revenue token's claim, the Agent gate link and reviewer set, the order book fill: each named as Hookr's contract, never trusted; an unknown hook, rules contract or add-on in a launch, or a payout to anyone but from, is a warning), standing power over a smart account (a Safe module, guard, fallback handler, owner or threshold change, a Zodiac Roles grant, an ERC-7579 module install: who can then move the account's funds without the owners signing), Bull's agreements and OTC escrow (bull.family: who gets paid, each condition that unlocks it in words, when it refunds, Bull's fee, a payee that can unlock it alone, the ETH sent against the terms, and the token locked or bought through Toll's coin check; named, never trusted), and x402 payments (ERC-8478 payee verification: payTo against the seller's ERC-8004 agent wallet or a payee delegation it signed, read live from the Robinhood Chain or Base identity registry, with the outcome in x-toll; the seller's last delivery spot-check, the asset and amount; an upto payment's signed maximum, which the seller may charge in full; an auth-capture payment's escrow, token collector and hold). The coin bought's name and symbol, and every text field of EIP-712 typed data (domain name and version, message strings), are scanned for instructions aimed at AI agents. Calldata it cannot read is never ALLOW: WARN, high when it sends ETH, and BLOCK at 0.05 ETH or more, or any ETH to an address with no code. It reads personal_sign and eth_sign messages (Sign-In with Ethereum included: domain against origin, expiry; eth_sign of a hash is BLOCK), any EIP-712 typed data (Permit, Permit2, EIP-3009, Seaport, UniswapX, and any other named field by field), ERC-4337 user operations (the account's calls, the EntryPoint, the paymaster), and multicall, Safe and smart-account batches leaf by leaf, each warning with its path. For a signature it says what it lets someone take: the amount signed, the owner's balance and what the spender could take now, simulated at the current block (in USD where Toll has a price). An EIP-7702 delegation (a type-4 authorizationList or a signAuthorization alone) to a delegate Toll has verified by code hash is WARN; any other is BLOCK, each delegate and chain named. A coin still being read is WARN with the seconds to wait. It simulates the transaction at the current block (balance changes, approvals, revert) and can compare it with an optional intent ({action: swap|transfer|approve|pay, sellToken, sellAmount in base units, buyToken, minBuy, to, spender, maxAmount, tolerancePct}), or the same in plain words (intentText, read by Toll's AI; what it understood is in the answer). A call it cannot decode to a contract with verified source also gets a low line from Toll's AI on what the function does, read from that source (not a verdict; it never lowers the action). A failed simulation is reported as not read, never ALLOW; a transaction without from cannot be simulated and is WARN. Add ticket: true to get a signed single-use ALLOW ticket (60 s, never for a BLOCK) that a contract can require before it runs this exact call. Robinhood Chain only. Facts, not advice.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe transaction's to: the contract or wallet it is sent to (0x + 40 hex)
rpcNoThe wallet request as the agent would send it: {method, params}. personal_sign [data, address], eth_sign [address, data], eth_signTypedData_v4 [address, typed data JSON], eth_sendTransaction [tx]
dataNoThe calldata, hex (0x for a plain send)
fromNoThe signer's address (0x + 40 hex): a swap paying out to anyone else is flagged
langNoOptional: "ar" for the plain-words line in Arabic (the action word kept in English, e.g. [BLOCK]); default English
x402NoAn x402 payment: the PaymentRequired the 402 sent (with accepts), or one accepts entry; optional payment (the signed payload) and resource (the URL)
valueNoWei sent with it, decimal or 0x hex (default 0)
intentNoOptional: what the agent means to do, compared with what the transaction does in the simulation. {action: "swap" | "transfer" | "approve" | "pay", sellToken?, sellAmount? (base units, decimal string), buyToken?, minBuy? (base units), to? (who should receive), spender? (who may spend), maxAmount? (approval cap, base units), tolerancePct? (extra outflow allowed on sellAmount, default 1)}. A token is an address or ETH, WETH or USDG. A mismatch is a warning; the findings are in x-toll.intent
originNoThe site or app asking for the signature (https://...), checked against a Sign-In with Ethereum domain
strictNoStrict payee policy: an x402 payment whose payTo is not verified as the seller's (ERC-8478 verified-wallet or verified-delegation) is BLOCK instead of a warning; not read is BLOCK too
ticketNoOptional: ask for a single-use ALLOW ticket a contract can require: true, or {consumer? (the contract that checks it), scope? "call" | "v4swap", swap? {poolId, zeroForOne, amountSpecified, sqrtPriceLimitX96}}. Returned in x-toll.ticket {ticket, signature, signer}, or {why} when none
userOpNoAn ERC-4337 user operation (v0.6, v0.7 packed or unpacked, v0.8): sender, nonce, callData, gas fields, paymaster, signature. Its calls are opened and each checked
agentIdNoThe x402 seller's ERC-8004 agent id, when known
chainIdNoThe chain id: 4663 (Robinhood Chain), the only one read; leave it out for 4663
messageNoA message to sign: {kind: "personal_sign" | "eth_sign", data (0x hex or text), origin? (the site asking), from?}. Sign-In with Ethereum is read (domain against origin, expiry); eth_sign of a hash is BLOCK
summaryNoOptional: a 1-2 sentence plain-words line (AI, rewritten from the action and warnings, opening with the action word; dropped if it names a number not in them). Default: added when ready within about 1 s; true waits up to 2.5 s; false leaves it out
registryNoThe identity registry agentId is in, CAIP-10 (default eip155:4663:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432, Robinhood Chain; Base: eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432)
typedDataNoAn EIP-712 signature request: {domain, types, primaryType, message}. Permit, Permit2, EIP-3009, Seaport, UniswapX, or any other (named field by field)
entryPointNoThe userOp's EntryPoint address (0x + 40 hex); an EntryPoint Toll does not know is a warning
intentTextNoOptional, instead of intent: what the agent means to do in plain words, at most 300 characters (e.g. "swap 10 USDG for HOOD, send to my wallet"). Toll's AI reads it into an intent (tokens only ETH, WETH, USDG, an official Stock Token or a coin this transaction names; an address only when the text holds it), shown in x-toll.intent.understood, then compared like intent. Not read in time = a low warning intent-text-not-read
authorizationListNoA type-4 (EIP-7702) transaction's authorizationList, or a signAuthorization alone (no to, no data): [{chainId, address, nonce, yParity, r, s}]. A delegate Toll has verified by code hash is WARN; any other is BLOCK
authorization_listNoThe same list under its snake_case name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / intentText
      Added value: +{
      +  "description": "Optional, instead of intent: what the agent means to do in plain words, at most 300 characters (e.g. \"swap 10 USDG for HOOD, send to my wallet\"). Toll's AI reads it into an intent (tokens only ETH, WETH, USDG, an official Stock Token or a coin this transaction names; an address only when the text holds it), shown in x-toll.intent.understood, then compared like intent. Not read in time = a low warning intent-text-not-read",
      +  "maxLength": 300,
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / lang
      Added value: +{
      +  "description": "Optional: \"ar\" for the plain-words line in Arabic (the action word kept in English, e.g. [BLOCK]); default English",
      +  "enum": [
      +    "en",
      +    "ar"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / summary
      Added value: +{
      +  "description": "Optional: a 1-2 sentence plain-words line (AI, rewritten from the action and warnings, opening with the action word; dropped if it names a number not in them). Default: added when ready within about 1 s; true waits up to 2.5 s; false leaves it out",
      +  "type": "boolean"
      +}
  3. Changed9 schema fields changed
    • removedInput schema / properties / agentId / $ref
      Removed value: -"#/properties/chainId"
    • addedInput schema / properties / agentId / maxLength
      Added value: +80
    • addedInput schema / properties / agentId / type
      Added value: +"string"
    • removedInput schema / properties / chainId / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "maxLength": 80,
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / chainId / maxLength
      Added value: +80
    • addedInput schema / properties / chainId / type
      Added value: +"string"
    • removedInput schema / properties / value / $ref
      Removed value: -"#/properties/chainId"
    • addedInput schema / properties / value / maxLength
      Added value: +80
    • addedInput schema / properties / value / type
      Added value: +"string"
  4. Changed1 schema field changed
    • addedInput schema / properties / ticket
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "additionalProperties": {},
      +      "type": "object"
      +    }
      +  ],
      +  "description": "Optional: ask for a single-use ALLOW ticket a contract can require: true, or {consumer? (the contract that checks it), scope? \"call\" | \"v4swap\", swap? {poolId, zeroForOne, amountSpecified, sqrtPriceLimitX96}}. Returned in x-toll.ticket {ticket, signature, signer}, or {why} when none"
      +}
  5. Changed7 schema fields changed
    • changedInput schema / properties / authorizationList / description
      Previous value: -"A type-4 (EIP-7702) transaction's authorizationList: [{chainId, address, nonce, yParity, r, s}]. Any delegation is BLOCK"New value: +"A type-4 (EIP-7702) transaction's authorizationList, or a signAuthorization alone (no to, no data): [{chainId, address, nonce, yParity, r, s}]. A delegate Toll has verified by code hash is WARN; any other is BLOCK"
    • addedInput schema / properties / entryPoint
      Added value: +{
      +  "description": "The userOp's EntryPoint address (0x + 40 hex); an EntryPoint Toll does not know is a warning",
      +  "maxLength": 42,
      +  "type": "string"
      +}
    • addedInput schema / properties / message
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "A message to sign: {kind: \"personal_sign\" | \"eth_sign\", data (0x hex or text), origin? (the site asking), from?}. Sign-In with Ethereum is read (domain against origin, expiry); eth_sign of a hash is BLOCK",
      +  "type": "object"
      +}
    • addedInput schema / properties / origin
      Added value: +{
      +  "description": "The site or app asking for the signature (https://...), checked against a Sign-In with Ethereum domain",
      +  "maxLength": 2048,
      +  "type": "string"
      +}
    • addedInput schema / properties / rpc
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "The wallet request as the agent would send it: {method, params}. personal_sign [data, address], eth_sign [address, data], eth_signTypedData_v4 [address, typed data JSON], eth_sendTransaction [tx]",
      +  "type": "object"
      +}
    • changedInput schema / properties / typedData / description
      Previous value: -"An EIP-712 signature request: {domain, types, primaryType, message}"New value: +"An EIP-712 signature request: {domain, types, primaryType, message}. Permit, Permit2, EIP-3009, Seaport, UniswapX, or any other (named field by field)"
    • addedInput schema / properties / userOp
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "An ERC-4337 user operation (v0.6, v0.7 packed or unpacked, v0.8): sender, nonce, callData, gas fields, paymaster, signature. Its calls are opened and each checked",
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Optional: what the agent means to do, compared with what the transaction does in the simulation. {action: \"swap\" | \"transfer\" | \"approve\" | \"pay\", sellToken?, sellAmount? (base units, decimal string), buyToken?, minBuy? (base units), to? (who should receive), spender? (who may spend), maxAmount? (approval cap, base units), tolerancePct? (extra outflow allowed on sellAmount, default 1)}. A token is an address or ETH, WETH or USDG. A mismatch is a warning; the findings are in x-toll.intent",
      +  "type": "object"
      +}
  7. Changed2 schema fields changed
    • addedInput schema / properties / authorizationList
      Added value: +{
      +  "description": "A type-4 (EIP-7702) transaction's authorizationList: [{chainId, address, nonce, yParity, r, s}]. Any delegation is BLOCK",
      +  "items": {},
      +  "maxItems": 64,
      +  "type": "array"
      +}
    • addedInput schema / properties / authorization_list
      Added value: +{
      +  "description": "The same list under its snake_case name",
      +  "items": {},
      +  "maxItems": 64,
      +  "type": "array"
      +}
  8. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/destructive=false, and the description adds far more: undecodable calldata is never ALLOW (WARN, BLOCK at 0.05 ETH or any ETH to a codeless address), failed simulation is reported as not read, a transaction without 'from' is WARN, a coin still being read is WARN with seconds to wait, tickets are 60 s single-use and never issued for BLOCK. These are exactly the behavioral thresholds an agent needs and none are derivable from 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.

Conciseness2/5

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

The description is a single sprawling multi-clause sentence of several hundred words, dense with em-dashes and semicolons, that is difficult to parse and impossible to scan. Only the first clause is properly front-loaded; the rest is an undifferentiated run-on that repeats schema content instead of prioritizing the decision-relevant rules.

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 tool with 22 parameters, deep nested objects and no output schema, the description is unusually complete: it names the response shape (x-toll with reasons, intent, ticket), the ticket object fields, and the verdict semantics. An agent has enough to call it correctly and to understand what comes back.

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 22 parameters are already documented in detail, so the schema does the heavy lifting. The description reinforces how modes combine (an authorizationList alone or with a transaction, rpc as a raw wallet request, intent vs intentText), but adds little meaning beyond what the parameter descriptions already state.

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 opening clause states a specific verb and scope: 'Pre-sign check, before an agent signs anything on Robinhood Chain (chain id 4663)', and the verdict vocabulary (ALLOW / WARN / BLOCK as an ERC-8265 RiskAssessment) is named. However, it never distinguishes itself from the similarly-named sibling presign_risk_report, and the core purpose is buried under an exhaustive enumeration of input forms.

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 timing trigger ('before an agent signs anything') and a hard scope exclusion ('Robinhood Chain only') are stated, which is real guidance. But no alternative tool is named and no explicit when-not condition is given, so an agent must infer whether check_coin, presign_risk_report or account_permissions should be used instead for overlapping cases.

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.