Skip to main content
Glama

run_migrations

Run database migrations with rollback support

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": {
      "action": "<action>"
    },
    "name": "run_migrations"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
stepsNo
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.6/5.0
Behavior2/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 mostly fails it: it never states that migrations mutate the database, whether they are irreversible, whether a target environment or connection is required, or what happens on partial failure. "Rollback support" is the only behavioral hint and it is not elaborated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

A single seven-word sentence with no padding, so structure is clean and front-loaded. However, it is concise by omission rather than by discipline — the brevity leaves the agent with less information than the tool requires.

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?

The tool exposes a four-value action enum including a destructive "down" path, has no annotations and no output schema, and yet the definition says nothing about action semantics, safety, or results. For a database-mutating tool this is materially incomplete.

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

Parameters2/5

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

Schema description coverage is 0% across all three parameters, so the description must compensate and does not — "name", "steps", and "action" are never explained. "Rollback support" loosely gestures at the "down" enum value, but the semantics of "steps" (how far to roll back?) remain entirely unstated.

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 names a specific verb and resource ("Run database migrations"), so the agent knows exactly what domain operation this is. It stops short of distinguishing itself from sibling tools like create_migration_plan, leaving the boundary between planning and executing migrations to inference.

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 guidance on when to call this versus create_migration_plan or create_snapshot_strategy, and no stated preconditions such as migrations needing to exist first. The mention of rollback implies the "down" path exists but never says when to choose it.

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.