Skip to main content
Glama

create_migration_plan

Order and validate a set of migrations for safe sequential execution

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": {
      "migrations": "<migrations>",
      "database": "<database>"
    },
    "name": "create_migration_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseYesTarget database
migrationsYesMigration names to order
environmentNoTarget environment

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden and does not meet it. It never says whether a plan artifact is persisted or merely returned, whether invalid or cyclic migrations cause an error, whether any state is mutated, or what safety guarantees validation provides.

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 redundancy. It is efficient, though its brevity is part of why behavioral gaps remain.

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 three-parameter tool whose name implies producing a plan, with no annotations and no output schema, the description leaves important questions unanswered: whether the plan is returned or stored, what happens on validation failure, and how ordering conflicts are resolved.

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 coverage is 100% with descriptions and enums for database, migrations, and environment, so the structured data already does the work. The description adds no extra semantics such as format expectations for migration names or environment-specific ordering behavior.

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 compound verb (order and validate) applied to a concrete resource (a set of migrations) with the goal of safe sequential execution. It reads clearly as distinct from generate_migration or plan_migration_rollback, though it never names them to sharpen the contrast.

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?

No explicit when-to-use or when-not-to-use guidance. An agent must infer from 'safe sequential execution' alone whether this belongs before applying migrations, instead of generate_migration, or in place of plan_migration_rollback, and no preconditions are stated.

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.