Skip to main content
Glama

Update Node

clipform_update_node
DestructiveIdempotent

Update one or more existing nodes' text, type, config, or options. Pass multiple updates in one call instead of separate tool calls. Requires node IDs (returned by clipform_create_form, clipform_add_node, or clipform_get_form). Does not change node positions in the flow. All type definitions and config schemas are derived from @vid-master/config (node-types).

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>",
      "updates": "<updates>",
      "context": "<context>"
    },
    "name": "clipform_update_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextYesDescribe the user's underlying goal in one sentence - not the tool you're calling.
form_idYesThe form UUID (returned by clipform_create_form, not the short share_id from the URL)
updatesYesOne or more node updates to apply

Output Schema

NameRequiredDescriptionDefault
resultsYesOne result per requested update, in order

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / updates / items / properties / prompt / description
      Previous value: -"New node prompt text"New value: +"New node prompt text. Line breaks (\\n) show as written on a plain background; on a video or image background the prompt shows as one caption of up to 3 lines."
  2. Changed3 schema fields changed
    • addedInput schema / properties / updates / items / properties / options / items / properties / score / maximum
      Added value: +999
    • addedInput schema / properties / updates / items / properties / options / items / properties / score / minimum
      Added value: +0
    • changedInput schema / properties / updates / items / properties / options / items / properties / score / type
      Previous value: -"number"New value: +"integer"
  3. Changed1 schema field changed
    • changedInput schema / properties / updates / items / properties / options / items / properties / is_correct / description
      Previous value: -"Mark this as the correct answer for a quiz (maps to score 1; other options score 0). Use this OR score, not both."New value: +"Mark this option as a correct answer for a quiz. Stored as the answer key; when score is not given it also sets score 1 (or 0 on the others)."
  4. Changed2 schema fields changed
    • changedInput schema / properties / updates / items / properties / options / description
      Previous value: -"The full option list (for choice nodes). Include each option's id from clipform_get_form to keep that option and its routes, answer key and results. Options without an id are added as new. Options left out are removed together with their routes. Omit to keep existing options."New value: +"The full option list (for choice nodes). Include each option's id from clipform_get_form to keep that option and its routes, answer key and results. Options without an id are added as new, except that if no option has an id, options are matched to the existing ones by text, then by position, so their routes are kept. Options left out are removed together with their routes. Omit to keep existing options."
    • changedInput schema / properties / updates / items / properties / options / items / properties / id / description
      Previous value: -"The option's id from clipform_get_form. Include it to keep this option with its routes, answer key and results; omit it to add a new option."New value: +"The option's id from clipform_get_form. Include it to keep this option with its routes, answer key and results; omit it to add a new option (if no option in the list has an id, options are matched to the existing ones instead)."
  5. Changed1 schema field changed
    • changedInput schema / properties / updates / items / properties / type / enum
      Previous value: -[
      -  "choice",
      -  "open",
      -  "details",
      -  "draw",
      -  "camera",
      -  "payment",
      -  "button",
      -  "redirect",
      -  "file_download",
      -  "end_screen"
      -]New value: +[
      +  "choice",
      +  "open",
      +  "booking",
      +  "details",
      +  "draw",
      +  "camera",
      +  "payment",
      +  "button",
      +  "redirect",
      +  "file_download",
      +  "end_screen"
      +]
  6. Changed2 schema fields changed
    • changedInput schema / properties / updates / items / properties / options / description
      Previous value: -"Replace all options (for choice nodes). Omit to keep existing options."New value: +"The full option list (for choice nodes). Include each option's id from clipform_get_form to keep that option and its routes, answer key and results. Options without an id are added as new. Options left out are removed together with their routes. Omit to keep existing options."
    • addedInput schema / properties / updates / items / properties / options / items / properties / id
      Added value: +{
      +  "description": "The option's id from clipform_get_form. Include it to keep this option with its routes, answer key and results; omit it to add a new option.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  7. Changed1 schema field changed
    • changedInput schema / properties / updates / items / properties / type / enum
      Previous value: -[
      -  "choice",
      -  "open",
      -  "details",
      -  "camera",
      -  "payment",
      -  "button",
      -  "redirect",
      -  "file_download",
      -  "end_screen"
      -]New value: +[
      +  "choice",
      +  "open",
      +  "details",
      +  "draw",
      +  "camera",
      +  "payment",
      +  "button",
      +  "redirect",
      +  "file_download",
      +  "end_screen"
      +]
  8. Changed1 schema field changed
    • changedInput schema / properties / updates / items / properties / type / enum
      Previous value: -[
      -  "choice",
      -  "open",
      -  "details",
      -  "payment",
      -  "button",
      -  "redirect",
      -  "file_download",
      -  "end_screen"
      -]New value: +[
      +  "choice",
      +  "open",
      +  "details",
      +  "camera",
      +  "payment",
      +  "button",
      +  "redirect",
      +  "file_download",
      +  "end_screen"
      +]
  9. Changed4 schema fields changed
    • addedInput schema / properties / form_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / updates / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / updates / items / properties / config / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / updates / items / properties / options / items / additionalProperties
      Removed value: -false
  10. Changed1 schema field changed
    • changedInput schema / properties / updates / items / properties / type / enum
      Previous value: -[
      -  "choice",
      -  "open",
      -  "details",
      -  "button",
      -  "redirect",
      -  "file_download",
      -  "end_screen"
      -]New value: +[
      +  "choice",
      +  "open",
      +  "details",
      +  "payment",
      +  "button",
      +  "redirect",
      +  "file_download",
      +  "end_screen"
      +]
  11. Changed1 schema field changed
    • changedInput schema / properties / updates / items / properties / options / items / properties / score / description
      Previous value: -"Score value for this option (for scored quizzes). Use 1 for correct, 0 for wrong. Scored options automatically enable correct-answer marking (record_scores) on the node."New value: +"Score value for this option (for scored quizzes). Use 1 for correct, 0 for wrong. Scored options automatically enable correct-answer marking (record_scores) and correct/incorrect answer feedback on the node; set config.choice.show_answer_feedback: false to hide the feedback."
  12. Changed2 schema fields changed
    • addedInput schema / properties / updates / items / properties / options / items / properties / is_correct
      Added value: +{
      +  "description": "Mark this as the correct answer for a quiz (maps to score 1; other options score 0). Use this OR score, not both.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / updates / items / properties / options / items / properties / scores
      Removed value: -{
      -  "additionalProperties": {
      -    "type": "number"
      -  },
      -  "description": "Planned feature - category-based scores keyed by category name. Not yet editable in the dashboard.",
      -  "type": "object"
      -}
  13. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Describe the user's underlying goal in one sentence - not the tool you're calling.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "form_id",
      -  "updates"
      -]New value: +[
      +  "form_id",
      +  "updates",
      +  "context"
      +]
  14. Changed1 schema field changed
    • changedInput schema / properties / updates / items / properties / type / enum
      Previous value: -[
      -  "choice",
      -  "open",
      -  "details",
      -  "draw",
      -  "button",
      -  "redirect",
      -  "file_download",
      -  "end_screen"
      -]New value: +[
      +  "choice",
      +  "open",
      +  "details",
      +  "button",
      +  "redirect",
      +  "file_download",
      +  "end_screen"
      +]
  15. Changed1 schema field changed
    • changedInput schema / properties / updates / items / properties / config / description
      Previous value: -"Type-specific configuration keyed by node type. Omit to use defaults. Per-type keys, shapes, and defaults are listed in the clipform_create_form description; craft guidance via clipform_get_guide."New value: +"Type-specific configuration keyed by node type. Omit to use defaults. Per-type keys, shapes, and defaults are listed in the clipform_create_form description; craft guidance via clipform_get_guide. Merged shallowly into the stored config - only the keys you pass are changed. Set a key to null to delete it; nested objects are replaced wholesale. When type is changed in the same call, config replaces the stored configuration instead of merging."
  16. Changed1 schema field changed
    • changedInput schema / properties / updates / items / properties / type / enum
      Previous value: -[
      -  "choice",
      -  "open",
      -  "contact",
      -  "draw",
      -  "button",
      -  "redirect",
      -  "end_screen"
      -]New value: +[
      +  "choice",
      +  "open",
      +  "details",
      +  "draw",
      +  "button",
      +  "redirect",
      +  "file_download",
      +  "end_screen"
      +]
  17. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "results": {
      +      "description": "One result per requested update, in order",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "type": "string"
      +          },
      +          "node_id": {
      +            "type": "string"
      +          },
      +          "ok": {
      +            "type": "boolean"
      +          },
      +          "warnings": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "node_id",
      +          "ok"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "results"
      +  ],
      +  "type": "object"
      +}
  18. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description contributes the useful scoping fact that positions are untouched and points to clipform_get_guide and @vid-master/config for type/config schemas, but it does not warn that omitting options removes them with their routes (that lives only in the schema) or describe what the response returns.

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?

Four short sentences, front-loaded with the action and the batching rule before prerequisites. The final sentence about @vid-master/config (node-types) leans toward implementation detail, but it does direct the agent to where config shapes come from.

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 batch-mutation tool with a rich schema and an output schema, the description covers the action, batching, ID prerequisites, and an explicit non-effect (positions). An agent has everything needed to call it correctly without guessing.

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 node_id, updates, config, and options are all documented in the schema itself, including merge and option-matching semantics. The description adds only the provenance note for node IDs and the config-schema pointer, so the baseline of 3 applies.

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 ('Update one or more existing nodes') and enumerates the mutable fields (text, type, config, options). It also draws an explicit boundary ('Does not change node positions'), which separates it from add/delete/move-style siblings at a glance.

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 batching directive ('Pass multiple updates in one call instead of separate tool calls') and states where node IDs come from (clipform_create_form, clipform_add_node, clipform_get_form). It does not explicitly say when to prefer clipform_add_node versus this tool, but the 'existing nodes' framing implies it.

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.