Skip to main content
Glama

reject_approval

Rejects a pending gated action and records an optional reason, enabling human-in-the-loop denial of destructive subagent operations.

Instructions

Reject a pending gated action.

Input Schema

NameRequiredDescriptionDefault
reasonNo
action_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.3

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about irreversibility, required permissions, what happens to the gated action after rejection, or whether the reason is recorded or surfaced to the requester. "Reject" signals a mutation, but none of the mutation's consequences are described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no waste, but the brevity stems from under-specification rather than disciplined editing; it fails to state the essential facts an agent needs.

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

Completeness2/5

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

For a two-parameter mutation tool with no annotations, no output schema, and zero schema description coverage, the definition leaves out rejection consequences, permission requirements, and parameter meaning. The description is not complete enough to support correct invocation without guesswork.

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?

Schema description coverage is 0% and the description does not mention either parameter. "pending gated action" weakly implies action_id identifies such an action, and "Reject" weakly implies reason is a rejection rationale, but the optionality, default empty string, and expected format of reason are undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Reject a pending gated action" gives a specific verb and resource, but the sibling set contains both reject_action and reject_approval plus get_pending_approvals/list_pending_actions, and nothing here explains how an "approval" differs from an "action" or which one an agent should target. The purpose is identifiable but not disambiguated from its closest sibling.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus reject_action or the pending-approval listing tools, and no prerequisites (e.g., must the action first be retrieved via get_pending_approvals?). The agent is left to infer the selection condition entirely.

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