Skip to main content
Glama
Debanjan29

mcp-sqlserver

by Debanjan29

compare_schemas

Compare database schemas between two SQL Server databases to identify differences in tables, columns, and indexes. Pinpoint schema drift for dev vs prod alignment.

Instructions

Compare schemas between two databases — shows tables, columns, and indexes that differ (useful for dev vs prod comparison)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schemaNoSchema filter (default: compare all schemas)
serverNoTarget server name (uses default if omitted)
source_databaseYesSource database name (e.g. 'DevDB')
target_databaseYesTarget database name (e.g. 'ProdDB')
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions what outputs to expect but does not state whether the operation is read-only, whether it modifies anything, or whether it requires specific permissions or connectivity to both databases. This is a significant gap for a tool with no annotation safety hints.

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?

Two sentences with the core purpose front-loaded and a practical example in parentheses. Only a minor issue: the em dash and parentheses are slightly informal, but the text is efficient and free of fluff.

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

Completeness3/5

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

For a tool with no output schema and no annotations, the description is moderate. It specifies what differences are shown (tables, columns, indexes) but omits details on return format, error cases, prerequisites (e.g., server access), or any side effects. Given the tool's complexity (comparing two databases), more context would improve completeness.

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 100%, so the schema already documents each parameter. The description adds minimal parameter-specific meaning; it mentions comparing schemas but does not clarify how the parameters (schema filter, server) interact. Baseline 3 applies because the schema handles parameter documentation adequately.

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 verb 'compare' and resource 'schemas between two databases' are specific, and the description lists concrete outputs (tables, columns, indexes that differ). It clearly differentiates from sibling tools like list_schemas or describe_table by focusing on cross-database differences and the dev vs prod use case.

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

Usage Guidelines3/5

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

The description provides a context ('useful for dev vs prod comparison') that implies when to use it, but it does not explicitly state when not to use it or mention any alternative tools. It gives a clear scenario but lacks routing away from siblings.

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/Debanjan29/readonly-mssql-mcp-db'

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