Skip to main content
Glama

respond_to_pending_approval

Destructive

Answer a pending approval ticket so a destructive bookmark action can proceed or be canceled; each decision is consumed once.

Instructions

Answer a pending approval ticket from a destructive bookmark tool. Ask the user before calling; the decision is consumed once.

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": {
      "approvalId": "<approvalId>",
      "hash": "<hash>",
      "approved": "<approved>"
    },
    "name": "respond_to_pending_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes
approvedYes
approvalIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-dev.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine non-annotation context: the decision is consumed on use, making the call irreversible even if the agent wants to retry, and user confirmation is required first. It does not state what happens if the hash mismatches or how long a ticket stays valid.

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?

Two short sentences with no filler; the confirmation requirement and one-shot semantics are both front-loaded and easy to act on.

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?

This is a destructive, three-required-parameter mutation with zero parameter descriptions and no output schema, so the description carries the full burden. It omits how to obtain approvalId and hash, what a mismatched hash does, and what the response returns, which leaves the agent unable to construct a correct call from the definition alone.

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% for all three required parameters, and the description explains none of them. In particular the agent is never told where 'hash' comes from or that it must match the pending action, so the strongest constraint in the schema (a 64-hex pattern) is left semantically unexplained.

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?

The description uses a specific verb and resource: 'Answer a pending approval ticket from a destructive bookmark tool.' It makes the tool's role legible relative to siblings like apply_delete_folder or delete_bookmark, though it never names a sibling or explains the ticket lifecycle that produced the approval. Purpose is clear but differentiation is implicit.

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

Usage Guidelines4/5

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

'Ask the user before calling' gives an explicit precondition and 'the decision is consumed once' signals one-shot semantics, which is useful routing information. There is no guidance on what to do when a ticket expires or which sibling to use if no ticket exists, so it stops short of full usage guidance.

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