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.

Update form

update_form
DestructiveIdempotent

Rename a form and/or replace its JSON (data replaces the whole form: start from get_form) and/or its theme (replaces the whole theme; omitted keeps it). The JSON is validated first and nothing is saved on errors. Returns { id, name, url }. The public page may show the previous version for a few minutes.

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>",
      "formId": "<formId>"
    },
    "name": "update_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoSurveyJS 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.
nameNo2-50 characters, unique among the workspace's forms.
themeNoLook of the public page, built from a SurveyJS theme preset. Replaces the whole theme.
formIdYes
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description goes well beyond them: it discloses that validation runs first, that nothing is saved on error (atomic failure), the exact return shape { id, name, url }, and the eventual-consistency lag on the public page. That is precisely the extra behavioral context a caller of a destructive mutation needs.

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

Conciseness5/5

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

Three dense sentences with no filler: replacement semantics and the get_form pointer come first, then the validation guarantee and return shape, then the caching caveat. Each sentence changes how an agent would call the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, nested-schema mutation with no output schema, the description covers the failure mode, the return value, the replacement-vs-merge behavior, and the read-after-write caveat. Nothing an agent needs in order to call it safely is missing.

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

Parameters4/5

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

Schema coverage is 60% and the nested data/theme schemas partly document themselves, but the description adds genuinely new meaning: that 'data' and 'theme' are whole-object replacements rather than merges, that omission preserves the existing value, and where to source valid JSON. It adds little about workspaceId/formId, which are self-evident.

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 names the resource (a form) and the three independent mutations it supports (rename, replace JSON, replace theme), and it makes the partial-update semantics explicit ('and/or', 'omitted keeps it'). An agent can distinguish this from create_form or get_form 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 Guidelines4/5

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

It gives a concrete workflow instruction — start from get_form when supplying data — which is real when-to-use guidance. It does not, however, say when to prefer a granular editing sibling such as apply_operations over a full JSON replacement, so the alternative-routing is incomplete but the positive context is clear.

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