Skip to main content
Glama

guard_action

Evaluate any proposed agent action before it spends, sends, or commits. Get an allow, review, or block decision with risk score and safer alternative to prevent irreversible mistakes.

Instructions

THE MONEY-LINE GATE. Decide whether a proposed agent ACTION should proceed — use this right before the agent SPENDS, SENDS, or commits something irreversible (a payment, an outbound message, a destructive command, a data share). PRICE: ~$0.02 per call (x402, USDC on Base mainnet); allow/review/block are priced identically — no block-to-bill rent-seeking.

Fail-closed: it will not 'allow' what it cannot justify as safe — uncertainty escalates to
review, real red flags block. Returns: decision (allow | review | block), an honest 0-1 risk,
concrete reasons, specific concerns, and a safer_alternative. This independent verdict is the
thing no free local check can give the agent at the moment money or irreversibility is on the line.

Pricing is DISCLOSED and paid per use via x402 — Verity holds no key and never charges silently.
Optional affiliate_id tags the call for a future referral program; it never changes price or behavior.
(Maps to OWASP ASI02 Tool Misuse / ASI08 Cascading Failures — produces an audit artifact.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
policyNo
contextNo
affiliate_idNo
Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: it is paid (~$0.02 per call, x402/USDC), fail-closed (uncertainty escalates to review, red flags block), returns a decision/risk/reasons/safer_alternative, and explicitly states pricing is disclosed and Verity holds no key. It also clarifies that affiliate_id never changes price or behavior. This goes well beyond basic operation and gives the agent a complete picture.

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?

The description is lengthy (~170 words) but well-structured with paragraphs: purpose, pricing, fail-closed behavior, return values, and affiliates. It front-loads the core purpose and adds essential behavioral details. Some phrasing is somewhat promotional ('THE MONEY-LINE GATE', 'honest 0-1 risk'), but it earns its length by covering key operational facts.

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 tool with no output schema, the description thoroughly explains the return structure (decision, risk, reasons, concerns, safer_alternative) and the fail-closed behavior. It also covers pricing and audit artifact. The main gap is parameter documentation for policy/context, but the tool's purpose and behavior are otherwise well-specified, making it usable for an agent in the intended high-stakes scenario.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must compensate. It explains affiliate_id (optional referral tag, no behavior change) and references 'action' implicitly, but provides no meaning for 'policy' or 'context' parameters. The agent is left to infer how to structure these fields, which is a significant gap for a 4-parameter tool.

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 decides whether a proposed agent action should proceed, specifically before irreversible actions like payments, messages, destructive commands, or data sharing. It distinguishes itself from siblings by framing itself as the 'money-line gate' for irreversible commitments, versus the verification/security tools in the sibling list.

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?

It explicitly says 'use this right before the agent SPENDS, SENDS, or commits something irreversible,' providing precise trigger conditions. It also contrasts itself with 'free local checks,' implying that for reversible or low-risk actions a local check may suffice, though it does not name specific sibling tools or provide explicit exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/meloliva14/verity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server