Skip to main content
Glama

Approveit

Reject a request

reject_request
Destructive

Record this user's rejection of a request that is waiting on their decision. A decision of record — confirm with the user first. Fails if the user is not the current approver. Two-step: call with confirmed=false (the default) first for a preview with NOTHING recorded yet; call again with confirmed=true to record it.

Input Schema

NameRequiredDescriptionDefault
commentNoThe reason for rejecting, recorded with the decision. Strongly recommended — ask the user if they didn't say.
confirmedNofalse (default) returns a preview of what would be rejected and does NOTHING. true rejects it. Preview, show the user, wait for their yes, then call again with true.
ar_identifierYesThe approval request to reject — friendly number like 'AR-15' / '15' or the internal integer id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the preview-does-nothing semantics, the two-step confirmation flow, and the approver-identity precondition that causes failure. The 'decision of record' framing correctly reinforces destructiveHint=true rather than contradicting it.

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?

Four short sentences, front-loaded with the action and the confirmation requirement, then the failure condition, then the two-step mechanics. No filler and every clause carries load-bearing information.

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 destructive, non-idempotent mutation with no output schema, the description covers the safety posture, the preview-vs-record distinction, and the precondition. 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 parameter docs are already complete and a baseline of 3 applies. The description adds real value by explaining the confirmed default and the required ordering of the two calls as a workflow, not just a boolean flag.

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 and resource ('Record ... rejection of a request') plus the scope condition 'waiting on their decision'. It is immediately distinguishable from approve_request and cancel_request without opening any 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?

Explicitly sequences the two calls: confirmed=false first for a preview, then confirmed=true to record, and warns 'confirm with the user first'. It also names the exclusion condition ('Fails if the user is not the current approver'), leaving nothing to inference about when this tool applies.

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