Skip to main content
Glama

run_test_migration

Run a trial migration on a sample of records to produce a data quality report that flags fill rates and data loss across source, staging, and target tables.

Instructions

Trial run: sends a small sample of records (default 5) through the full migration pipeline and produces a detailed data quality report.

The report checks three layers: 1. Source (Jira/Salesforce) — what values exist in the original data 2. Staging table — what landed in the ServiceNow staging table 3. Target table — what ended up in the final ServiceNow record (e.g. Incident)

For each mapped field it shows the fill rate (% of records with a value) and flags any field that is blank in staging (source → staging data loss) or blank in the target (staging → target mapping failure).

Only call this after build_artifacts. Only call run_full_migration after the user reviews this report and explicitly says "Approved".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformYesSource platform (salesforce, jira, or any registered connector)
object_nameYesSalesforce object name or Jira project key
staging_tableYes
target_tableYesServiceNow target table (e.g. incident, problem, change_request — whatever the user chose)
mappingsYes
sample_sizeNoHow many records to test (5–10 recommended)
filterNo
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses the tool's behavior: sends sample records, checks three layers (source, staging, target), calculates fill rates, and flags data loss. It mentions default sample size. However, it does not explicitly confirm non-destructiveness (though implied) or describe return format.

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

Conciseness5/5

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

The description is concise yet informative, using a clear structure: opening sentence, bullet-like list of report layers, and concluding usage guidance. Every sentence serves a purpose with no fluff.

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

Completeness4/5

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

The description covers the tool's purpose, process, output details (three layers, fill rates, flags), and prerequisites. Missing is the exact return format (e.g., data structure) since no output schema exists, but it adequately sets expectations for a migration test report.

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 57%, with some parameters undocumented. The description adds context for sample_size (default 5, recommended 5–10) and explains the three-layer report, but does not elaborate on other parameters like filter or staging_table. It adds modest value beyond the schema.

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 clearly states the tool performs a trial run of the migration pipeline on a small sample and produces a detailed quality report. It uses specific verbs and resources, and distinguishes itself from sibling tools like run_full_migration by emphasizing the trial nature.

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

Usage Guidelines5/5

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

Explicit instructions are given: 'Only call this after build_artifacts' and 'Only call run_full_migration after the user reviews this report and explicitly says Approved.' This clearly delineates when to use this tool versus alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pinnintisagarSB/ServiceNow-Dev-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server