Skip to main content
Glama

job_approve

Destructive

Human-only scoped approval for one declared actionId. Requires CONTROL_PLANE_APPROVE_TOKEN. CRITICAL needs breakGlass. No approve-all.

Input Schema

NameRequiredDescriptionDefault
jobIdYes
actionIdYes
expiresAtNo
breakGlassNo
approveTokenNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / required
      Added value: +[
      +  "result"
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=false; the description goes further by disclosing the human-in-the-loop requirement, the required CONTROL_PLANE_APPROVE_TOKEN credential, and the breakGlass escalation path for critical actions. It stops short of saying whether an approval is revocable or what happens after approval is recorded.

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?

Four short fragments, zero filler, with the scope constraint and actor restriction front-loaded. The telegraphic phrasing is dense enough that a couple of clauses require a second read, keeping it off a 5.

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?

An output schema exists so return values need no explanation, and the authorization model is well covered. However, with 5 parameters at 0% schema coverage, the complete absence of jobId and expiresAt semantics leaves a real gap for a destructive approval gate.

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 0%, so the description must carry the load. It explains actionId (one declared action), approveToken (CONTROL_PLANE_APPROVE_TOKEN), and breakGlass (needed for CRITICAL), but leaves jobId and expiresAt — the latter materially affecting approval lifetime — completely undefined.

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?

States a specific verb (approve), the exact resource granularity (one declared actionId, scoped), and the actor constraint (human-only). An agent can distinguish this from job_declare_action and job_cancel without opening the schema.

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?

"No approve-all" and "CRITICAL needs breakGlass" give concrete when-to-use conditions, and the token requirement is a stated prerequisite. It does not name sibling alternatives explicitly, so it stops just short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources