Skip to main content
Glama

Modify Forms question

forms_questions_update
Idempotent

Replace a question's settings (same typed body as create); returns the updated Question.

Instructions

Replace a question's settings (same typed body as create); returns the updated Question.

The body's type must match the existing question's type; look it up with questions_get first.

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": {
      "survey_id": "<survey_id>",
      "question_id": "<question_id>",
      "body": "<body>"
    },
    "name": "forms_questions_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesTyped question body; ``type`` must match the existing question.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
survey_idYesForm id (hex ObjectId) the question belongs to.
question_idYesQuestion id (integer) to modify.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. First observedv0.67.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, and openWorld=true, so the safety profile is covered. The description adds real behavioral context beyond that: this is a full replacement of settings, not a patch, and it fails if the supplied type does not match the existing question. It stops short of saying what happens to existing fields omitted from the body, which matters for a replace semantics.

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?

Two short sentences, front-loaded with the operation and immediately followed by the hard constraint and the lookup step. Nothing is redundant or padded.

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, the description usefully states the return value and covers the critical type-matching constraint and lookup prerequisite for a full-body mutation. The remaining gap is the lack of any statement about whether omitted fields are cleared on replace.

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% and the body schema already states 'type must match the existing question', so the description largely restates structured data. It adds no meaning for survey_id, question_id, or dry_run beyond what the schema documents.

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 and resource ('Replace a question's settings') and disambiguates from forms_questions_create by noting it takes the same typed body, while also stating the return value. An agent can distinguish this from sibling mutators (create, delete, move, conditions) without opening another 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?

Gives a concrete prerequisite workflow: look up the existing question with questions_get first, because the body's type must match. This is clear when-to-use guidance tied to a named sibling, though it does not explicitly state that new questions should go through forms_questions_create instead.

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