Skip to main content
Glama

Get a migration

get_migration
Read-only

Shows where one migration is: its step (connect, ready_for_sample, sample_running, sample_done, full_run_running, done, paused, failed, rolled_back), which systems are connected, each object's record counts, the source record count, the full-run price or free status, and the URLs to act on. Call it after start_migration, after the user says they connected, and to follow a running sample. Returns the step, a next sentence telling you what to do, and connectUrl, runUrl, resultsUrl. After a rollback (step rolled_back) each object shows imported 0 and removedByRollback (what the run had created, now removed from the destination), plus rolledBack: true and a rollbackNote.

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": {
      "id": "<id>"
    },
    "name": "get_migration"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe migration id start_migration returned, like MIG-8F3C1D92.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=true, openWorldHint=false), and the description adds real behavioral context beyond that: the enumerated step values, the embedded `next` instruction sentence, and the detailed post-rollback state (imported 0, removedByRollback, rolledBack true, rollbackNote). It still doesn't describe polling expectations or how stale a running sample's counts can be.

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?

Front-loaded with what the tool surfaces, then when to call it, then the return shape — a sensible order. The long parenthetical list of step values is dense but each value earns its place by letting an agent branch on state; the rollback sentence is verbose yet materially useful.

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

Completeness5/5

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

There is no output schema and no annotations covering returns, yet the description still spells out the key fields (step, next, connectUrl, runUrl, resultsUrl) and the special rollback fields. For a single-id read tool, an agent has everything needed to call it and interpret the response.

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% and the single `id` parameter is fully documented there, including an example format. The description adds no further meaning about the id (e.g., whether an id from list_migrations is equally valid), so this is the expected baseline when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 (retrieves one migration) and enumerates the full step lifecycle plus the artifacts it returns (connection status, record counts, pricing, action URLs). It implicitly separates itself from list_migrations (one vs. many) and get_report (state vs. report) without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete triggers: call after start_migration, after the user reports connecting, and to follow a running sample. That is strong positive guidance, but it never names when to prefer a sibling such as get_report or list_migrations, so the boundary remains inferential.

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.

Resources