Skip to main content
Glama

check_action_paid

Same formal verification as check_action, but pay per call with x402 ($0.10 USDC on Base) instead of using credits. No API key or account needed — any agent with a wallet can verify actions on the fly. Returns SAT (allowed) or UNSAT (blocked) with extracted values and optional ZK proof.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesThe agent action to verify against the policy (max 2000 chars)
policy_idYesPolicy ID from make_rules

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations provided, so the description carries the burden. It discloses the payment amount and method, the absence of account requirements, and the return format including optional ZK proof. It doesn't disclose potential failures or side effects, but verification implies non-mutating.

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?

The description is two sentences with high information density, front-loading the relationship to check_action and covering cost, authentication, and output.

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?

For a simple 2-parameter verification tool without output schema, the description fully covers the key aspects: payment, return type, and optional proof. The reference to check_action provides additional context.

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?

Input schema has 100% coverage with descriptive parameter texts, so the description doesn't need to add much. It also doesn't add parameter-specific details 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 function: formal verification of actions, similar to check_action, with the key differentiator of x402 payment. It specifies the output (SAT/UNSAT) and distinguishes it from siblings by payment method.

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 compares to check_action, indicating this is for paying per call with x402 instead of credits, and notes no API key or account needed. It implies usage when the agent has a wallet and wants on-the-fly verification, but doesn't provide explicit when-not-to-use scenarios.

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