Skip to main content
Glama

approve_task

Approve a pending human-in-the-loop task to let the agent workflow proceed. Use after reviewing task details.

Instructions

Approve a pending HITL task, allowing the agent workflow to continue.

This is a real decision — the agent will proceed with the proposed action. Review the task details first with get_approval_details.

Args: task_id: The approval task UUID comments: Optional reason for approval

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes
commentsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided; description notes the decision is real and permanent but lacks details on side effects, permissions, or error conditions. Adequate but not comprehensive.

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?

Concise, front-loaded purpose, followed by behavioral note and usage guideline, then parameter list. No superfluous text.

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

Completeness5/5

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

Complete for a simple approval tool; covers purpose, prerequisite, parameters, and behavioral consequence. Output schema exists to handle return values.

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?

Both parameters are described with context (UUID and optional reason), compensating for zero schema coverage. No format constraints but sufficient for agent understanding.

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?

Description clearly states the tool approves a pending HITL task to allow the agent workflow to continue, distinguishing it from siblings like reject_task.

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?

Explicitly advises to review task details first with get_approval_details and warns it's a real decision. Could mention when not to use (e.g., if task should be rejected).

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/RPasquale/lightbulb-mcp'

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