Skip to main content
Glama

request_task_approval

Request human approval for a task in human-in-the-loop workflows, specifying task ID and approval type for commands, file writes, destructive, or manual actions.

Instructions

Request approval for a task (for human-in-the-loop workflows).

Args: task_id: Task id to request approval for. approval_type: Type of approval (command, file_write, destructive, manual).

Returns: JSON: {"ok": true, "approval": {...}}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes
approval_typeNomanual

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses the return shape ({"ok": true, "approval": {...}}), which is useful, but omits critical traits: whether the call blocks awaiting a human decision, what happens if approval is denied or times out, and any permission requirements for a human-in-the-loop mutation.

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?

Front-loaded one-line purpose followed by compact Args/Returns sections; no wasted sentences. The structure is standard and scannable, though the Args/Returns formatting is verbose relative to the small surface.

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?

For a 2-parameter tool with no annotations, the description covers purpose, both parameters, and return shape, and an output schema exists. However, the blocking/async and failure semantics of an approval request are the central behavioral question here and go unaddressed, leaving a meaningful gap for an agent dealing with approval flows.

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?

Schema description coverage is 0%, so the description must compensate and largely does: task_id is explained ('Task id to request approval for') and approval_type is enumerated as command/file_write/destructive/manual, filling a real gap since the schema declares no enum for it. Only minor gaps remain (default 'manual' behavior is not restated).

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 states a specific verb+resource: 'Request approval for a task', scoped to human-in-the-loop workflows. It is clearly distinguishable in intent from resolve_approval or list_pending_approvals, though it never names those siblings to reinforce the boundary.

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 parenthetical '(for human-in-the-loop workflows)' gives a context cue, but there is no explicit when-to-use vs. when-not-to-use guidance and no mention of the obvious alternatives (resolve_approval, list_pending_approvals). Usage is only implied by the phrasing.

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