Skip to main content
Glama

shield_authorize_action

Pre-execution policy check for an action an agent is about to take: screens the action with Caelara Shield, applies your rules (allowed domains, per-action and daily limits, an approval threshold) and returns allow, deny or require_approval with a verifiable audit receipt; require_approval includes a one-tap approval link. Software policy verdict and audit receipt only: Caelara Labs does not execute, transmit or custody payments or funds. This updates your software policy and receipt. No payment custody is handled by Caelara Labs. (0.005 USDC per call)

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": {
      "agent_id": "<agent_id>",
      "action_type": "<action_type>"
    },
    "name": "shield_authorize_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
rulesNo{ max_per_tx_usd, daily_limit_usd, allowed_domains: [exact or *.suffix], require_approval_above_usd }
notifyNoSend approval requests to your linked channels (default true)
networkNoRail or chain the action would use: base, ethereum, solana, card, bank, other (max 32 characters)
payloadNoThe action content to screen (string or JSON, max 16 KB)
agent_idYesWho is acting: your identifier for the agent or bot (max 128 characters)
amount_usdNoValue of the action in USD
action_typeYesWhat it is trying to do: payment, transfer, purchase, api_call, email, deploy or your own label (max 64 characters)
destinationNoWhere it goes: URL, domain, address or account label (max 512 characters)
spent_today_usdNoYour own figure for today; otherwise an approximate running total of allowed amounts per key and agent is used

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses the three possible verdicts, that a verifiable audit receipt is returned, that require_approval carries a one-tap approval link, that notify defaults to true, and that per-call pricing is 0.005 USDC. It omits operational traits such as latency, idempotency of repeated checks, and what happens when the screening service is unavailable, so it is not a 5.

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

Conciseness3/5

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

The purpose is front-loaded in the first sentence, which is good structure, but the non-custody disclaimer is stated three separate times ('does not execute, transmit or custody payments or funds,' 'No payment custody is handled by Caelara Labs,' plus the 'software policy verdict only' framing). That repetition crowds out space that could have gone to failure behavior or sibling routing.

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 nine-parameter, nested-object tool with no annotations and no output schema, the description covers the essentials: what it returns, the approval-link path, the default for notify, and the commercial terms. The remaining gap is guidance on failure and retry behavior and on how this differs from shield_preflight, but nothing needed to invoke it correctly is missing.

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 description coverage is 100%, so the schema already documents all nine parameters, including the rules object, network, and the spent_today_usd fallback. The description adds a little framing by grouping 'allowed domains, per-action and daily limits, an approval threshold' as the rule surface, but it introduces no syntax or value semantics beyond what the schema states, making the baseline 3 correct.

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 first clause names a specific verb and target: 'Pre-execution policy check for an action an agent is about to take,' and it states the mechanism (Caelara Shield, your rules) and the verdict vocabulary (allow, deny, require_approval). It does not explicitly distinguish itself from the sibling shield_preflight, which sounds overlapping, so it stops short of a 5.

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

Usage Guidelines3/5

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

The phrase 'an action an agent is about to take' clearly implies the pre-execution moment, which is real context rather than nothing. But there is no explicit statement of when not to use it, and no named alternative among the siblings (e.g. shield_preflight or shield_scan_prompt) is pointed to, so selection between overlapping tools is left to inference.

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.