Skip to main content
Glama

Collar Guardrail — Pre-Trade Risk Layer

Check Token Safety

check_token_safety
Read-onlyIdempotent

Honeypot / contract safety check for any ERC-20 token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contract_addressYesToken contract address (0x...).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoIf present, the check failed. Do not assume 'safe'.
detailNo
guidanceNo
severityNoOverall classification.danger
risk_factorsNoSpecific issues detected.
sell_simulation_okNoWhether a simulated sell succeeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / detail
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedOutput schema / properties / guidance
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedOutput schema / properties / severity / default
      Added value: +"danger"
    • removedOutput schema / required
      Removed value: -[
      -  "severity"
      -]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered by structured data. The description adds only that this is a honeypot/contract-risk evaluation, with no detail on latency, rate limits, what risk dimensions are checked, or whether results are cached. With annotations carrying the burden, a 3 reflects modest added context.

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

Conciseness4/5

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

A single front-loaded sentence with no filler; the core action leads and the scope qualifier follows. It is efficiently sized, though the slash construction 'Honeypot / contract safety check' is slightly ambiguous about whether these are two distinct checks or one combined verdict.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and with one fully-documented parameter the tool is callable as written. However, for a risk-assessment tool the description gives no sense of what the verdict covers (honeypot only, or taxes, ownership, liquidity too) or which chain's addresses are valid, leaving interpretation of results partly to the agent.

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 parameter (contract_address) is already documented as 'Token contract address (0x...)'. The description's 'any ERC-20 token' reinforces the expected input type but adds no format, chain, or validation detail beyond the schema, so the baseline of 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+resource pair: a safety/honeypot check scoped to ERC-20 token contracts, which is meaningfully more specific than the bare tool name. The sibling tools (evaluate_trade, simulate_balance, verify_audit_trail) are clearly different operations, so an agent can distinguish this without opening the schema, though the description never names them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as the paid sibling evaluate_trade_paid. The only usage signal is the phrase 'for any ERC-20 token', which implicitly excludes non-ERC-20 assets but does not tell the agent when this check should be run.

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.

Resources