Skip to main content
Glama

optimism_safe_to_send

Use when: is it safe to send to this Optimism address? Checks this Optimism recipient before a transfer: lookalike poisoning against the sender's recent counterparties when from is set, dust-only spam history, free GoPlus scam/drainer flags where that API covers the chain, whether a contract is the token itself or shows no code path for it, and a fresh empty address. Verdict safe, caution or danger. Heuristics, not proof. Costs $0.005.

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": {
      "to": "<to>"
    },
    "name": "optimism_safe_to_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromNo
tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it enumerates the checks performed, discloses conditional behavior ('lookalike poisoning ... when from is set'), states the three verdict levels, warns the result is heuristic rather than proof, and discloses the $0.005 cost. It omits any statement about return shape details, rate limits, or failure modes.

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?

Front-loaded with 'Use when:' and the core question, then a compact list of checks and a verdict/cost line. The middle sentence is long and dense with comma-separated clauses, but nearly every clause carries information an agent needs.

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?

For a 3-param, no-annotation, no-output-schema tool, the description covers purpose, checks, conditional parameter behavior, verdict taxonomy, reliability caveat, and cost. The main residual gap is explicit return-content detail and rate-limit or auth expectations, which are minor here.

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 0%, so the description must compensate, and it does: 'to' is the recipient being judged, 'from' is the sender whose recent counterparties drive the lookalike check (explicitly conditional on being set), and 'token' relates to the contract/code-path check. It adds real conditional meaning beyond the bare address-pattern schema, though it never maps param names to these roles explicitly.

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?

Specific verb and resource: 'is it safe to send to this Optimism address?' plus 'Checks this Optimism recipient before a transfer.' It clearly distinguishes itself from sibling tools like optimism_address_inspect and optimism_contract_risk by being a pre-transfer verdict for a recipient.

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?

'Use when: is it safe to send to this Optimism address?' and 'before a transfer' give clear triggering context, and 'Heuristics, not proof' sets expectations on reliability. It stops short of naming alternatives (e.g., address_inspect) or stating when not to use it.

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