Skip to main content
Glama

Reject Pending Action

task_reject_action

Reject a pending approval ID and optionally cancel its parent task, giving human-in-the-loop control over automated browser workflows.

Instructions

Reject a specific pending approval_id and optionally cancel the task.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "approval_id": "<approval_id>"
    },
    "name": "task_reject_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoReason for rejection
cancelTaskNoAlso cancel the parent task (default: false)
approval_idYesApproval ID to reject

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

C2.7/5.0
Behavior1/5

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

The annotations declare destructiveHint=false, yet the description advertises optionally cancelling the parent task, which is a state-changing, potentially destructive operation. Because the described capability contradicts the declared safety profile, this is an annotation contradiction; the description also omits whether rejection is irreversible and what permissions are needed.

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 front-loaded sentence with no filler.

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 mutation tool with an optional cancellation flag and no output schema, the definition is too thin: it doesn't explain what rejection does to the approval, whether cancellation cascades, or what happens to the parent task. Annotations cannot fill the gap because they conflict with the cancel behavior.

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%, and the schema already documents approval_id, reason, and cancelTask including the default false. The description adds no format, constraints, or side-effect meaning beyond those schema descriptions.

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

Purpose4/5

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

States a specific verb (reject) and resource (pending approval_id), and notes the optional parent-task cancellation. It does not explicitly distinguish itself from task_approve_action, but the verb makes the intended alternative obvious.

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?

No when-to-use guidance beyond the implicit 'reject a pending approval'; it doesn't state prerequisites such as the approval must be pending, nor when to use this versus task_approve_action or task_control. The optional cancel behavior is mentioned but not framed as a decision point.

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