Skip to main content
Glama

data_mock_api_generator

Build mock APIs from a JSON schema template, defining endpoint paths, record shapes, and counts. Optionally seed for reproducible fixtures.

Instructions

Menu ID: mock_api_generator. Mock API Generator. Build small mock APIs from a JSON schema template — endpoint paths + record shapes + counts. Optional seeded mode for reproducible fixtures. Use describe_tool with tool_id "mock_api_generator" for full page guidance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateYes
seedYes
Behavior3/5

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

The description discloses it builds mock APIs and has an optional seeded mode for reproducibility. No annotations are provided, so the description carries the load, but it does not mention side effects, permissions, or fate of the generated APIs. It is adequate but not thorough.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is relatively short but includes redundant introductory text ('Menu ID: mock_api_generator. Mock API Generator.'). It front-loads the action but could be more streamlined. The reference to describe_tool adds length without immediate value.

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?

Given the complex nested input schema and no output schema, the description lacks depth. It does not explain the return value (the mock API endpoint or structure) or provide examples. It feels incomplete for a tool with 2 required parameters and nested objects.

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

Parameters2/5

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

With 0% schema description coverage, the description attempts to explain the template parameter as 'JSON schema template — endpoint paths + record shapes + counts' and seed as 'optional seeded mode'. However, the complex nested schema of endpoints, methods, and fields is not detailed, leaving significant ambiguity.

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 clearly states it builds mock APIs from a JSON schema template, specifying endpoint paths, record shapes, and counts. It differentiates from siblings like random data generators by focusing on API generation. However, it does not explicitly contrast with similar data generation tools.

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?

No guidance on when to use this tool versus alternatives; the description merely points to describe_tool for more info, which shifts the burden. Sibling tools like data_random_data_generator are not mentioned or compared.

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/Jambozx/onlinecybertools-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server