Skip to main content
Glama
Andrian17

mssql-mcp-server

by Andrian17

mssql_copy_between_databases

Copy data between two SQL Server databases using connection strings, with optional schema, row filter, batch size, and truncate target.

Instructions

Copy data between two SQL Server databases

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
whereNoFilter for source rows (WHERE clause without the keyword)
schemaNoSchema name on both sides (defaults to dbo)
batchSizeNo
tableNameYesTable name (same on both sides)
truncateTargetNoTRUNCATE the target table inside the copy transaction first
sourceConnectionStringYesSource connection string (requires --allow-tool-connection-string)
targetConnectionStringYesTarget connection string (requires --allow-tool-connection-string)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only says 'Copy data,' which implies a write to the target, but it omits important traits such as transactionality, target table prerequisites, truncateTarget behavior, and the --allow-tool-connection-string requirement.

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?

The description is a single, front-loaded sentence with no wasted words. It is concise, though it sacrifices useful operational context.

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 tool with 7 parameters, no output schema, and no annotations, the description is too minimal. It does not explain table existence requirements, transaction scope, batching, truncation behavior, or connection string permissions, leaving significant gaps for correct invocation.

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 86%, so the schema already documents most parameters. The description adds no parameter-level detail, but the baseline of 3 applies because the schema carries the load; only batchSize lacks a schema description.

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 states a specific verb and resource: 'Copy data between two SQL Server databases.' This clearly conveys the core operation, though it does not explicitly differentiate itself from sibling tools like mssql_import_table_data or mssql_export_table_data.

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 guidance is provided about when to use this tool versus alternatives, nor are any prerequisites or exclusions mentioned. An agent would have to infer usage context from the tool name and schema alone.

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