Skip to main content
Glama

Boilerplate Schema Generator

generate_boilerplate_schema
Read-onlyIdempotent

Generates a production-ready Next.js App Router repository layout, Prisma schema, and PostgreSQL DDL for a business domain (b2b_saas, marketplace, healthcare_admin, logistics, restaurant_retail, professional_services, manufacturing). Multi-tenant by default with org membership and audit logging; optional agent-run tables.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesBusiness domain: b2b_saas | marketplace | healthcare_admin | logistics | restaurant_retail | professional_services | manufacturing.
outputNoWhat to generate: repo_layout | prisma | sql | all (default all).all
project_nameNoRepository / package name (kebab-case).app
include_ai_agentsNoAdd AgentRun/ToolCall tables plus agent runtime and MCP directories (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world behavior, so the safety profile is covered. The description adds real context beyond that: output is multi-tenant by default with org membership and audit logging, and agent-run tables are optional.

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 compact clauses with the artifact list front-loaded and defaults trailing. The enum re-listing is slightly redundant with the schema, but nothing else is wasted.

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?

No output schema exists, so the description carries the burden of telling the agent what comes back, and it names the three artifact types. It does not describe the shape of the repo layout or whether content is returned vs. written, which is a minor remaining gap for a generator.

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%, so all four parameters (including the two enums) are already documented. The description restates the domain enum and hints at the include_ai_agents default but adds no syntax or format detail beyond the schema.

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 specific verb (generates) and three concrete artifacts (Next.js App Router repo layout, Prisma schema, PostgreSQL DDL) for a named set of domains. An agent can tell immediately what this tool produces without opening the schema.

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: call it when you need boilerplate for one of the listed business domains. There is no explicit when-not, no prerequisites, and no named alternative, though the sibling tools are unrelated enough that routing is not really ambiguous.

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