Skip to main content
Glama

Create Forms integration-group condition

forms_conditions_hook_create

Add a condition group to an integration group; returns it with its id.

Instructions

Add a condition group to an integration group; returns it with its id.

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

Input Schema

NameRequiredDescriptionDefault
bodyYesThe new group: operator + at least one clause.
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``.

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 the operation is a non-read-only, non-idempotent, non-destructive, open-world write, so the description does not need to restate safety. It usefully adds that the newly created group is returned along with its 'id', which is the key fact for chaining a follow-up update. It does not mention duplicate-group behavior (relevant given idempotentHint=false) or permission requirements, so credit is partial.

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 clause with no filler; the semicolon clause about the return value is worth keeping. It is efficient, though the terseness borders on under-specification rather than disciplined brevity.

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 nested-body write with four parameters and no output schema, the definition tells the agent what is created and that an id comes back, and the schema covers the payload in depth. Missing pieces are permission requirements, duplicate-handling, and any mention of the dry_run parameter's purpose, which are left entirely to the schema.

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% and the nested body/items schema is unusually well documented, including the 100-character value cap and the required type/condition fields, so the description adds nothing the schema does not already carry. Baseline 3 applies.

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 names a specific verb ('Add') and a specific resource ('a condition group to an integration group'), which is enough to separate it from the read/update/delete siblings in the hook-condition family. It stops short of explicitly contrasting with forms_conditions_hook_update or forms_conditions_hook_update_operator, so the create-vs-modify boundary is implied by the verb rather than stated.

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?

There is no when-to-use guidance, no statement of prerequisites (e.g., that the integration group must already exist or that only one group may be created per hook), and no named alternative. The agent must infer from the verb that this creates rather than modifies, and must look elsewhere for the parent resources named in the schema (hooks_list, surveys_list).

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