Skip to main content
Glama

cleanup_desk

Deletes stale channel socket and token files that no longer accept connections, plus expired attachment directories, while preserving key files.

Instructions

Delete channel socket and token files that are not accepting connections, and delete expired attachment directories. Does not delete key files.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cleanup_desk"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the important safety exclusion ('Does not delete key files') and the eligibility criteria for deletion, but it omits whether deletion is irreversible, whether elevated permissions or confirmation are required, and what the operation returns.

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 tight sentences with zero filler. The deletion scope is front-loaded and the exclusion ('Does not delete key files') is placed as a clear trailing qualifier.

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 destructive, no-parameter tool with no annotations and no output schema, the description covers what gets deleted and what is spared, which is the core need. It falls short on irreversibility, permissions, and expected results, which matter more here precisely because no annotations exist to supply them.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The schema is empty and fully covered, and the description correctly implies no input is needed.

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 names specific verbs and resources: deleting channel socket and token files that are not accepting connections, plus expired attachment directories. The qualifying condition ('not accepting connections', 'expired') makes the target set precise, though the tool name 'cleanup_desk' is less informative than the description itself.

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?

It states what qualifies for deletion but gives no guidance on when an agent should invoke this cleanup, how often, or whether any alternative exists. The sibling tools listed are session-oriented and unrelated, so no routing guidance is needed, but the trigger condition for running cleanup is left implicit.

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