Skip to main content
Glama

Delete Collection

vector_delete_collection
DestructiveIdempotent

Deletes a named collection from a vector database after explicit confirmation, removing its vectors and data from the target database.

Instructions

Deletes a collection from the vector database.

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": "vector_delete_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNomust be true to delete the collection
db_typeNodb type
collection_nameNocollection name

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv3.3.8
    • changedInput schema / properties / confirm / description
      Previous value: -"confirm"New value: +"must be true to delete the collection"
    • removedInput schema / properties / document_contents
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "document contents"
      -}
    • removedInput schema / properties / document_paths
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "relative paths beneath the configured document root"
      -}
    • removedInput schema / properties / include_configured_directory
      Removed value: -{
      -  "default": false,
      -  "description": "ingest the administrator-configured document root",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / overwrite
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "overwrite"
      -}
  2. Addedv3.3.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is structurally available. The description adds almost no behavioral context beyond the basic operation: it does not mention the confirmation gate, that deletion is irreversible in effect, or what happens to associated vectors/documents.

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?

The description is a single clear sentence with no wasted wording and the operation is front-loaded. It is appropriately sized for a simple delete tool, though its brevity contributes to the missing safety context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive operation with a required confirmation parameter, the description is under-specified. Although an output schema exists and annotations cover the safety hints, an agent still needs to know that confirm must be true and that the deletion is consequential.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so parameter semantics are fully documented by the schema, including the confirm flag and collection_name. The description adds no additional meaning beyond what the schema already provides, which is the expected baseline when schema coverage is complete.

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 states a specific verb and resource: deleting a collection from the vector database. It is clear what the tool does, though it does not explicitly distinguish its role from siblings such as vector_create_collection or vector_list_collections.

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?

The description gives no guidance on when to use this tool versus alternatives, no prerequisites, and no caveats. It also omits the critical requirement that confirm must be true before deletion occurs.

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