Skip to main content
Glama

Kendor

Delete a screen

delete_screen
Destructive

Deletes a screen permanently. Refused once any candidate has started it; archiving keeps it instead. Takes two calls: the first returns what will be deleted and a confirm code, the second, with that code, deletes 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": {
      "screen": "<screen>"
    },
    "name": "delete_screen"
  }
}

Input Schema

NameRequiredDescriptionDefault
screenYesScreen id, e.g. as_…
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered; the description goes beyond them by disclosing the guard condition that causes refusal and the two-phase confirm-code protocol. That is exactly the kind of behavior an agent cannot infer from structured fields.

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?

Three short sentences, front-loaded with the permanence and refusal condition, then the call protocol. No filler and nothing repeated from the schema or annotations.

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?

For a destructive two-step tool with no output schema, the description covers permanence, refusal conditions, the alternative, and what the first call returns (preview plus confirm code). It omits permission requirements and the failure behavior for a wrong or expired confirm code, which leaves a small gap.

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 only 50% — the screen id is documented, but 'confirm' has no schema description. The description compensates by explaining that the confirm parameter carries the code returned by the first call, which is the key semantic an agent needs. It stops short of describing what happens with a stale or invalid code.

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?

The description opens with a specific verb and resource ('Deletes a screen permanently') and immediately contrasts it with the alternative behavior ('archiving keeps it instead'), which maps to the sibling archive_screen. An agent can distinguish this from archive_screen/unarchive_screen without further reading.

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?

It states the precondition that blocks the call ('Refused once any candidate has started it') and the alternative to use instead ('archiving keeps it instead'). It also spells out the required two-call flow, so the agent knows not to expect a single-shot delete.

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