Skip to main content
Glama

Manage approval queue

manage_approvals
Destructive

Work the workspace's governance approval queue — the requests a require_approval policy captured instead of running. action:"list" returns pending requests plus recently decided ones, newest first, each with the captured tool, its arguments, a human target label, the requester, the policy reason, status and expiry (filter with status). action:"approve" records the decision and then RUNS the captured call as the original requester, reporting execution honestly: applied, failed (with the reason), expired, or uncertain (the decision stands but the outcome could not be verified — check the affected record before starting a new request). action:"deny" closes the request without running it; an optional note is stored with either decision. approve and deny need confirm:true — without it the call changes nothing and returns a preview naming the tool, target, requester and age. Admin-only. Two rules hold on every door: the person who requested an action can never decide it, and a require_approval policy on this tool itself blocks it rather than queueing it (the queue never queues its own operations).

When to use: When an admin wants to see what is waiting in the governance approval queue, or to approve or deny a captured request from the conversation instead of Settings → Governance. Approving runs the captured action and reports whether it applied.

Example: What's waiting for my approval? Approve the subscription cancellation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe request id to approve or deny (from a list call). Ignored by list.
noteNoOptional decision note stored with an approve or deny.
limitNolist only: how many requests to return, newest first (default 50, max 200).
actionYeslist the queue, or approve / deny one request by id. One of: list | approve | deny.
statusNolist only: return requests in exactly this status (pending, approved, executing, indeterminate, denied, expired, applied, failed); omit for every status.
confirmNoapprove / deny: true carries the decision out; omitted or false returns the preview and changes nothing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
countNo
actionNo
decidedNo
approvalNo
approvalsNo
executionNo
approval_idNo
requires_confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true, readOnlyHint=false and non-idempotency. The description goes well beyond: it enumerates honest execution outcomes (applied, failed with reason, expired, uncertain-but-decision-stands), explains the confirm:true gate and no-op preview, discloses admin-only access, and states two invariants (no self-decision; the queue never queues its own operations). This is exactly the behavioral context the agent needs for a destructive, non-idempotent operation.

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?

Content is front-loaded (purpose, then per-action semantics, then invariants, then usage and an example), and every clause carries load-bearing detail. It is nonetheless a dense, long single paragraph, and the trailing 'When to use'/'Example' lines partly restate the intro, costing some tightness.

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?

For a 6-parameter, multi-action, destructive tool this is complete: it covers permissions (admin-only), safety (confirm gate), execution semantics (applied/failed/expired/uncertain), decision constraints, and self-policy behavior. An output schema exists, so return-shape detail is correctly left out, and nothing an agent needs to invoke it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real semantics the schema lacks: the confirm:true requirement implies 'without it the call changes nothing and returns a preview naming the tool, target, requester and age', id is ignored by list, note stores with either decision, and status scopes the list. That exceeds what the field descriptions convey.

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?

The opening sentence names a specific resource (the workspace's governance approval queue) and explains its origin (requests a require_approval policy captured instead of running). The three actions are individually defined — list returns pending plus recently decided requests; approve records the decision then runs the captured call as the requester; deny closes it without running. An agent can distinguish this from every sibling (e.g. cancel_subscription, manage_members) without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

A dedicated 'When to use' block states the trigger (an admin viewing or deciding queued requests from the conversation rather than Settings → Governance) and the effect (approving runs the captured action). It also gives two hard exclusions: the requester can never decide their own request, and a require_approval policy on this tool blocks rather than queues it. Alternative paths and negative conditions are both explicit.

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