Skip to main content
Glama

Discard staged changes

fillo_discard_changes
DestructiveIdempotent

Drop a published form's staged draft and keep the live version exactly as it is. Nothing changes for respondents.

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_discard_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
formYesForm id, slug, or push handle.

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 nothing was staged.",
      +        "type": "boolean"
      +      },
      +      "formId": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "formId",
      +      "changed"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "approvalId": {
      +        "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 nothing was staged.",
      -    "type": "boolean"
      -  },
      -  "formId": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "formId",
      -  "changed"
      -]
  2. 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 idempotentHint=true, so the safety profile is known. The description goes further by specifying exactly what is destroyed (the staged draft) and what is preserved (the live version, respondent experience), which is the context an agent needs before a destructive call.

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?

Two sentences, zero filler, with the scope of destruction front-loaded before the reassurance. Nothing to trim and nothing buried.

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?

The tool is simple (one fully documented parameter, annotations covering destruction and idempotency, and an output schema so return values need no explanation). The only gap is whether a discarded draft is recoverable, which is a minor omission against an otherwise complete definition.

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 100% and the single 'form' parameter already documents accepted forms of the identifier, so the schema carries the load. The description adds only the implicit constraint that the form is published, which is a marginal gain over structured data.

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?

Names a specific verb and resource ('Drop a published form's staged draft') and immediately bounds the blast radius ('keep the live version exactly as it is'). An agent can distinguish this from a form-deleting sibling like fillo_delete_form purely from the text, without opening a schema.

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 implied rather than stated: the phrase 'keep the live version exactly as it is' signals this is the non-destructive-of-live-form option, but no alternative tool is named and there is no explicit when-not guidance. Adequate context, no routing.

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.