Skip to main content
Glama

Gate before a buy

pre_buy_check
Read-onlyIdempotent

For the moment before a buy ("should I buy this?", "should I ape this?"): Toll answers with facts, not advice. One call before buying a coin on Robinhood Chain: Toll reads the coin (its full coin check, counted in the same free coins) and answers Decision: BLOCK / WARN / ALLOW / WAIT with up to 3 reasons, most severe first, on Toll's calibrated pre-sign rules (BLOCK = a finding whose coins rugged at 40% or more within 24 h in Toll's calibration, a coin from one unnamed launcher contract with 50 or more of its last 7 days' coins scored and 80% or more of them rugged within 24 h (named launchpads never BLOCK on this), the coin's pool liquidity already pulled once, or sells that fail). WAIT means part of the coin is still being read: call again after the seconds given. Facts, not advice; ALLOW means nothing against was found in what was read, never a promise. 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": "pre_buy_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesThe token contract address you are about to buy on Robinhood Chain: 0x followed by 40 hex characters
budget_msNoOptional: your time budget in ms (a trading bot's timeout, 300-25000). Not read in time = WAIT with the seconds to ask again; the read goes on, so the next call is fast.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / budget_ms
      Added value: +{
      +  "description": "Optional: your time budget in ms (a trading bot's timeout, 300-25000). Not read in time = WAIT with the seconds to ask again; the read goes on, so the next call is fast.",
      +  "maximum": 25000,
      +  "minimum": 300,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, but the description adds real behavioral context beyond them: WAIT semantics with the continuing read that makes the next call fast, the warning that ALLOW is not a promise, and the calibrated rule basis for BLOCK. The BLOCK criteria are spelled out at a level of internal detail that arguably belongs in documentation, but they do disclose how the verdict is derived.

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?

Front-loaded with the use case and decision vocabulary, which is good, but the BLOCK explanation is one sprawling sentence with four nested parentheticals that is hard to parse at a glance. Every clause is informative, yet the packaging makes it slower to read than it needs to be.

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?

Covers timing, the four verdicts, WAIT follow-up, chain restriction ('Robinhood Chain only'), and the limits of ALLOW, and since no output schema exists the description properly explains return values. WARN is the one verdict left undefined, which is a notable gap given how precisely BLOCK, WAIT and ALLOW are characterized.

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 both parameters have descriptions, so the schema already carries address format and budget_ms timeout behavior. The description reinforces the WAIT/timeout interplay but adds no syntax or constraint beyond what the schema states, so the baseline 3 applies.

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?

States a specific verb and resource: read a Robinhood Chain coin and return a BLOCK/WARN/ALLOW/WAIT decision with up to 3 reasons. It implicitly differentiates from check_coin by describing itself as 'its full coin check, counted in the same free coins' plus a decision gate, but it never names that sibling, so the boundary is inferred rather than stated.

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?

Explicit timing guidance: 'the moment before a buy', 'One call before buying a coin on Robinhood Chain', and a clear re-call rule for WAIT ('call again after the seconds given'). It lacks an explicit when-not/exclusion (e.g. use check_coin for research on coins you are not buying), which is the only reason it isn't a 5.

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.