Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FlowRunner Prompt to Flow. If you published it, claim ownership there.

Create form

create_form

Create a form from SurveyJS JSON and an optional theme (default look without it); the JSON is validated first and nothing is saved on errors. Returns { id, name, url } — url is the public page; get_flow_urls provides the flow URL for submitEndpointUrl.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspaceId": "<workspaceId>",
      "name": "<name>",
      "data": "<data>"
    },
    "name": "create_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesSurveyJS Form Library 2.5 JSON (https://surveyjs.io/form-library/documentation); other SurveyJS keys pass through as is. Replaces the whole form; names of all elements must be unique across the form.
nameYes2-50 characters, unique among the workspace's forms.
themeNoLook of the public page, built from a SurveyJS theme preset. Replaces the whole theme.
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the bar is lower; the description still adds real value by disclosing that the JSON is validated first and that nothing is persisted on errors. It also states the return shape ({ id, name, url }) and clarifies that url is the public page rather than the flow URL, which the annotations do not cover.

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?

Three sentences, front-loaded with the action, then error behavior, then return value — no filler. The final clause about get_flow_urls is slightly compressed into the return-value sentence but still earns its place by disambiguating two URL concepts.

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?

With no output schema and a deeply nested SurveyJS payload, the description correctly compensates by naming the return fields and their meanings, and by stating the validation/no-save contract. Given the schema's own 75% coverage, little an agent needs to call this correctly is missing.

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 75% and the schema itself carries rich per-field descriptions, including the full SurveyJS question-type semantics, so the baseline is 3. The description adds only that the theme is optional and yields a default look without it, plus the meaning of the returned url — useful but marginal against an already-documented 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?

The description opens with a specific verb+resource ('Create a form from SurveyJS JSON') and immediately qualifies scope with the optional theme and the input format. An agent can distinguish this from update_form/get_form without opening the schema, since the SurveyJS-JSON input contract is named.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear context for invocation — supply SurveyJS JSON, optionally a theme — and explicitly routes to the sibling get_flow_urls when the flow URL for submitEndpointUrl is needed. It stops short of stating when to prefer create_form over create_flow or update_form, but the create-vs-update distinction is implied by the verb.

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