Skip to main content
Glama

Deny a pending action

deny_action
Destructive

Deny a pending action awaiting the user's decision (from list_pending_approvals).

Input Schema

NameRequiredDescriptionDefault
idYesthe pending action id (from list_pending_approvals)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds the useful precondition that only actions awaiting a decision can be denied, but says nothing about reversibility or what happens to the action after denial.

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?

A single sentence with zero filler, front-loading the verb and resource before the parenthetical source hint. Nothing is padded or redundant.

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

Completeness4/5

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

An output schema exists and annotations fully cover the destructive/non-idempotent profile, so the description need not explain returns or safety. It is nearly complete, with only the missing alternative-tool guidance as a small gap for a destructive one-parameter tool.

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 100% with a single well-documented id parameter, so the schema carries the meaning. The description only restates the id's provenance, which the schema already specifies, adding no new syntax or format guidance.

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 ('Deny') and resource ('a pending action'), plus the precondition state ('awaiting the user's decision') and the source tool that produces the id. This cleanly distinguishes it from the antonym sibling approve_action without the agent needing to open either schema.

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

Usage Guidelines3/5

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

It implies when to use the tool by tying it to list_pending_approvals, which tells the agent where the id comes from. However, it never names approve_action as the alternative or states the conditions under which denying is appropriate versus approving, leaving the routing 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.