Skip to main content
Glama

approve_task

Idempotent

Approve a task at its approval gate, moving it to APPROVED. Use when a human reviewer with approve permission must authorize an agent's completed work; self-approval is not allowed.

Instructions

Approve the approval gate (-> APPROVED). Requires approve permission; no self-approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
task_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare it is a non-destructive, idempotent mutation (readOnlyHint=false, idempotentHint=true, destructiveHint=false). The description adds meaningful context beyond that: an auth requirement (approve permission) and a constraint (no self-approval), plus the concrete state transition to APPROVED.

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?

Two tight sentences with zero filler; the action and resulting state are front-loaded and the constraints follow. Every clause earns its place.

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 mutation tool with annotation safety coverage and no output schema, the state transition and auth/constraint context make it mostly usable. The unresolved gap is the completely undocumented parameters, especially the purpose of the optional note.

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

Parameters2/5

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

Two parameters with 0% schema description coverage, so the description carries the full burden and delivers nothing about either. The required task_id and the optional note are never explained, leaving the agent to guess what note is for and what task_id references.

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 (Approve) and resource (the approval gate), plus the resulting state (-> APPROVED), so the operation is unambiguous. It does not explicitly name the contrasting sibling reject_task, but the verb itself is distinctive enough to separate it from the other task tools.

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?

Provides prerequisites (requires approve permission; no self-approval) which is genuine usage guidance. However, it never states when to choose this over reject_task or review_task, so routing among gate-related siblings is left to inference.

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