Skip to main content
Glama

Is this address safe to pay?

agentguard_check_address
Read-only

Check a NEAR account before paying it for scam registry, existence, contract status, allowlist, lookalike names, and prompt-injection tricks in payment text; returns allow/warn/block.

Instructions

Check a NEAR account before paying it: shared scam registry, whether it exists, whether it is a contract, whether it is on the vault's allowlist, and lookalike names (e.g. 'shopp.testnet' vs 'shop.testnet'). Pass the invoice / email / page text that asked for the payment as source_text to also scan it for prompt-injection tricks (hidden characters, 'ignore your instructions', 'don't tell the owner', fake system messages, hidden HTML, changed payment details). Returns allow / warn / block with reasons. Read-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": {
      "account": "<account>"
    },
    "name": "agentguard_check_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesNEAR account to check
source_textNoText that asked for this payment, exactly as received (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial context beyond them — the external data source consulted (shared scam registry), the specific checks performed, the enumerated injection patterns it hunts for (hidden characters, 'ignore your instructions', fake system messages, hidden HTML, changed payment details), and the verdict vocabulary it returns. 'Read-only' merely echoes the annotation rather than contradicting it.

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

Conciseness5/5

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

Purpose and checks are front-loaded, the optional source_text behavior follows, and the return vocabulary closes it out. The lookalike and injection examples are compact parentheticals rather than padding, and no sentence is redundant with the schema or annotations.

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?

With no output schema, the description carries the return-value burden and does so ('Returns allow / warn / block with reasons'). For a two-parameter read-only checker it covers inputs, data sources, verdicts, and the injection-scanning side effect completely.

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; the description still adds meaning by explaining *why* source_text exists (injection scanning) and what it detects, which the schema's one-line field description does not convey. The account parameter needs no elaboration given its name and schema description.

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?

States a specific verb and resource ('Check a NEAR account before paying it') and enumerates exactly what is checked: shared scam registry, existence, contract status, vault allowlist, and lookalike names. The lookalike example ('shopp.testnet' vs 'shop.testnet') makes the resource scope concrete, and the 'before paying' framing separates it from the payment sibling agentguard_pay.

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?

Usage context is explicit — run it on a payee account before sending funds, and pass the requesting text as source_text when a payment was solicited by invoice/email/page. It does not name or exclude sibling tools (e.g. agentguard_pay or agentguard_sentinel_check), so there is no explicit alternative routing, but the when-to-use condition itself is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.