Skip to main content
Glama
MySQL MCP Server

MySQL MCP Server

by berthojoris

generate_seed_preview

Read-onlyIdempotent

Previews deterministic dummy rows from a seed plan without writing to the database, showing symbolic foreign-key placeholders for review before execution.

Instructions

🌱 RELATIONAL SEEDER: Generates deterministic dummy row previews from a seed plan without writing to the database. Shows symbolic foreign-key placeholders for review before execution.

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": {
      "plan_id": "<plan_id>"
    },
    "name": "generate_seed_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoOptional locale hint for generated values (default: en_US)
plan_idYesSeed plan ID returned by plan_seed_data
realisticNoWhether to prefer realistic generated values (default: true)
email_domainNoSafe email domain for generated emails (default: example.test)
max_preview_rows_per_tableNoMaximum preview rows per table (default: 3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.46.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotent, non-destructive, closed-world), and the description is consistent with them. It adds genuinely useful behavioral context beyond annotations: results are deterministic, no database writes occur, and foreign keys appear as symbolic placeholders rather than resolved values — all of which matter when interpreting the preview.

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 tight sentences, front-loaded with the action and then the key constraint (no writes, review before execution). The emoji tag and 'RELATIONAL SEEDER:' label are minor flourish rather than wasted meaning.

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?

There is no output schema, so the description carries the burden of describing returns — it does so at a useful level (preview rows with symbolic FK placeholders, bounded per table by the schema's max). For a read-only preview of modest complexity, little an agent needs to call it correctly is missing.

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%, with every parameter documented including defaults, min/max bounds, and the plan_id provenance — so the schema does the heavy lifting. The description adds only the general notion of generated values and symbolic FK placeholders, without clarifying trade-offs such as how 'realistic' affects FK placeholder rendering or locale behavior. Baseline 3 is appropriate.

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 ('Generates deterministic dummy row previews from a seed plan') and immediately scopes it as a dry run ('without writing to the database'). It implicitly separates itself from the actual execution/apply step, though it never names sibling tools like plan_seed_data or seed_from_template to sharpen that distinction.

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?

Usage is implied rather than stated: 'for review before execution' and 'before execution' signal a pre-flight step in the seeding workflow, and the schema ties plan_id to plan_seed_data. However, there are no explicit when-not conditions, no named alternatives for actually applying the seed, and no prerequisites (e.g., that a plan must first exist and validate).

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