Skip to main content
Glama
PocketBase MCP Server

PocketBase MCP Server

Supprimer un Champ d'une Collection

pocketbase-remove-field-migration

Generates a migration that removes a single field from an existing PocketBase collection, so you can version and apply schema changes without manual edits.

Instructions

Génère une migration pour supprimer un seul champ d'une collection existante

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>",
      "fieldName": "<fieldName>"
    },
    "name": "pocketbase-remove-field-migration"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldNameYesNom du champ à supprimer
collectionNameYesNom de la collection

Output Schema

NameRequiredDescriptionDefault
contentYes
successYes
filePathYes
fieldNameYes
collectionNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 burden. It implies the tool only generates a migration file rather than executing it, but that is never stated, nor are the consequences for data in the removed field, error behavior for a nonexistent collection/field, or whether the migration must be applied separately with execute-migration.

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 tight sentence with the object of the operation front-loaded and no filler. It is appropriately sized for a two-parameter tool, though a short clause on whether the migration is applied would earn its place.

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?

With an output schema present and only two fully documented parameters, the definition is close to sufficient for correct invocation. It falls short on the behavioural layer: no annotations, and no statement of whether the migration is written only or also run, which matters for the agent's next step.

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% with both parameters documented (collection name, field name to delete), so the schema already does the semantic work. The description's contribution is limited to the constraints "un seul champ" and "collection existante", which is the baseline for high-coverage schemas.

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 deliverable ("Génère une migration") plus the exact operation ("supprimer un seul champ d'une collection existante"), which is enough to separate it from the sibling add-field migration tool. It never names a sibling, so differentiation comes only from the phrasing of the action.

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 explicit when-to-use or when-not-to-use guidance, no statement of prerequisites (the field must already exist), and no pointer to the related tools that would apply, revert, or view the generated migration. The only implied guidance is that it is the delete counterpart of add-field.

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