Skip to main content
Glama

form_generate_json_schema

Generates a JSON schema from a provided form layout schema, converting form designs into structured validation schemas for downstream use.

Instructions

Generates json schema based on the provided form layout schema POST /form-service/api/forms/designer/generate-form-json-schema

Input Schema

NameRequiredDescriptionDefault
bodyYesForm layout schema this request is made for — Content-Type: text/plain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds nothing beyond restating the operation and pasting the endpoint — no note on whether anything is persisted, what auth is required, or why a 'generate' call is flagged non-read-only.

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?

One sentence plus the endpoint path — no padding or redundancy. It is front-loaded with the operation, though the raw URL contributes little and could be dropped.

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?

For a generator tool the return value is the entire point, yet there is no output schema and the description never says what kind of JSON schema comes back or in what form. With only one parameter and no annotations explaining side effects, the description should carry more of that burden than it does.

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 coverage is 100% and the single body parameter is documented as the form layout schema with text/plain content type, so the schema does the heavy lifting. The description only restates 'provided form layout schema' and adds no format, size, or validation detail.

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?

States a specific verb and resource: generates a JSON schema from a provided form layout schema. That is clear enough to act on, but the crowded form_* sibling set (form_get_json_object_schema, form_generate, form_get_form_layout_schema) is never differentiated, so the agent must guess which generator is the right one.

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?

There is no statement of when to use this tool, when not to, or which alternative to pick. The raw POST path is the only extra context, and it does not tell the agent whether this is for designer-time authoring versus runtime schema retrieval.

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

Deploy Server

Other Tools