Skip to main content
Glama

Delete Forms question

forms_questions_delete
Destructive

Delete a question from a form; one that a display condition refers to is refused.

Instructions

Delete a question from a form; one that a display condition refers to is refused.

Delete the condition first (conditions_question_delete).

The API answers 204 No Content; the returned record confirms the accepted action.

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

Input Schema

NameRequiredDescriptionDefault
forceNoIgnored by the API: a question that a display condition refers to is refused all the same.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
survey_idYesForm id (hex ObjectId) the question belongs to.
question_idYesQuestion id (integer) to delete.

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. Changed3 schema fields changedv0.122.1
    • addedInput schema / properties / force / anyOf
      Added value: +[
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / force / default
      Previous value: -falseNew value: +null
    • removedInput schema / properties / force / type
      Removed value: -"boolean"
  3. First observedv0.67.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds behavior beyond that: the refusal rule for condition-referenced questions and the 204 No Content response with a confirming record. It does not address permissions or rate limits, so not a 5.

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?

Three short, front-loaded sentences with no filler. The final clause about the returned record is slightly vague given no output schema, and the backticked tool reference is a minor readability wart.

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 4-parameter destructive tool with no output schema, the description covers the blocking dependency, the response code, and what comes back. Enough for an agent to call it correctly, though it omits any note on permissions or irreversibility beyond the destructive annotation.

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 survey_id, question_id, dry_run and the ignored force flag are already documented in structured fields. The description adds no parameter-level detail beyond the refusal semantics, which is the expected baseline when the schema does the work.

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 ("Delete a question from a form") and immediately adds the scoping constraint that a condition-referenced question is refused. This lets an agent distinguish it from condition-level deletes 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?

Gives a concrete blocking condition and routes the agent to the prerequisite tool ("Delete the condition first (conditions_question_delete)"), which is real when-to-use guidance. It does not spell out broader when-not cases, but the main failure path is covered.

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