Skip to main content
Glama

Delete Forms question show condition

forms_conditions_question_delete
Destructive

Delete one condition group from a question; the other groups stay untouched.

Instructions

Delete one condition group from a question; the other groups stay untouched.

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

Input Schema

NameRequiredDescriptionDefault
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

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, openWorldHint=true, so the agent knows this is an irreversible mutation. The description adds real value beyond that by specifying the blast radius: exactly one condition group is removed and sibling groups survive. It omits what happens on a nonexistent condition_id and does not mention the dry_run preview path.

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?

A single front-loaded sentence with zero filler, and the scoping clause is placed where it matters most. Appropriately sized for a targeted delete, though the brevity leaves no room for any cautionary context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent tool with no output schema, the definition covers the essential blast-radius question but leaves gaps: irreversibility, behavior on a missing or mismatched condition_id, and the dry_run preview are not surfaced in prose. Annotations and a fully documented schema carry most of the remaining weight, making this adequate but not complete.

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 all four parameters including dry_run are documented in the schema itself. The description adds only the notion of 'one condition group,' which the condition_id parameter already conveys; baseline 3 is appropriate.

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+resource ('Delete one condition group from a question') and scopes it to question conditions, which distinguishes it from the page/hook/submit condition delete siblings without naming them. Clear enough to select, though it never explicitly contrasts with those siblings.

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

Usage Guidelines2/5

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

No explicit when-to-use guidance or alternatives. It says the other groups stay untouched, which implies a surgical delete rather than clearing all conditions, but prerequisites (condition group must exist, must come from the matching *_list tool) and the dry_run alternative are left entirely to 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