Skip to main content
Glama

Cancel a secret request

cancel_secret_request

Cancel a pending secret request so it disappears from the browser paste page when you no longer need the API key, password, or PIN.

Instructions

Withdraw a request that's still waiting (it disappears from the page), e.g. when you no longer need it.

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": {
      "request_id": "<request_id>"
    },
    "name": "cancel_secret_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is mostly covered. The description adds real value by stating the request 'disappears from the page', a concrete effect beyond the annotations. It does not say whether cancellation is reversible, what happens to already-resolved requests, or whether permissions or ownership are required.

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

Conciseness4/5

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

A single front-loaded sentence with the precondition stated before the motivating example. The trailing 'e.g. when you no longer need it' is mildly redundant but does reinforce intent, so it earns most of its space.

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

Completeness3/5

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

For a simple two-parameter mutation with no output schema, it covers the core action and one behavioral effect. It falls short of completeness by leaving 'waiting' statuses undefined and the 'reason' parameter unexplained, which an agent needs in order to fill the schema correctly.

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 two parameters, so the description carries the full burden. It says nothing about what request_id refers to or what the optional 'reason' field is for (audit note? shown to the requester?). This is a clear gap for a 2-parameter tool with no schema documentation.

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?

Uses a specific verb ('withdraw') on a specific resource and adds a state qualifier ('still waiting') that separates it from request_secret or check_secret. It never names a sibling explicitly, but the state scoping is enough for an agent to distinguish it.

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?

'Still waiting' and 'when you no longer need it' imply the use context, so an agent knows this applies only to pending requests. However, no alternatives are named (e.g., list_secret_requests to find the id, or handling already-resolved requests), so routing is left to inference.

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