Skip to main content
Glama

Create Forms key set

forms_keysets_create

Create a batch of single-use personal-link keys on a form; returns the created Keyset.

Instructions

Create a batch of single-use personal-link keys on a form; returns the created Keyset.

The API rejects a body without is_enabled, so set it explicitly alongside name and total. Download the generated keys via the forms keysets download CLI command (binary payload — not exposed over MCP).

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

Input Schema

NameRequiredDescriptionDefault
bodyYesKey set settings; the API requires ``is_enabled`` on create.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
survey_idYesForm id (24-char hex) to add the key set to.

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

A4.2/5.0
Behavior4/5

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

Annotations already declare the write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the lower bar applies. The description still adds real behavior: the API silently rejects a body lacking is_enabled, and generated keys can only be exported via the CLI because the binary payload is not exposed over MCP. Not covered: auth/permission needs or whether repeated calls with the same body create duplicates.

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 sentences, front-loaded with the outcome and the return value, then the API constraint, then the download caveat. The CLI download note is slightly tangential to the create action but earns its place by preventing a dead end when the agent looks for the generated keys.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nested-body create tool with no output schema, the definition covers what it makes, which parameter the API will reject, and what is not retrievable through MCP. Combined with full annotation and schema coverage, nothing essential for calling it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the description adds meaning the schema does not: is_enabled is nullable with a null default in the schema yet is mandatory for the API call, which is exactly the kind of trap an agent would fall into. It also ties name and total together as the fields that travel with is_enabled, though it says nothing about dry_run semantics beyond what the schema already documents.

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: 'Create a batch of single-use personal-link keys on a form', plus what is returned ('the created Keyset'). The create verb and the batch/personal-link keys framing cleanly separate it from the get/list/update/delete siblings without needing to name them.

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?

Usage is implied by the create semantics and the prerequisite that is_enabled must be set, but the description never states when to choose this tool over alternatives such as updating an existing key set, nor any exclusions or limits on batch size or how many key sets a form may hold.

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