Skip to main content
Glama

Modify Forms question show condition

forms_conditions_question_update
Idempotent

Replace a question's condition group — a FULL replacement, not a partial update.

Instructions

Replace a question's condition group — a FULL replacement, not a partial update.

Despite the PATCH verb the API validates a complete group: operator and at least one clause are both required; the group id is never sent.

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

Input Schema

NameRequiredDescriptionDefault
bodyYesFULL replacement (PATCH validates the complete group).
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``.
question_idYesQuestion id (integer) from questions_list.
condition_idYesCondition group id (integer) from the matching *_list tool.

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.4/5.0
Behavior4/5

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

Adds real context beyond the annotations: the PATCH verb notwithstanding, the API validates a complete group, so omitted clauses are discarded and missing operator/clauses fail. That is the key destructive-in-effect nuance for an idempotent-but-replacing write. It does not describe error responses or permission requirements.

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 short sentences, front-loaded with the replacement semantics before the validation constraints. Nothing redundant.

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?

For a nested-body mutation with no output schema, the definition covers the essential semantics—full replacement, required fields, id handling—while the schema documents the clause shape and dry_run. Only failure behavior on an invalid group is left implicit.

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 100%, so the baseline is 3, but the description adds a non-obvious routing fact: the group 'id' is never sent in the body, clarifying that condition_id belongs in the path. That meaning is not evident from the schema alone.

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 condition group') and immediately contrasts it with partial-update semantics, which separates it from the *_update_operator sibling. An agent can pick it correctly 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?

'FULL replacement, not a partial update' gives the condition that selects this tool over partial-edit variants, and the requirement for operator plus at least one clause tells the agent when the call is valid. It stops short of naming an explicit alternative or stating when not to use it.

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