Skip to main content
Glama

Manage forms

forms_manage
Destructive

Lead-capture forms with a public link; each submission creates or updates a contact. action: list | templates | get (id) | create (name?, templateId?) | update (id + changes) | delete (id; the link stops working; confirm) | submissions (id; latest 200).

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

Input Schema

NameRequiredDescriptionDefault
idNoForm id.
nameNo
tagsNoTag names put on each new lead (max 10). Replaces the list.
introNo
styleNoColours "#rrggbb". {} = default look. Replaces the style.
titleNo
actionYes
fieldsNo[{ key, label, type: text|email|phone|textarea|select|address|date|checkbox|hidden|section, required?, options? (select), default? (hidden), text? (section) }]. Keys name, first_name, last_name, email, phone fill the contact. hidden = ?<key>= on the link. Replaces the list.
createTaskNoAlso make a follow-up task per submission.
templateIdNoFrom action templates.
redirectUrlNoAfter submit, go here ("" = successMessage).
submitLabelNo
successMessageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / fields / description
      Previous value: -"[{ key, label, type: text|email|phone|textarea|select|address|date|checkbox|hidden, required?, options? (select), default? (hidden) }]. Keys name, first_name, last_name, email, phone fill the contact. hidden = ?<key>= on the link. Replaces the list."New value: +"[{ key, label, type: text|email|phone|textarea|select|address|date|checkbox|hidden|section, required?, options? (select), default? (hidden), text? (section) }]. Keys name, first_name, last_name, email, phone fill the contact. hidden = ?<key>= on the link. Replaces the list."
  2. Changed4 schema fields changed
    • changedInput schema / properties / fields / description
      Previous value: -"[{ key, label, type: text|email|phone|textarea|select|address, required?, options? (select) }]. Keys name, first_name, last_name, email, phone fill the contact. Replaces the list."New value: +"[{ key, label, type: text|email|phone|textarea|select|address|date|checkbox|hidden, required?, options? (select), default? (hidden) }]. Keys name, first_name, last_name, email, phone fill the contact. hidden = ?<key>= on the link. Replaces the list."
    • addedInput schema / properties / redirectUrl
      Added value: +{
      +  "description": "After submit, go here (\"\" = successMessage).",
      +  "type": "string"
      +}
    • changedInput schema / properties / style / description
      Previous value: -"Appearance: { button_color, background_color, text_color: \"#rrggbb\", font: system|serif|rounded|mono }. {} resets to the default look. Replaces the whole style."New value: +"Colours \"#rrggbb\". {} = default look. Replaces the style."
    • changedInput schema / properties / templateId / description
      Previous value: -"For create, from action templates. Default: a simple contact form."New value: +"From action templates."
  3. Changed1 schema field changed
    • addedInput schema / properties / style
      Added value: +{
      +  "description": "Appearance: { button_color, background_color, text_color: \"#rrggbb\", font: system|serif|rounded|mono }. {} resets to the default look. Replaces the whole style.",
      +  "properties": {
      +    "background_color": {
      +      "type": "string"
      +    },
      +    "button_color": {
      +      "type": "string"
      +    },
      +    "font": {
      +      "enum": [
      +        "system",
      +        "serif",
      +        "rounded",
      +        "mono"
      +      ],
      +      "type": "string"
      +    },
      +    "text_color": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds genuinely new behavior: submissions create or update contacts as a side effect, delete permanently kills the public link, and submissions returns only the latest 200. It omits permission/auth requirements and what happens on failure, so it is strong but not exhaustive.

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?

The resource definition is front-loaded and the action catalogue is compressed into one line with zero padding. The telegraphic notation ("id + changes", "create (name?, templateId?)") is efficient but slightly cryptic for an agent parsing it cold.

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 13-parameter, nested-object, no-output-schema mutation tool, the definition covers the essentials: the resource model, the action set, per-action arguments, and the destructive consequence of delete. What is missing is return-shape context for list/get/templates and any note on permissions or limits beyond the 200-submission cap.

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?

At 54% schema coverage with 13 parameters, the description compensates by mapping parameters to actions (get takes id, create takes name?/templateId?, update takes id + changes), which the schema alone does not convey. It adds little on the remaining fields like tags, style, or fields, whose semantics live entirely in the schema.

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 first clause defines the resource precisely ("Lead-capture forms with a public link; each submission creates or updates a contact") and the action enumeration makes the verb set explicit. It is clear enough to distinguish from contacts_manage or templates_manage in spirit, but it never names or contrasts those siblings, so differentiation is left to inference.

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 action list effectively acts as per-action routing guidance: it shows which actions need an id, which need name/templateId, and flags delete as requiring confirmation because the link stops working. It stops short of stating when a caller should prefer a sibling tool (e.g. templates_manage) instead of this one.

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