media_cleanup
Delete a job directory by job ID to remove processed media files and free disk space.
Instructions
Delete a previous job directory under the media workdir by job_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Delete a job directory by job ID to remove processed media files and free disk space.
Delete a previous job directory under the media workdir by job_id.
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must disclose behavioral traits. It states 'delete' implying irreversible action but does not mention consequences, required permissions, or error handling. The agent lacks critical safety context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence with no filler. It is front-loaded with the action. However, it could be more informative while remaining concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a deletion tool with one parameter and no output schema, the description is insufficient. It lacks details on return values, error states, and prerequisites. The agent would need to infer too much context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% (no descriptions in schema). The description only says 'by job_id' without explaining the format, source, or validation of job_id. A single parameter with 0% coverage requires compensation, which is minimal here.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (delete), the resource (job directory under media workdir), and the identifier (job_id). This specific verb+resource combination distinguishes it from sibling tools that inspect or prepare media.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives like prepare_for_ai or media_inspect. There is no mention of prerequisites or scenarios where deletion is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leaf76/lazy-media-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server