Skip to main content
Glama
PyMC Marketing MCP

PyMC Marketing MCP

by funnelscript

Cleanup Server Storage

cleanup_server_storage
DestructiveIdempotent

Remove aged unreferenced artifacts and expire stale download leases while preserving live references; use dry_run and older_than_hours to preview or target cleanup.

Instructions

Collect aged, unreferenced artifacts within the authorized namespace; expire download leases without deleting live references.

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

Input Schema

NameRequiredDescriptionDefault
dry_runNo
older_than_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description adds meaningful behavioral context: the operation is confined to the authorized namespace and will not delete live references. That safety boundary is exactly the kind of information annotations cannot convey. It still omits whether expired leases are recoverable and how the operation reports what it collected.

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 compact sentence with two well-ordered clauses: what is collected, then what is expired. No filler, though the semicolon-joined phrasing is slightly dense for the amount of operational detail it actually delivers.

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, idempotent maintenance tool with no output schema and undocumented parameters, the description establishes scope and a key safety guarantee but leaves the agent without a dry-run path, return information, or confirmation of irreversibility. It is minimally adequate but not sufficient to invoke confidently.

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%, so the description must carry both parameters, and it effectively covers neither. 'Aged' loosely gestures at older_than_hours but gives no unit or default semantics, and dry_run — the most important parameter for a destructive tool — is never mentioned.

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 actions and resources: collecting aged, unreferenced artifacts and expiring download leases. It is clearly a storage-hygiene tool, distinct from the modeling/analysis siblings, though it does not explicitly say what 'collect' means operationally (delete, quarantine, or report).

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?

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites or authorization, and no reference to alternatives. The agent must infer that this is a periodic maintenance operation from the name alone.

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