Skip to main content
Glama

IA-QA — 152 QA & Dev Tools for AI Agents

mock_from_schema

Read-only

Generate realistic mock data from a JSON Schema. Supports all common types (string, number, integer, boolean, array, object, null), format hints (email, date, date-time, uri, uuid), enum, const, and nested schemas.

Input Schema

NameRequiredDescriptionDefault
seedNoOptional seed string for deterministic output (uses first char codes)
countNoNumber of mock objects to generate (default: 1, max: 20)
schemaYesThe JSON Schema to generate from — a JSON string, or the schema object itself.

Output Schema

NameRequiredDescriptionDefault
countNo
resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "count": 20,
      +    "schema": {
      +      "properties": {
      +        "email": {
      +          "format": "email",
      +          "type": "string"
      +        },
      +        "id": {
      +          "maximum": 9,
      +          "minimum": 5,
      +          "type": "integer"
      +        },
      +        "tag": {
      +          "enum": [
      +            "a",
      +            "b"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "email"
      +      ],
      +      "type": "object"
      +    }
      +  }
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / schema / description
      Previous value: -"JSON Schema as a JSON string"New value: +"The JSON Schema to generate from — a JSON string, or the schema object itself."
    • changedInput schema / properties / schema / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "object",
      +  "array"
      +]
  3. Changed1 schema field changed
    • addedOutput schema / properties
      Added value: +{
      +  "count": {
      +    "type": "number"
      +  },
      +  "results": {}
      +}
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  5. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.