Skip to main content
Glama
qinpei-dev
by qinpei-dev

approve_action

Approve a pending action and resume its execution by providing the run ID and action ID, allowing AI agents to continue workflows after caller review.

Instructions

Approve and resume one action currently waiting for caller review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYes
action_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It implies a state mutation (approve and resume), but says nothing about required permissions, whether approval is reversible, what happens to the run after resumption, or failure behavior for an invalid/stale action id.

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?

A single front-loaded sentence with no filler; the operation and its targeting condition come first. It is efficient, though its brevity is partly a symptom of under-specification rather than disciplined editing.

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

Completeness2/5

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

For a mutation tool with no annotations, no output schema, and two undocumented required parameters, the definition is too thin. An agent cannot determine permissions, preconditions beyond 'waiting for review', or the result of a successful approval.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Both parameters are required with 0% schema description coverage, and the description explains neither run_id nor action_id. An agent must guess that action_id identifies the waiting action and run_id scopes it to a workflow run; nothing in the text compensates for the schema gap.

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?

States a specific verb pair (approve and resume) and a specific resource (one action currently waiting for caller review), so the agent knows exactly what operation this performs. It does not, however, differentiate itself from siblings like jev_decide or agent_run, which could plausibly involve approval flows.

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 'currently waiting for caller review' implies a precondition and thus an implied usage context: only call this on actions already paused for human/caller approval. No alternative tool is named and no when-not guidance is given, so usage is inferred rather than stated.

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