Skip to main content
Glama

safety_guardrail

Pre-sign safety verdict: one call decodes a pending transaction and checks sanctioned counterparties, unlimited-approval/drainer patterns, contract-vs-EOA, and whether it would revert — returning SAFE / CAUTION / DANGER with reasons. Send { chain, to, data, from?, value? }. The must-have guard every signing agent needs. [x402 paid tool — price $0.05; POST /api/safety/guardrail]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes0x target address
dataNo0x calldata (default 0x)
fromNo0x sender (improves simulation)
chainNoChain, default base
valueNoNative value in wei

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description fully discloses behavior: it decodes, checks various risk patterns, and returns a verdict with reasons. It also mentions pricing. This is comprehensive for a read-only safety tool.

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?

Two sentences plus pricing note, all relevant. The purpose is stated first ('Pre-sign safety verdict'), followed by details. No wasted words.

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 5-param tool with no output schema, the description explains the output format (verdict with reasons) and covers major checks. It could mention the return structure more explicitly, but it's sufficient given the tool's simplicity.

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% with brief descriptions. The description adds value by listing the expected structure 'Send { chain, to, data, from?, value? }' and implying defaults (data defaults to 0x, chain defaults to base). This enhances understanding beyond the schema.

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?

The description clearly states the tool's purpose: 'Pre-sign safety verdict' that decodes a transaction and checks for sanctioned counterparties, drainer patterns, contract-vs-EOA, and revert risk, returning SAFE/CAUTION/DANGER. This distinguishes it from sibling tools like safety_approvals, safety_decode, and safety_simulate.

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?

The description implies usage before signing ('The must-have guard every signing agent needs') and notes it's a paid tool. However, it does not explicitly compare with alternatives or state when not to use it, leaving some ambiguity.

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.

TDQS

A3.5/5.0
Disambiguation4/5

Tools are organized by domain prefix (e.g., 'crypto_', 'rh_', 'snipe_'), which helps distinguish between areas. Within each domain, they serve distinct purposes, though some overlap between domains exists (e.g., price data appears in multiple groups). Overall, an agent can navigate effectively.

Naming Consistency5/5

All tool names follow a consistent snake_case pattern with a domain prefix and a verb_noun combination (e.g., 'compliance_risk', 'rh_stock', 'snipe_honeypot'). This makes the API predictable and easy to explore.

Tool Count2/5

With 159 tools, the server is extremely large. While the broad scope of web3 and utility functions justifies many tools, the count is significantly above the typical range for a coherent toolkit, potentially overwhelming agents and increasing selection error.

Completeness4/5

The toolkit covers a wide range of web3 operations: crypto, DeFi, compliance, safety, scheduling, memory, etc. There are no obvious major gaps for its intended purpose, though some niche areas might be missing.