Skip to main content
Glama

delete_collection

Delete a collection by UUID. The deletion is staged as a change and only takes effect after apply_change; update any resources that reference the collection.

Instructions

Delete a collection. Resources referencing it will need to be updated. Returns a change_id; nothing changes until apply_change.

Args: collection_id: UUID of the collection to delete.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "collection_id": "<collection_id>"
    },
    "name": "delete_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
collection_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and discloses important traits: the operation is staged, returns a change_id, and does not take effect until apply_change; it also warns that referencing resources must be updated. It omits permissions, reversibility, and error conditions, which keeps it from 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short, front-loaded, and every sentence earns its place: it covers the action, consequence, staged workflow, and parameter meaning without unnecessary wording.

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 one-parameter mutation tool with an output schema, the description covers purpose, side effects, staged execution, and parameter semantics adequately. It could still mention permission requirements or edge cases like non-empty collections, but the essentials are present.

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?

Schema description coverage is 0%, so the description must compensate. It adds that collection_id is a UUID and identifies it as the ID of the collection to delete, which is meaningfully more than the schema's bare string type. It still lacks example formatting or validation constraints.

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 states a specific verb and resource: 'Delete a collection.' It also distinguishes the operation from an immediate destructive delete by explaining that nothing changes until apply_change, which differentiates it from any sibling that might delete directly.

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

Usage Guidelines3/5

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

The description implies the tool is used to delete a collection and indicates the follow-up step (apply_change), along with a warning that referencing resources need updating. However, it provides no explicit when-not-to-use conditions or named alternatives, leaving routing guidance implicit.

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