Skip to main content
Glama

Compl-AI-ance

retention_preview_purge

Read-only

Vorschau der harten Löschung (nur Administration): je Tabelle, wie viele Zeilen ein Lauf heute endgültig löschen würde, dazu die Dokumente in R2 und die Discovery-Funde, deren Verweis auf ein gelöschtes System entfernt würde. Gelöscht wird nur, was weich gelöscht und abgelaufen ist, abgelaufene Nachweise ohne Elternsatz und alles an einem System, dessen eigene Aufbewahrung vorbei ist. Ändert nichts.

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": "retention_preview_purge"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds substantive context beyond that: administration-only access, the exact deletion criteria (soft-deleted and expired rows, expired evidence without a parent record, systems past their retention), and the ancillary effects on R2 and Discovery references.

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?

Three sentences, front-loaded with what the tool does, followed by deletion criteria and the no-change guarantee. The middle sentence is dense and run-on but every clause carries useful information.

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 complex, zero-parameter operation with no output schema, the description explains what the preview reports (per-table counts, R2 documents, Discovery findings) and the access restriction. Only minor gaps remain, such as whether there are rate limits or how results are formatted.

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 no parameters, so the baseline is 4. The description appropriately focuses on scope and outcomes instead of inventing parameter detail.

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?

States a specific verb and resource: a preview of hard deletion, broken down per table, plus affected R2 documents and Discovery findings. The word 'Vorschau' and 'Ändert nichts' clearly separate it from an actual purge run, though no sibling is named explicitly.

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?

The preview framing and the closing 'Ändert nichts' make the intended use clear: inspect what would be purged before running a real purge. It does not explicitly name retention_run_purge or state when not to use it, so the routing is implied rather than spelled out.

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