Skip to main content
Glama

Update form

update_form
Idempotent

Update a form definition by id (only provided fields). Passing 'fields' REPLACES the whole field list and bumps the form version. Set status to 'active' to make it live.

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

Input Schema

NameRequiredDescriptionDefault
idYes
nameNo
slugNo
fieldsNo
statusNodraft|active|inactive|archived
visibilityNo
descriptionNo
notify_emailNo
success_messageNo
target_tenant_idNoPlatform super-admins only: operate on this tenant instead of your own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover safety (not read-only, not destructive, idempotent), so the description's job is to add non-obvious behavior — and it does, disclosing that 'fields' REPLACES the entire field list and bumps the version, plus that status='active' makes the form live. It leaves out auth/permission requirements beyond the tenant note in the schema, but the replacement hazard is the critical disclosure and it is front-loaded.

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, each carrying distinct information, with the partial-update rule first and the two highest-risk caveats immediately after. No filler or restatement of the tool name.

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 10-parameter mutation with no output schema and sparse schema descriptions, the definition covers the destructive-risk surface well but says nothing about the response, validation failures, or the meaning of the remaining string parameters. Adequate to call safely, not fully complete.

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 coverage is only 20% across 10 parameters, so the description must compensate. It adds real meaning for two of the highest-risk parameters ('fields' replaces the whole list and bumps version; 'status' active makes it live), but name, slug, visibility, description, notify_email and success_message carry no added semantics in either place.

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?

States a specific verb and resource ('Update a form definition by id') and adds a partial-update qualifier ('only provided fields'), which distinguishes it from a full replace. It does not explicitly separate itself from update_form_field or add_form_field, but the scope is clear from 'form definition' versus field-level siblings.

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 only implied: it is for editing an existing form by id, and setting status to 'active' publishes it. There is no explicit when-not guidance and no mention of the field-level siblings (update_form_field / add_form_field) that an agent would need to choose between for editing individual fields.

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