Skip to main content
Glama

update_form

Destructive

Edit a questionnaire: title, description, thanks message, task, questions (list or markdown), status open/closed, or regenerate=true for a new link (the old one stops working).

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

Input Schema

NameRequiredDescriptionDefault
issueNoissue the answers are added to as a comment, e.g. "WEB-12"
titleNonew questionnaire title
statusNoopen = takes answers, closed = no longer takes answers
thanksNomessage shown after the client sends the answers
form_idYesquestionnaire id (from list_forms)
markdownNothe questions as Markdown: headings are sections, list items are questions
questionsNothe questions as a list (instead of markdown)
regenerateNotrue = a new public link; the old one stops working
descriptionNotext shown above the questions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / description / description
      Added value: +"text shown above the questions"
    • addedInput schema / properties / form_id / description
      Added value: +"questionnaire id (from list_forms)"
    • addedInput schema / properties / issue / description
      Added value: +"issue the answers are added to as a comment, e.g. \"WEB-12\""
    • addedInput schema / properties / markdown / description
      Added value: +"the questions as Markdown: headings are sections, list items are questions"
    • addedInput schema / properties / questions / description
      Added value: +"the questions as a list (instead of markdown)"
    • addedInput schema / properties / regenerate / description
      Added value: +"true = a new public link; the old one stops working"
    • addedInput schema / properties / status / description
      Added value: +"open = takes answers, closed = no longer takes answers"
    • addedInput schema / properties / thanks / description
      Added value: +"message shown after the client sends the answers"
    • addedInput schema / properties / title / description
      Added value: +"new questionnaire title"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, and the description adds important behavioral context by stating that regenerate=true produces a new link and the old one stops working. It also clarifies that status controls whether the questionnaire accepts answers.

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?

The description is a single dense sentence that front-loads the core action and enumerates editable components efficiently. It could be slightly clearer by aligning its list exactly with the actual parameter names.

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

Completeness3/5

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

For a destructive mutation tool with nine parameters and no output schema, the description covers most editable fields and the link-regeneration consequence. However, the unexplained 'task' reference and omission of form_id and issue leave small but real gaps.

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 the schema already documents parameters thoroughly. The description restates several fields but omits form_id and issue, and refers to a 'task' that is not present in the schema, so it does not add reliable meaning 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?

The description uses a specific verb, 'Edit', with the resource 'questionnaire', and enumerates the editable fields. This makes the tool's purpose immediately distinguishable from creation-oriented siblings such as create_form.

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?

The word 'Edit' clearly signals that this tool modifies an existing questionnaire rather than creating one. However, it does not explicitly say when not to use it or name alternatives such as create_form for new questionnaires.

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.