Skip to main content
Glama

Action Safety - complete workflow

action_safety_run
Idempotent

Complete AI agent action safety workflow ($0.25 over x402 or free-tier quota): DestructGuard evidence, conditional ReviewQueue triage for high or critical risk, an honest decision, signed receipt, and 30-day status record. Triage does not imply human approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory or execution context
repoNoRepository or project context
actorNoAgent or tool requesting the action
payerNoOptional wallet/account identifier; stored only as a hash
apiKeyNoFree-tier / plan API key (hp_free_… or a pass key). Forwarded as X-API-Key so paid tools serve from your monthly quota with NO x402 wallet. Get a free key (250 calls/mo) at https://hermesplant.com/pricing.
branchNoBranch or environment context
intentNoWhy the action is being requested
channelNoDiscovery channel or source tag
commandYesShell, SQL, Git, deploy, or infrastructure action to preflight
campaignNoCampaign tag for downstream telemetry
diffStatNoOptional git diff --stat or change summary
xPaymentNoRaw X-PAYMENT proof from an x402-compatible wallet/client
actorTypeNoCaller type for analytics: agent, human, synthetic, system, or unknown
syntheticNoMark this paid retry as an internal test/probe for analytics exclusion
paymentSignatureNox402 payment proof to forward as PAYMENT-SIGNATURE and X-PAYMENT on retry
paymentIdentifierNoOptional x402 payment identifier for idempotency/retry correlation

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the upstream storefront call returned a 2xx response
httpStatusYesUpstream HTTP status code
paymentRequiredNoTrue when the response is an x402 HTTP 402 payment challenge

TDQS

A3.5/5.0
Behavior4/5

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

The description goes beyond annotations by specifying side effects: a signed receipt and 30-day status record, and the caveat that triage does not imply human approval. It also discloses conditional ReviewQueue involvement, which is helpful. However, it does not clarify whether the command itself is executed or only preflighted.

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 a single, dense sentence that front-loads the purpose and packs in pricing, workflow components, and a caveat. Every phrase adds value; no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the description gives a high-level workflow overview, it leaves out critical specifics: whether the action is executed after a safe decision, and what 'honest decision' entails. The existence of an output schema covers return values, but the description should clarify the preflight nature and relationship to simpler gate tools.

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?

Schema coverage is 100% with detailed parameter descriptions, so the baseline is 3. Tool description adds no parameter-specific meaning beyond mentioning the payment/quota context. It does not explain how parameters like actorType or paymentSignature affect workflow behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly outlines a complete workflow with DestructGuard evidence, conditional ReviewQueue triage, an honest decision, signed receipt, and 30-day status record. It distinguishes itself from siblings like action_safety_quick_gate by the 'complete' scope, though it lacks an explicit verb like 'runs'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance is given about when to use this tool versus alternatives such as action_safety_quick_gate or submit_reviewqueue_request. The description mentions conditional triage but does not state when the quick gate should be used instead. This leaves the agent to infer usage from the 'complete' label.

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.9/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose. Financial tools (bond, cashflow, deal, options, portfolio, wallet, waterfall) each target a specific analysis type, email tools are batch vs single, and e-commerce tools are separate. No two tools could be easily confused.

Naming Consistency4/5

Most tools follow a noun_verb pattern (e.g., bond_analyze, emailguard_validate), but there is some inconsistency: some use verb_noun (get_product, list_products) and brand names like cashflowlens_analyze break the pattern slightly. Overall, it is still readable and mostly predictable.

Tool Count4/5

With 19 tools spanning finance, email, security, and e-commerce, the count is slightly high but reasonable for a pay-per-use server offering diverse deterministic analytics. Each tool serves a distinct function, and the number is not overwhelming.

Completeness4/5

The set covers major financial analysis types, email validation, and basic e-commerce operations. Minor gaps (e.g., no tool for portfolio rebalancing or more advanced email features) exist, but the core advertised services are well-covered.

Resources