Skip to main content
Glama
PocketBase MCP Server

PocketBase MCP Server

Supprimer une Collection PocketBase

pocketbase-delete-collection

Generates a migration to delete an existing PocketBase collection by name, enabling removal of obsolete schema through MCP-compatible clients.

Instructions

Génère une migration pour supprimer une collection existante de PocketBase

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": {
      "collectionName": "<collectionName>"
    },
    "name": "pocketbase-delete-collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectionNameYesNom de la collection à supprimer

Output Schema

NameRequiredDescriptionDefault
contentYes
successYes
filePathYes
collectionNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it does not meet it. It never states that the generated migration destroys the collection and its data irreversibly, whether it merely writes a file or also executes, what permissions/backup prerequisites apply, or how the caller should apply the migration. For a destructive delete operation this is a material gap.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though being one clause long it has no room for structure such as prerequisites or follow-up steps.

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

Completeness3/5

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

An output schema exists, so return values need not be explained. However, for a no-annotation destructive tool the definition is thin: nothing tells the agent that the migration must subsequently be executed, whether data loss is permanent, or what happens if the collection does not exist. The simplicity of the single required parameter keeps this from being worse.

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?

Only one parameter (collectionName) and the schema description covers it fully ("Nom de la collection à supprimer"), so the schema already does the work. The description adds no format, naming convention, or validation detail (e.g. exact vs. fuzzy name matching, error if not found) beyond the schema. Baseline 3 applies.

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 and resource: "Génère une migration pour supprimer une collection existante". Crucially it distinguishes generation of a migration file from actually applying the deletion, which separates it from execute-migration/execute-any-migration siblings. It does not name any sibling explicitly, so differentiation is implied rather than stated.

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 phrasing implies the use case (producing a migration that removes a collection) and implicitly the scope (schema-level collection operations, not record operations). There is no explicit when-not guidance, no note about applying the migration afterwards, and no alternative named for immediate deletion. Adequate but leaves routing to inference.

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