Skip to main content
Glama

Misata Studio: verified synthetic data

Generate a verified dataset

generate_dataset
Idempotent
Make a verified relational dataset and wait for it: every foreign key checked, dates correctly
ordered, declared aggregates and rates exact, before anything is returned. Deterministic for a seed.

Use this when you give a `schema` or `ddl` (seconds). For a plain-English `request` the engine
designs the tables with a model, which can take several minutes: call start_generation instead and
poll get_status, so the call does not sit open and time out.

Args:
    request:  Plain-English description (needs an LLM key unless `schema`/`ddl` is also given). With no key,
              design it yourself instead: blueprint_guide, then `blueprint` below.
    schema:   A Misata schema dict for exact structural control. No key needed for structure. Its `numbers`
              (revenue by month, churn, MRR, shares, averages) are held exactly: see the server instructions.
              A column's `moves_with` ({"column": "customers.income", "strength": 0.6}) pairs it with another
              number of its row or its parent's, by rank, each keeping its own values.
    ddl:      CREATE TABLE statements. No key needed for structure. Beside it, schema={"numbers": [...],
              "window": {...}} holds the story's numbers on these tables.
    seed:     Reproducibility seed — the same request/schema and seed always produce the same rows.
    research: Ground realistic numbers (prices, growth rates) in real published facts via a web
              search. Off by default (an anonymous caller's request should not trigger external
              calls unless asked for); needs a key regardless of `schema`/`ddl`.
    blueprint: The engine's full design language (blueprint_guide has the reference): readings around
              a parent's nominal, drift, autocorrelation, cause-and-effect, event windows, exact
              aggregates. Use it whenever the data must behave like the real process. No key needed;
              run validate_blueprint on it first.
    story:    A built-in shape held to exact numbers, the way Studio's plan screen states them. No key
              needed; built by code in seconds. {"pack": "saas_sales", "window": {"start": "2024-09",
              "end": "2026-08"}, "curves": [{"lever": "mrr_curve", "points": {"2024-09": 50000,
              "2026-08": 200000}}], "rates": [{"lever": "monthly_logo_churn", "value": 0.02,
              "events": [{"name": "Q3 churn spike", "start": "2025-07-01", "end": "2025-09-30",
              "multiplier": 2.5}]}]}. Shapes: saas_sales, ecommerce, fintech, healthcare. Every
              stated number is held exactly and read back in SQL; get_certificate has the answer key.
              `numbers` sets plain sizes and shares ({"customers": 3000, "products": 400, "return_rate":
              0.06}). With no model key the shape's content is generic (ecommerce sells electronics,
              books, toys): write it yourself as `content`, e.g. {"catalog": [{"name": "Linen Duvet
              Cover", "category": "Bedding", "brand": "Fernhill", "price": 89.0}, ...]} (30-100 items
              in this business's own categories, at its real prices).

Returns:
    dataset_id:   pass this to get_certificate / query_dataset / export_dataset.
    passed:       whether every check held. A dataset that did not pass is still returned, with
                  `certificate.findings` saying what failed — inspect before trusting it.
    verification: a short, plain-language account of what was checked and what held — show it to the
                  person as the proof, in place of asking them to take the data on trust.
    tables:       {name: {columns, preview_rows (first 20), total_rows}} — the preview only; every
                  row is in the stored dataset, reachable by query_dataset/export_dataset.
    certificate:  the short form (claims, requirements, findings). get_certificate returns the rest
                  (patterns, realism scorecard, every proof chart).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ddlNo
seedNo
storyNo
schemaNo
requestNo
researchNo
blueprintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / story
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Story"
      +}
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, it discloses blocking behavior, timeout risk, deterministic seeding, external research being off by default, LLM key requirements, and that failed datasets are still returned with findings. This is rich operational context not captured by annotations.

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 long but front-loaded, with the core behavior and async alternative stated first. The Args and Returns sections are dense and example-heavy; they earn most of their space for a complex tool, though some detail could be trimmed.

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

Completeness5/5

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

With no output schema and seven params, the description supplies a Returns section that explains dataset_id, passed, verification, tables, and certificate. It also explains failure behavior and where every row is reachable, making it complete for an agent to call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It explains every parameter: request, schema, ddl, seed, research, blueprint, and story, including nested structures like moves_with and story rates.

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 states a specific verb and resource: 'Make a verified relational dataset and wait for it.' It also distinguishes this synchronous path from the async sibling by saying to use start_generation for plain-English requests that can take minutes.

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?

It gives explicit when-to-use guidance: use this tool when providing schema or ddl (seconds), use start_generation plus get_status for plain-English requests. It also names validate_blueprint before blueprint use and describes key requirements per mode.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources