Skip to main content
Glama

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

Pre-sign risk report

presign_risk_report
Read-only

Agent Pre-Sign Risk Report (ERC draft, ethereum/ERCs PR #2134): send a PresignRequest {version: "erc-presign/1", subject: {type: "calls", chainId: "eip155:4663", from: "eip155:4663:0x...", calls: [{to, value, data}], typedData?, authorizationList?}, context?: {payment?, texts?, tokens?}} and get a PresignReport: typed facts about the unsigned request on Robinhood Chain, each read or not read at one pinned block (approval amount, unlimited, share of supply, expiry, current allowance; address code; issuer listing of stock tokens; ERC-8470 launch observations; ERC-8478 payee binding; control characters, mixed scripts, addresses and injection classes (from our published pattern set) in text), bound to the request by digest and EIP-712 signed by Toll (ERC-8004 agent #20030). No verdict: apply your own policy, and treat not read as unknown, never as clean. Toll's ALLOW / WARN / BLOCK pre-sign answer carries this same report.

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": {
      "version": "<version>",
      "subject": "<subject>"
    },
    "name": "presign_risk_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNoOptional: only these finding kinds
contextNoOptional: {payment: {requirements (the x402 accepts entry chosen), resource?, payee?: {registry, agentId}}, texts: [{field, ref?, text}], tokens: [CAIP-10]}
subjectYes{type: "calls", chainId: "eip155:4663", from: "eip155:4663:0x<signer>", calls: [{to, value (wei, decimal string), data}], typedData?, authorizationList? (EIP-7702: bound into the subject digest, listed as a coverage gap, not applied)}
versionYesAlways "erc-presign/1"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / subject / description
      Previous value: -"{type: \"calls\", chainId: \"eip155:4663\", from: \"eip155:4663:0x<signer>\", calls: [{to, value (wei, decimal string), data}], typedData?}"New value: +"{type: \"calls\", chainId: \"eip155:4663\", from: \"eip155:4663:0x<signer>\", calls: [{to, value (wei, decimal string), data}], typedData?, authorizationList? (EIP-7702: bound into the subject digest, listed as a coverage gap, not applied)}"
  2. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, the description discloses that every fact is read at one pinned block, that the report is bound to the request by digest and EIP-712 signed by a named agent, and that authorizationList is bound into the digest but listed as a coverage gap rather than applied. It also explicitly warns that absence of a finding means 'not read', not 'clean' — the single most important behavioral caveat for correct downstream use.

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?

Purpose is front-loaded, but the body is one sprawling sentence laced with nested parentheticals and dense enumerations of finding kinds, which slows parsing. Nearly all content is substantive, yet it could be restructured into discrete clauses (input, output, caveats) without losing 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?

With no output schema, the description carries the burden of describing the return value, and it does so by enumerating the typed facts returned (approval amount, unlimited, share of supply, expiry, allowance, address code, issuer listing, launch observations, payee binding, text findings) plus their digest/signature binding. Gaps remain around error behavior, response size, and latency, but for a read-only report tool it is substantially complete.

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 mapping inputs to outputs: context.texts drives the injection/control-character/mixed-script findings, context.tokens drives the issuer listing of stock tokens, and context.payment ties to ERC-8478 payee binding. It also clarifies the subject-level fields (from as CAIP-10 signer, calls, typedData) as a single digest-bound unit, which the schema alone does not convey.

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 names a concrete verb+resource pair: send a PresignRequest and receive a PresignReport, with the exact request envelope and report contents spelled out. It is highly specific, but it never contrasts itself with likely-adjacent siblings such as pre_buy_check or check_tx, so an agent must infer the boundary from the request shape alone.

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?

It gives interpretive guidance ('No verdict: apply your own policy', 'treat not read as unknown, never as clean') and notes that Toll's ALLOW/WARN/BLOCK answer carries the same report, which implies when this tool is the right call. It stops short of stating when to prefer this over pre_buy_check or check_tx, or what prerequisites (e.g. a known signer address, pinned chain) must hold before calling.

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.