Skip to main content
Glama

Delete collection

delete_collection
DestructiveIdempotent

Delete a whole collection (a blog, projects, menu, team…): its schema, its listing page (the page at its path prefix) and EVERY item in it. Use this when the user wants a whole section of posts or entries gone. To remove one entry use delete_content_item; never remove a collection with patch_fixture, which leaves all its items behind. The items and the listing page come off the live site immediately, like Delete in the editor; the schema removal stays in the draft until publish. Links to the collection elsewhere (menu, footer, buttons) are not changed: they come back in dead_links with where each one is — re-point or remove them. Also cleans up items left behind by a collection that is no longer declared. Permanent.

Input Schema

NameRequiredDescriptionDefault
site_idYes
content_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructive/idempotent annotations, the description explains the live-site vs. draft behavior, that links elsewhere are not changed but returned in dead_links, that orphaned items are cleaned up, and that the action is permanent. These are exactly the consequences an agent needs before invoking a destructive tool.

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?

The description is dense but front-loaded: the first sentence states the deletion scope, followed by usage routing and then behavioral consequences. Every sentence adds material information, and the final 'Permanent.' warning is appropriately emphatic.

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 destructive collection-deletion tool, the description is highly complete on behavior, side effects, alternatives, and return-side effects like dead_links. It falls short only on explaining the required parameters, which is a real gap for an agent preparing the call.

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 would need to explain the two required parameters. It never mentions site_id or content_type, nor how to identify the collection to delete. The description gives some conceptual context about collections but does not compensate for the parameter documentation gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource and spells out exactly what is deleted: the collection schema, listing page, and every item. It also directly distinguishes this tool from delete_content_item and patch_fixture, so an agent can identify its scope without opening sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to use this tool (when the user wants a whole section gone), when to use an alternative (delete_content_item for one entry), and when not to use another tool (never patch_fixture for collection removal). This is unusually clear routing guidance.

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