Skip to main content
Glama

Create signup form

create_form

Create an embeddable signup form from a template (newsletter, waitlist or product-updates). Returns the form with its id. Errors: unknown_template, invalid_form_config, unknown_form_field, invalid_origin, list_not_found. Next: put and the runearc-embed.js script on your site, or create_popup to show the form on a trigger.

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

Input Schema

NameRequiredDescriptionDefault
nameYesA name for the form, such as "Footer signup".
tagsNoTag new contacts with these tags.
list_idsNoAdd new contacts to these lists (list ids).
templateNoStarting template: newsletter, waitlist or product-updates. Default newsletter.
double_opt_inNoSend a confirmation email first (double opt-in).
allowed_originsNoWebsites allowed to submit, such as ["https://example.com"]. Empty means any.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (which already declare non-read-only, non-destructive, non-idempotent), the description discloses the return shape ('the form with its id'), a full list of error codes, and the embedding requirement. This is meaningful operational context; it does not cover auth/permission needs or rate limits.

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?

Front-loaded with the action and return value, then errors, then next steps — a sensible order. The error enumeration is slightly listy but each entry is an actionable signal, so little is wasted.

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?

With no output schema, the description correctly compensates by stating the return value, and it covers the failure modes an agent must handle. For a 6-parameter creation tool it is nearly complete, missing only permission or scope requirements.

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 every parameter is already documented, and the description largely restates the template values already in the schema. Baseline 3 applies since it adds no format or validation nuance beyond what the schema provides.

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 an embeddable signup form'), names the template families it draws from, and clarifies the artifact produced. It implicitly separates itself from create_popup by describing that sibling as the trigger-based display path.

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?

The closing 'Next:' sentence gives concrete down-stream guidance and names create_popup as the alternative for trigger-based display, which lets an agent choose between embed and popup. It stops short of stating exclusions or prerequisites (e.g., when not to use a form at all).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources