Skip to main content
Glama

Misata Studio: verified synthetic data

Plan a dataset

plan_dataset
Read-onlyIdempotent
See the tables, sizes and relationships the engine would build, before any rows exist. Free (no
rows are made), so it is worth calling before generate_dataset on anything non-trivial: review
what it understood and assumed, then adjust your request or schema before spending a real call.

Args:
    request: Plain-English description (needs an LLM key, unless `schema`/`ddl` is also given —
             then it is still used to ground realism, e.g. locale and what columns mean).
    schema:  A Misata schema dict (see the server instructions for the format). No key needed for
             structure.
    ddl:     CREATE TABLE statements. No key needed for structure.

Returns:
    route:         "chat" (not a dataset request — see `reply`), "design" (the model designed the
                   tables) or "pack" (matched a built-in shape).
    tables:        name, estimated rows, columns, foreign keys for each table the engine would build.
    understanding: what the engine read the request as (business, archetype, assumptions).
    requirements:  every specific thing the request asked for, so you can see what was understood.
    With a schema or ddl, also: numbers (each stated number it read), window, as_of (the data's last day),
    rows (each table's size), planned (the sizes the numbers set, with why), held and set_aside (each
    number the build will hold, or set aside with the reason).
    over_cap:      with a schema or ddl whose sizes pass this connection's row cap, that generate_dataset refuses it
                   and how to size it under the cap.
    cannot_hold:   numbers the request states that no rows can hold together (a rate past 100%, parts adding up
                   past their whole), each in plain words with what to write instead; generate_dataset refuses
                   the request as written until they are changed (say_so_plainly says so).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
ddlNo
schemaNo
requestNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / request / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / request / type
      Removed value: -"string"
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Goes well past the annotations (readOnly, idempotent, non-destructive): it discloses that no rows are produced and no cost is incurred, that an LLM key is required for `request` but not for structural parsing, and that generation will refuse requests exceeding the connection row cap or containing impossible numbers. It does not state latency, cost per call, or the exact shape of the `schema` dict (deferred to server instructions).

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?

Front-loaded with the purpose, the free/dry-run caveat and the sibling call-out before the Args block, so an agent gets the decision-relevant content first. The Returns block is long but each listed field is distinct and there is no output schema, so the length is largely earned; a few entries (e.g. `held`/`set_aside`) could be tightened.

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, the description fully enumerates the return keys (route, tables, understanding, requirements, plus schema/ddl-only fields like numbers, window, as_of, rows, planned, over_cap, cannot_hold) and explains what each means. It also explains the refusal semantics an agent must relay, leaving no significant gap for a planning tool of this complexity.

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 coverage is 0%, so the description carries the load and does: `request` is plain English and needs a key unless `schema`/`ddl` is given (and still grounds locale/column meaning); `schema` is a Misata schema dict; `ddl` is CREATE TABLE statements and needs no key for structure. The key-requirement and interaction effects are meaning the bare schema does not convey.

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?

States a concrete verb and resource: see the tables, sizes and relationships the engine would build, before any rows exist. That scope (a dry-run plan, not a build) immediately separates it from generate_dataset and the read/query siblings.

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?

Explicitly says it is worth calling before generate_dataset on anything non-trivial, and gives the reason (review assumptions, adjust request or schema before spending a real call). It also names the fallback when the output route is "chat" — see `reply` — so the agent knows what to do when the tool declines.

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