Skip to main content
Glama
Debanjan29

mcp-sqlserver

by Debanjan29

generate_test_data

Generates realistic INSERT statements for SQL Server tables using schema-derived fake data. Specify table, count, and optional schema or database to produce test rows.

Instructions

Generate INSERT statements with realistic fake/test data based on table schema

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of rows to generate (default: 10, max: 100)
tableYesTable name
schemaNoSchema name (default: dbo)
serverNoTarget server name (uses default if omitted)
databaseNoDatabase name (uses connection default if omitted)
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states it generates INSERT statements but does not clarify whether these are returned as text or executed directly against the database. It also omits any mention of permissions, side effects (e.g., whether it writes to disk), or whether it requires an active connection. This ambiguity could lead an agent to misuse the tool (e.g., expecting execution when it only generates).

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 a single, focused sentence with no extraneous content. It immediately communicates the core action and basis, making it easy to parse and front-loaded. No wasted words.

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 has five parameters and no output schema, so the description should explain what the tool returns (e.g., a SQL string, a file path) and how parameters like server/database are used during generation. It also does not mention any constraints (e.g., whether the table must exist, handling of foreign keys). For a moderately complex tool with zero annotations and no output schema, this description leaves significant gaps that could hinder 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?

The schema description coverage is 100%, meaning all five parameters have descriptions. The tool description itself does not add meaning beyond what the schema provides; it merely reiterates that data is generated based on the table schema. Since the baseline for high coverage is 3, and the description offers no additional context about parameter interactions or edge cases, a score of 3 is appropriate.

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's function: generating INSERT statements with realistic fake/test data based on the table schema. It specifies the verb, resource, and basis, and distinguishes it from sibling tools like generate_insert_scripts (which likely generate based on existing data) and sample_table (which might return raw data rather than SQL).

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?

The description provides no guidance on when to use this tool versus alternatives such as generate_insert_scripts or sample_table. It does not mention any prerequisites (e.g., table existence, needed permissions) or exclusions. The only hint is that it generates fake data, implying a testing scenario, but this is not explicitly stated or contrasted with 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