Skip to main content
Glama

Modify Forms integration-group condition

forms_conditions_hook_update
Idempotent

Replace an integration group's condition group — a FULL replacement.

Instructions

Replace an integration group's condition group — a FULL replacement.

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>",
      "hook_id": "<hook_id>",
      "condition_id": "<condition_id>",
      "body": "<body>"
    },
    "name": "forms_conditions_hook_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).
hook_idYesIntegration group id (integer) from hooks_list.
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.6/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, and openWorld=true. The description adds important behavioral context beyond those annotations by emphasizing that this is a FULL replacement of the entire condition group, warning the agent that existing clauses are overwritten rather than merged.

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 two short clauses with no wasted wording, and the most important semantic constraint — full replacement — is front-loaded. 'Replace' and 'FULL replacement' are not redundant because the latter rules out a partial update interpretation.

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?

This is a complex nested write tool, but annotations provide the safety profile and the schema fully documents all five parameters, including dry_run and nested write-body constraints. The description supplies the key overwrite semantic; it does not cover return behavior, but no output schema exists and that is a minor omission for this tool.

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%, including rich nested descriptions for body, operator, items, and condition fields. The description does not add syntax or meaning beyond the schema, but the schema already does the heavy lifting, so the baseline 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 gives a specific verb (replace) and resource (an integration group's condition group), and the phrase 'FULL replacement' clarifies the scope. It does not explicitly name the sibling operator-only update tool, but the replacement semantics distinguish it enough for an agent to tell it apart from partial-update alternatives.

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?

The description provides no explicit when-to-use guidance, prerequisites, or named alternative such as forms_conditions_hook_update_operator. The only hint is that this is a full replacement rather than a partial update, which is a behavioral fact rather than routing guidance.

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