Skip to main content
Glama

runtime_evaluate_action

Check if a proposed action is allowed by the AgentVeil Runtime Gate before execution. Returns ALLOW, BLOCK, or WAITING_FOR_HUMAN_APPROVAL.

Instructions

Evaluate one proposed action with AVP Runtime Gate.

Returns the Runtime Gate decision payload from AVP. The decision is expected
to be one of ALLOW, WAITING_FOR_HUMAN_APPROVAL, or BLOCK. This tool only
evaluates the action; it does not execute anything and does not intercept
other MCP tool calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction name to evaluate. Examples: deploy.release, infra.volume.delete, payment.transfer
resourceYesTarget resource identifier. Examples: service:checkout, volume:vol-123, account:vendor-7
environmentYesExecution environment. Examples: development, staging, production
delegation_receiptYesDelegationReceipt JSON object string issued by the workflow owner/principal
amountNoOptional monetary amount for spend-sensitive actions. Omit when not applicable
currencyNoOptional ISO currency code for spend-sensitive actions. Example: USD

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the tool is read-only (evaluates, does not execute) and the expected decision values. It does not mention side effects, auth needs, or rate limits, but the overall behavior is transparent enough.

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?

Three sentences, front-loaded with the core purpose, and every sentence adds necessary context. No redundant 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?

Given there is an output schema (not shown but indicated), the description sufficiently covers the tool's purpose, scope, and decision outcomes. It could mention prerequisites like delegation receipt, but the required parameters already imply that.

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?

Input schema coverage is 100%, so baseline is 3. The description adds value by explaining the overall purpose and that the tool returns a decision payload, but it does not elaborate on individual parameters beyond the schema. Still, the schema descriptions are clear, so the combined effect is good.

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 evaluates one proposed action with AVP Runtime Gate and returns a decision (ALLOW, WAITING_FOR_HUMAN_APPROVAL, BLOCK). It distinguishes itself from executing actions, which separates it from sibling tools like execute_after_approval.

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 explicitly states the tool only evaluates, does not execute, and does not intercept other calls, giving clear context for when to use it. However, it lacks explicit when-not-to-use guidance or naming of alternative tools like approve_action or execute_after_approval.

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/agentveil-protocol/avp-sdk'

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