Skip to main content
Glama

Modify Forms survey

forms_surveys_update
Idempotent

Patch a form's settings — only the fields set in body change; returns the Survey.

Instructions

Patch a form's settings — only the fields set in body change; returns the Survey.

Untouched settings keep their current values, so a partial patch is safe to repeat.

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>",
      "body": "<body>"
    },
    "name": "forms_surveys_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesTyped request body for modifying a form (``PATCH /surveys/{survey_id}``). Same optional fields as :class:`SurveyCreate`; only the fields you set are sent, so a partial patch never disturbs untouched settings.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
survey_idYesForm id (24-char hex), from ``surveys_list``.

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. Changed1 schema field changedv0.122.1
    • changedInput schema / properties / body / properties / api_keys / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "An API key a form's integrations use (``api_keys`` item of a request).",
      -      "properties": {
      -        "id": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Id of an existing key."
      -        },
      -        "name": {
      -          "description": "Name of the key.",
      -          "type": "string"
      -        },
      -        "secure": {
      -          "anyOf": [
      -            {
      -              "type": "boolean"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Whether the value is stored encrypted (the API's default)."
      -        },
      -        "value": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Value of the key."
      -        }
      -      },
      -      "required": [
      -        "name"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "description": "An API key a form's integrations use (``api_keys`` item of a request).",
      +      "properties": {
      +        "id": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Id of an existing key."
      +        },
      +        "name": {
      +          "description": "Name of the key.",
      +          "type": "string"
      +        },
      +        "secure": {
      +          "anyOf": [
      +            {
      +              "type": "boolean"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Whether the value is stored encrypted (the API's default)."
      +        },
      +        "value": {
      +          "anyOf": [
      +            {
      +              "format": "password",
      +              "type": "string",
      +              "writeOnly": true
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Value of the key: a secret, sent and never printed."
      +        }
      +      },
      +      "required": [
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. First observedv0.67.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and idempotentHint=true, so the description's "safe to repeat" claim is largely a restatement. The genuinely additive content is the PATCH semantics — untouched settings keep their current values and the reply is a Survey — but nothing is said about permission requirements, the fields the API ignores (is_published, language, is_public), or dry_run behavior.

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 tight sentences with the mutation semantics front-loaded and no filler. The second sentence reinforces the first with an operational consequence rather than padding.

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?

Covers what matters most for a nested, many-optional-field patch operation: partial-update semantics and the return value. With a fully described schema and no output schema, the only real omissions are failure/permission behavior and the ignored-fields caveat that a caller could otherwise waste a round trip on.

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 body, survey_id and dry_run are already documented field by field, including the note that certain fields are ignored on write. The description adds only the high-level rule that unspecified fields are left alone; it does not explain dry_run or the form-id format, which the schema already carries.

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 ("Patch a form's settings") plus the key scoping rule — only fields set in body change — and the return type (Survey). It is clearly distinguishable from forms_surveys_create/delete/publish, though it does not name those siblings explicitly.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the reader infers this is the tool for partial modification of an existing form. There is no explicit when-to-use/when-not guidance, no pointer to forms_surveys_create for full replacement, and no mention that publishing must go through forms_surveys_publish (a rule that only appears buried in the schema).

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