Skip to main content
Glama

Publish form

publish_form
DestructiveIdempotent

Publish the exact reviewed draft revision for new respondents. Only call when the user requests publication. Rejects stale revisions and invalid drafts; previously saved responses keep their original version. Republishing identical content creates no duplicate version. A closed form stays closed.

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": {
      "form_id": "<form_id>",
      "revision": "<revision>"
    },
    "name": "publish_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
form_idYesForm UUID returned by list_forms or create_form.
revisionYesExact draft revision the user reviewed and wants to publish.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

The description adds substantial behavior beyond the annotations: stale-revision rejection, invalid-draft rejection, preservation of previously saved responses on their original version, idempotency on identical content, and that a closed form stays closed. However, 'Republishing identical content creates no duplicate version' largely restates idempotentHint=true, and with destructiveHint=true the description never states the blast radius — e.g. what respondents see changes once published or whether anything is irreversible for the creator. Strong context with some overlap and one notable gap.

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, then a gating rule, then failure and side-effect conditions — every sentence carries information. The density is high but each clause earns its place; only the idempotency sentence is partly redundant with annotations.

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 2-parameter, no-output-schema mutation tool, the description covers when to call, failure modes, and effects on existing data. The one omission is what a successful publish returns (e.g. published version identifier), which would matter for follow-up calls.

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 is 3, but the description genuinely enriches the revision parameter by framing it as 'the exact reviewed draft revision' — signaling that a mismatch with the current draft is rejected rather than silently applied. That is meaning the schema's 'Exact draft revision the user reviewed' only partly conveys.

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+resource ('Publish the exact reviewed draft revision') and implicitly distinguishes itself from save_form_draft by emphasizing 'for new respondents' and 'exact reviewed draft revision'. An agent can tell this is the go-live step, not a drafting step.

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?

Gives a clear gating condition: 'Only call when the user requests publication.' That is a strong when-to-use rule and rules out autonomous publishing. It stops short of naming save_form_draft as the alternative for editing before publishing, so it is not fully explicit about the workflow counterpart.

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