Skip to main content
Glama

Set Forms question conditions operator

forms_conditions_question_update_operator
Idempotent

Set the boolean operator BETWEEN a question's condition groups; returns the envelope.

Instructions

Set the boolean operator BETWEEN a question's condition groups; returns the envelope.

Group-internal operators are untouched — change those via conditions_question_update.

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>",
      "operator": "<operator>"
    },
    "name": "forms_conditions_question_update_operator"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
operatorYesBoolean operator joining the condition groups.
survey_idYesForm id (24-char hex), from ``surveys_list``.
question_idYesQuestion id (integer) from questions_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. Addedv0.122.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=false, idempotentHint=true), so the description's job is narrower; it adds the important mutation boundary that only the between-group operator is replaced while group-internal operators are left intact, and notes that the envelope is returned. It does not discuss auth requirements or validation failures, but the key side-effect scope is disclosed.

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 action and its scope, followed by the exclusion/alternative. Zero filler.

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?

No output schema exists, and the description compensates by saying the envelope is returned; parameters are fully described in the schema, and the mutation boundary is stated. Only minor gaps remain, such as error or validation behavior, which is not critical for a simple setter.

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 coverage is 100%, so all four parameters including dry_run and the operator enum are documented in the schema itself. The description reinforces the operator's scope ('BETWEEN a question's condition groups') but adds little syntactic or semantic detail beyond what the schema already states.

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 ('Set the boolean operator BETWEEN a question's condition groups') and immediately scopes it away from the sibling that handles group-internal operators. An agent can distinguish this from forms_conditions_question_update without opening either 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?

Explicitly names the alternative for the adjacent operation ('change those via conditions_question_update'), giving clear routing between between-group and within-group operator edits. It does not spell out when to prefer this over the hook/page/submit operator variants, though the 'question's' scoping implies 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