Skip to main content
Glama

decide_approval

Destructive

Approve or dismiss ONE item of the Approvals queue — what the Approve and Dismiss buttons on AI Visibility → Approvals do. Approve delivers it: an AI action plan or content brief is e-mailed to the automation's recipients (or the workspace owner); a report draft gets a share link — anyone with the link can then view that report — and the link is e-mailed to them; a manual task is marked done and nothing is sent. Dismiss closes the item and moves a drafted report to Deleted. Approving spends no AI (the draft was written when the automation ran) and starts no scan. It never decides on its own: it needs an explicit decision, shows a preview of who gets what, and acts only with confirm:true. It does not edit a draft, assign a task or change an automation. Requires MCP write actions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoSet true to apply. Omit for a preview. With confirm:true, also pass the preview's previewToken.
decisionYesapprove (deliver it) or dismiss (close it without sending).
approvalIdYesThe item (id from list_pending_approvals).
previewTokenNoWith confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments).

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?

Far exceeds the annotations: it discloses that approving spends no AI and starts no scan, that a share link becomes viewable by anyone holding it, that dismiss moves a drafted report to Deleted, and that the tool refuses to act without an explicit decision and confirm:true. It also explains the preview-then-confirm handshake required before 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 with purpose and decision semantics, then delivery outcomes, then constraints. It is long, but nearly every clause carries distinct operational information; the share-link and manual-task details could be tightened slightly.

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 mutation tool with no output schema, the description covers side effects, permission requirements, the confirmation protocol, and what it refuses to do. An agent has everything needed to call it correctly and safely.

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 a 3, but the description adds workflow semantics the schema does not: calling without confirm yields a preview of who receives what, and confirm:true must be paired with the token from that same preview. The two-step contract is explained in prose rather than left to the field descriptions.

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 pair (approve/dismiss) plus the exact resource and scope ('ONE item of the Approvals queue'), and anchors it to the UI affordance the user knows. It is immediately distinguishable from the sibling list_pending_approvals, which it explicitly names as the id source.

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?

Gives per-case outcomes (what approve delivers for an action plan, content brief, report draft, manual task; what dismiss does), states exclusions ('does not edit a draft, assign a task or change an automation'), and names the prerequisite 'Requires MCP write actions.' Nothing about when to call it 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources