Skip to main content
Glama

cleanup_previews

Remove orphaned branch previews as an admin to free resources and keep preview environments tidy.

Instructions

Verwaiste Branch-Previews aufräumen (Admin).

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_previews"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose two useful traits — that only orphaned previews are targeted and that admin rights are required — but it never states that this is an irreversible deletion, what happens to in-flight or attached previews, or whether the action can be undone. For an admin-scoped destructive cleanup, that is a substantial gap.

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 short sentence with the object of the action front-loaded and the admin restriction appended. Nothing is wasted, though the terseness leaves behavioural questions unaddressed rather than over-explaining.

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?

The tool has no parameters and no output schema, so the description need not explain inputs or return values. However, with zero annotations on a destructive admin operation, the definition should at minimum state irreversibility and roughly what is removed; that is missing, leaving a partial picture.

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 the schema baseline of 4 applies and there is nothing for the description to disambiguate. The only semantic term, 'verwaist', is not further defined, but with an empty argument object there is no parameter meaning to add.

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?

Names a specific verb and resource ('Verwaiste Branch-Previews aufräumen') and narrows scope to orphaned previews plus an admin-only audience. An agent can tell this is a cleanup operation rather than a build/deploy tool, though it never names a sibling such as delete_dataset_branches or app_remove to delineate boundaries.

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?

'Verwaiste' implicitly states the precondition (only orphaned previews qualify) and '(Admin)' implies a permission requirement. There is no explicit when-not guidance, no stated alternative tool for non-orphaned previews, and no prerequisite detail beyond the parenthetical.

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

Deploy Server

Other Tools