Skip to main content
Glama

delete_directory_collection

Destructive

Delete a directory collection and all its items.

Args: project_id: The project ID. collection_id: The collection ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
collection_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds value beyond them by disclosing the cascade: deleting the collection also removes all its items, which is a materially larger blast radius than the tool name implies. It still omits irreversibility/permission requirements, so not a 5.

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?

Front-loaded with the destructive scope in the first sentence, and the total length is minimal. The 'Args' block is redundant filler given the schema, but the cost is small.

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?

With an output schema present and annotations covering the safety profile, the description need not explain return values. It covers the essential cascade behavior; only permission/irreversibility context is missing.

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 carries the burden, but its 'Args' block merely restates the schema property titles ('The project ID.', 'The collection ID.') with no format, ID-source, or lookup guidance. It provides no semantics beyond what the schema already shows.

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+resource ('Delete a directory collection') and adds meaningful scope ('and all its items'), so an agent knows this is a cascading delete rather than a single-item delete. It does not explicitly contrast with siblings like delete_directory_item or delete_directory_field, but the resource naming is unambiguous.

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 guidance on when to use this tool versus the other delete_* siblings, no prerequisites (e.g. permissions, whether the collection must be empty), and no warning that the operation is irreversible. The agent must infer usage 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources