Skip to main content
Glama

Modify Forms submit-button show condition

forms_conditions_submit_update
Idempotent

Replace a submit-button condition group — a FULL replacement, not a partial update.

Instructions

Replace a submit-button condition group — a FULL replacement, not a partial 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>",
      "condition_id": "<condition_id>",
      "body": "<body>"
    },
    "name": "forms_conditions_submit_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``.
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

A3.7/5.0
Behavior4/5

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

The annotations already declare this as a non-read-only, idempotent, open-world write. The description adds meaningful behavioral context beyond those annotations by emphasizing that the entire condition group is replaced rather than partially modified, warning the agent that existing group content is overwritten. It does not elaborate on error behavior or dry_run, but the central mutation semantics are 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?

The description is a single sentence with the key constraint front-loaded and no unnecessary wording. The em dash makes the full-replacement semantics immediate and memorable.

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 four-parameter mutation with a nested body object, the description is thin, but the input schema is detailed and fully documented, and annotations cover the safety profile. The critical full-replacement behavior is present, though guidance on alternatives and operational context is limited.

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 the schema itself documents survey_id, condition_id, body structure, nested clause fields, and dry_run. The description adds no parameter-specific meaning beyond reiterating that the body is a full replacement. With this level of schema coverage, the baseline score of 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?

The description uses a specific verb and resource, stating that it replaces a submit-button condition group. It also distinguishes the operation from a partial update, which helps separate it from the sibling operator tool. The main gap is that it does not explicitly name the sibling alternative, but the scope is still clear.

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

Usage Guidelines3/5

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

The phrase 'FULL replacement, not a partial update' gives implied usage guidance: use this when replacing the entire group, not for targeted operator changes. However, it does not name the alternative tool, state prerequisites, or explain when a create rather than update is appropriate.

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