Skip to main content
Glama

Publish a form

fillo_publish_form
Destructive

Take staged changes or a draft live. With forms:publish and automatic actions, this call publishes directly. Otherwise it returns a single-use review link valid for 24 hours. The connection owner can allow automatic actions under Settings → Agents. An already-live form with no staged changes returns success unchanged.

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": "<form>"
    },
    "name": "fillo_publish_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
formYesForm id, slug, or push handle.
allowBreakingNoAcknowledge removing/re-typing fields that existing responses answered (direct publish only; the approval page shows them to the human instead).
expectedFingerprintNoThe expectedFingerprint returned by a pending publish approval. Pass it when resuming after changing action approvals so only that requested revision can publish.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "changed": {
      +        "description": "False when the form was already live with nothing staged.",
      +        "type": "boolean"
      +      },
      +      "formId": {
      +        "type": "string"
      +      },
      +      "slug": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "description": "Always 'published' on success.",
      +        "enum": [
      +          "published"
      +        ],
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Hosted URL where the form is now live.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "formId",
      +      "slug",
      +      "status",
      +      "changed",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "approvalId": {
      +        "type": "string"
      +      },
      +      "formId": {
      +        "type": "string"
      +      },
      +      "reviewUrl": {
      +        "type": "string"
      +      },
      +      "settingsUrl": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "awaiting_owner_approval"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "approvalId",
      +      "settingsUrl",
      +      "reviewUrl"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "changed": {
      -    "description": "False when the form was already live with nothing staged.",
      -    "type": "boolean"
      -  },
      -  "formId": {
      -    "type": "string"
      -  },
      -  "slug": {
      -    "type": "string"
      -  },
      -  "status": {
      -    "description": "Always 'published' on success.",
      -    "enum": [
      -      "published"
      -    ],
      -    "type": "string"
      -  },
      -  "url": {
      -    "description": "Hosted URL where the form is now live.",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "formId",
      -  "slug",
      -  "status",
      -  "changed",
      -  "url"
      -]
  2. Changed1 schema field changed
    • addedInput schema / properties / expectedFingerprint
      Added value: +{
      +  "description": "The expectedFingerprint returned by a pending publish approval. Pass it when resuming after changing action approvals so only that requested revision can publish.",
      +  "maxLength": 64,
      +  "minLength": 64,
      +  "pattern": "^[a-f0-9]{64}$",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is partly covered. The description nonetheless adds substantial context beyond them: the dual direct-publish vs 24-hour single-use review-link path, the permission prerequisite, and the no-op behavior for live forms with no staged changes. It stops short of explaining what makes a publish destructive (breaking field changes), which is left to the allowBreaking parameter.

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?

Five tight sentences, front-loaded with the core action, then the direct-publish condition, the fallback return, the enabling prerequisite, and the no-op case. Nothing is redundant and no sentence could be dropped without losing information.

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 destructive, permission-gated mutation with an output schema, the description covers the branches an agent must anticipate: direct publish, review-link fallback with expiry, and the no-op case. Return values are backed by the output schema, so nothing material is missing.

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 all three parameters — including the breaking-change acknowledgement and fingerprint resume — are already documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 description states a specific verb and resource — 'take staged changes or a draft live' — which unambiguously identifies a publish operation. It also implies the boundary against siblings such as fillo_unpublish_form and fillo_discard_changes by scoping the action to staged/draft content, though it never names an alternative explicitly.

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?

It gives clear conditional guidance: if forms:publish and automatic actions are enabled, it publishes directly; otherwise it falls back to a review link. The prerequisite (connection owner enabling automatic actions under Settings → Agents) and the edge case (already-live form with no staged changes returns success unchanged) are both spelled out, leaving little to infer.

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.