Skip to main content
Glama

DYOE Policy Authorization ($0.02)

dyoe_approve

Approve or deny an AI agent action against a human-set policy, returning a signed decision receipt and escalating any request over the policy line to a human.

Instructions

Approve or deny an agent action instantly against a human-set policy — no waiting. Returns a signed decision receipt; anything over the policy line escalates to a human. Input: ?action=&counterparty=&amount= (counterparty required) Price: $0.02 USDC on Base per call, paid via x402.

Input Schema

NameRequiredDescriptionDefault
actionNoWhat the agent wants to do (e.g. pay invoice)
amountNoAmount in USD (e.g. 500)
counterpartyYesDomain or wallet on the other side (required) (e.g. stripe.com)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), the description discloses the return artifact (a signed decision receipt), the escalation rule for over-policy actions, and the cost/payment mechanism ($0.02 USDC on Base via x402). It does not state exactly what state is written or whether the decision is auditable, so it stops short of full disclosure.

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?

Three compact sentences, front-loaded with the core action and its escalation behavior, followed by the input hint and price. The query-string-style input listing is mildly redundant with the schema but costs little space.

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?

With no output schema, the description correctly compensates by stating the return value (signed decision receipt). It also covers pricing and escalation, which an agent calling a paid, open-world authorization service needs. Missing only details on side effects/permissions, which are minor given the annotations.

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 action, amount, and counterparty, including the required flag. The description's 'Input: ?action=&counterparty=&amount= (counterparty required)' merely restates the schema and adds no syntax, format, or constraint detail beyond it.

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 names a specific verb pair (approve or deny), the resource (an agent action), and the governing context (a human-set policy), plus the escalation outcome. It is clearly distinguished functionally from generic siblings like dyoe_verify or dyoe_review, though it never names an alternative tool explicitly.

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?

Usage is implied: you call this when an agent action needs instant authorization against a policy, and anything over the policy line escalates rather than being handled here. There is no explicit when-not guidance or named alternative, so the agent must infer the boundary.

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