Skip to main content
Glama

Create or update a form and take it live

fillo_push_form
Destructive

Create or update a form from a FormSchema plus a stable handle (an idempotent id — reuse it to update the same form), then publish it by default. With auto-publish permission the form goes live in this call; otherwise the call returns a human approval link that completes publication. Set publish=false only when the user explicitly asks for a draft or review. File requests stay draft when storage setup blocks publication. Handle: letters, digits, dashes, max 64 chars. The owner can also edit the form in the Fillo dashboard; if they have since your last push, the push is refused so their changes aren't overwritten — fillo_pull_form it, apply your change on top, and push with baseRevision.

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": {
      "handle": "<handle>",
      "schema": "<schema>"
    },
    "name": "fillo_push_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNoOptional theme: colorScheme, primary, background, text, radius, fontFamily, logo (an image id from fillo_import_logo), and dark ({ primary, background, text, logo }) — the dark-mode palette used when colorScheme is omitted or "auto". A custom background without dark colors keeps the form in that one scheme; give both palettes to follow light and dark.
handleYesStable idempotent form id (letters, digits, dashes, max 64). Reuse to update.
schemaYesThe FormSchema object: title, pages (with blocks/fields), and settings.
publishNoPublish after writing (default true). Set false only for an explicitly requested draft/review workflow.
purposeNoMarks the durable file-request journey and preserves its required upload field.
storageNoOptional exact storage destination. Required with purpose=file_request.
baseRevisionNoThe revisionId from fillo_pull_form that this change was built on. Needed only after the owner edited the form in the dashboard since your last push.
allowBreakingNoAcknowledge removing/re-typing fields used by existing responses. Use true when the user authorized these field removals or type changes; otherwise ask for their decision.

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 push matched existing content exactly (no-op).",
      +        "type": "boolean"
      +      },
      +      "created": {
      +        "description": "True when a new draft form was created.",
      +        "type": "boolean"
      +      },
      +      "formId": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true,
      +        "description": "Always true after a successful write and optional publication."
      +      },
      +      "slug": {
      +        "type": "string"
      +      },
      +      "staged": {
      +        "description": "True when the write left changes waiting for a publish.",
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "description": "The form's lifecycle status after the write.",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Hosted URL when the result is live.",
      +        "type": "string"
      +      },
      +      "warning": {
      +        "description": "Owner action required before publishing.",
      +        "type": "string"
      +      },
      +      "warningCode": {
      +        "description": "Stable blocker code when setup is incomplete.",
      +        "type": "string"
      +      },
      +      "warningUrl": {
      +        "description": "Owner-facing Fillo page that resolves the blocker.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "formId",
      +      "slug",
      +      "status",
      +      "staged",
      +      "changed",
      +      "created"
      +    ],
      +    "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 push matched existing content exactly (no-op).",
      -    "type": "boolean"
      -  },
      -  "created": {
      -    "description": "True when a new draft form was created.",
      -    "type": "boolean"
      -  },
      -  "formId": {
      -    "type": "string"
      -  },
      -  "ok": {
      -    "const": true,
      -    "description": "Always true after a successful write and optional publication."
      -  },
      -  "slug": {
      -    "type": "string"
      -  },
      -  "staged": {
      -    "description": "True when the write left changes waiting for a publish.",
      -    "type": "boolean"
      -  },
      -  "status": {
      -    "description": "The form's lifecycle status after the write.",
      -    "type": "string"
      -  },
      -  "url": {
      -    "description": "Hosted URL when the result is live.",
      -    "type": "string"
      -  },
      -  "warning": {
      -    "description": "Owner action required before publishing.",
      -    "type": "string"
      -  },
      -  "warningCode": {
      -    "description": "Stable blocker code when setup is incomplete.",
      -    "type": "string"
      -  },
      -  "warningUrl": {
      -    "description": "Owner-facing Fillo page that resolves the blocker.",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "ok",
      -  "formId",
      -  "slug",
      -  "status",
      -  "staged",
      -  "changed",
      -  "created"
      -]
  2. Changed1 schema field changed
    • changedInput schema / properties / allowBreaking / description
      Previous value: -"Acknowledge removing/re-typing fields used by existing responses. Confirm with the user first."New value: +"Acknowledge removing/re-typing fields used by existing responses. Use true when the user authorized these field removals or type changes; otherwise ask for their decision."
  3. Changed1 schema field changed
    • addedInput schema / properties / baseRevision
      Added value: +{
      +  "description": "The revisionId from fillo_pull_form that this change was built on. Needed only after the owner edited the form in the dashboard since your last push.",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / theme / description
      Previous value: -"Optional theme tokens (colorScheme, primary, background, text, radius, fontFamily)."New value: +"Optional theme: colorScheme, primary, background, text, radius, fontFamily, logo (an image id from fillo_import_logo), and dark ({ primary, background, text, logo }) — the dark-mode palette used when colorScheme is omitted or \"auto\". A custom background without dark colors keeps the form in that one scheme; give both palettes to follow light and dark."
  5. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive and open-world; the description adds substantial context on top: auto-publish permission gating, a returned human approval link instead of immediate publication, draft fallback for file requests, and the refusal behavior when the owner edited in the dashboard. The only slightly loose point is calling the handle 'an idempotent id' while the tool carries idempotentHint=false, though this reads as handle semantics rather than a claim about the call, so it is not a contradiction.

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?

Four dense sentences, front-loaded with the primary action and default publish behavior, followed by the permission fallback, the draft exception, and the conflict path. No filler and no repetition of the title.

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, 8-parameter mutation tool with an output schema, this covers everything an agent needs to call it correctly: handle format, default publish, approval fallback, draft exception, and the conflict-resolution sequence. Return values are correctly left to the output schema.

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 the baseline is 3; the description goes further by explaining the conflict workflow around baseRevision (pull, apply on top, push) and the default and conditional semantics of publish. It adds little for parameters like theme, storage or allowBreaking beyond what the schema text already says.

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?

The description states a specific verb and resource ('Create or update a form from a FormSchema plus a stable handle') and immediately adds the scope of the default publish behavior. It is clearly distinguishable from siblings like fillo_publish_form and fillo_pull_form, which are named or implied by the workflow described.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use and when-not-to-use rules: 'Set publish=false only when the user explicitly asks for a draft or review', plus the exception that file requests stay draft when storage setup blocks publication. It also names the alternative path (fillo_pull_form, then push with baseRevision) for the conflict case.

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.