Skip to main content
Glama

Create Forms survey

forms_surveys_create

Create a new form from the given settings; returns the created Survey (note its id).

Instructions

Create a new form from the given settings; returns the created Survey (note its id).

Only the fields you set are sent. Follow up with questions_create to add questions and surveys_publish to make the form fillable.

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

Input Schema

NameRequiredDescriptionDefault
bodyYesTyped request body for creating a form (``POST /surveys``). Every setting the API publishes is a field. The CLI has an option for the common ones; the rest are set with its common ``-F key=value`` and ``--body-file``. Unset (``None``) fields are dropped before the request is sent. ``language``, ``is_published`` and ``is_public`` are accepted and ignored by the API (checked live on 2026-10-04): they stay for callers that send them, and setting one logs a warning.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).

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. Changed2 schema fields changedv0.122.1
    • changedInput schema / properties / body / description
      Previous value: -"Typed request body for creating a form (``POST /surveys``).\n\nEvery setting the API publishes is a field. The CLI has an option for the common ones and\ntakes the rest through its repeatable ``--field key=value`` JSON escape, merged onto this\nbody. Unset (``None``) fields are dropped before the request is sent. ``language``,\n``is_published`` and ``is_public`` are accepted and ignored by the API (checked live on\n2026-10-04): they stay for callers that send them, and setting one logs a warning."New value: +"Typed request body for creating a form (``POST /surveys``).\n\nEvery setting the API publishes is a field. The CLI has an option for the common ones; the\nrest are set with its common ``-F key=value`` and ``--body-file``. Unset (``None``) fields\nare dropped before the request is sent. ``language``, ``is_published`` and ``is_public``\nare accepted and ignored by the API (checked live on 2026-10-04): they stay for callers\nthat send them, and setting one logs a warning."
    • changedInput schema / properties / body / properties / api_keys / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "An API key a form's integrations use (``api_keys`` item of a request).",
      -      "properties": {
      -        "id": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Id of an existing key."
      -        },
      -        "name": {
      -          "description": "Name of the key.",
      -          "type": "string"
      -        },
      -        "secure": {
      -          "anyOf": [
      -            {
      -              "type": "boolean"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Whether the value is stored encrypted (the API's default)."
      -        },
      -        "value": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Value of the key."
      -        }
      -      },
      -      "required": [
      -        "name"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "description": "An API key a form's integrations use (``api_keys`` item of a request).",
      +      "properties": {
      +        "id": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Id of an existing key."
      +        },
      +        "name": {
      +          "description": "Name of the key.",
      +          "type": "string"
      +        },
      +        "secure": {
      +          "anyOf": [
      +            {
      +              "type": "boolean"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Whether the value is stored encrypted (the API's default)."
      +        },
      +        "value": {
      +          "anyOf": [
      +            {
      +              "format": "password",
      +              "type": "string",
      +              "writeOnly": true
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Value of the key: a secret, sent and never printed."
      +        }
      +      },
      +      "required": [
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. First observedv0.67.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, and idempotentHint=false. The description adds non-obvious behavior beyond that: only explicitly set fields are sent, and the response carries the new id needed downstream. It does not warn that repeated calls create duplicate forms or mention auth requirements, which keeps it at a 4.

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?

Three short sentences, front-loaded with the action and return value, then the request-semantics caveat, then the workflow handoffs. Nothing is redundant or padded.

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 create tool with a deeply nested body and no output schema, the description covers the essentials: what is produced, that the id is the key output, and what to do next. It omits permissions/scopes and error behavior, but nothing an agent needs in order to call it correctly is missing.

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% across the two parameters, so the nested body fields are already fully documented in structured data. The 'Only the fields you set are sent' sentence adds useful request-construction meaning, but the schema's own SurveyCreate docstring states the same ('Unset (None) fields are dropped'), so the incremental value is modest.

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?

The description opens with a specific verb+resource ('Create a new form') and names the return type ('returns the created Survey (note its id)'), which distinguishes it from forms_surveys_update and forms_surveys_get. The follow-up tool names further anchor it as the entry point of a create workflow.

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?

It gives clear sequencing guidance: create first, then questions_create for questions, then surveys_publish to make it fillable. That is a genuinely useful when-to-use map. It does not explicitly exclude alternatives (e.g., when to clone or update instead), so it falls short of a 5.

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