Skip to main content
Glama

Remove a Xodia form made by mistake

remove_form
Destructive

Removes a Xodia form that was connected by mistake (list_forms marks one on a ready-made Xodia piece, such as the comments, donate, order or answer box form): its code goes back to how it was (a ready-made file gets its own text back), then the form and its messages are deleted. Only for a mistake the user agrees to remove; a working form the owner uses stays. Saved at once, like every edit in Xodia; pushing to Git and publishing stay the user's.

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": {
      "formId": "<formId>",
      "projectId": "<projectId>"
    },
    "name": "remove_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchNoOptional branch; default the branch the workspace has open
formIdYesThe form to remove, an id from list_forms
projectIdYesProject id from list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond destructiveHint=true by disclosing exactly what is destroyed (the form and its messages) and what is restored (the code reverts, ready-made files get their own text back). It also clarifies the persistence model, immediate save but no Git push or publish. It stops short of stating whether removal is recoverable or what is returned, so it is strong rather than complete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action is front-loaded in the first clause, but the rest is a single dense sentence stack with nested parentheses that makes the reader parse twice. The 'Saved at once, like every edit in Xodia' aside is useful context but adds to the sprawl.

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 an irreversible mutation with no output schema, the description covers destruction scope, state restoration, consent requirement and persistence/versioning well. Minor gaps remain: no statement of what is returned on success and no explicit note on recoverability after the immediate save.

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%, so formId, projectId and branch are already documented in the input schema, and the description only adds the provenance hint that formId comes from list_forms. The branch parameter and its default (the workspace's open branch) are not discussed in the description at all.

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 and resource with scope: it removes a form that was connected by mistake, and explains the referent (list_forms marks one on a ready-made Xodia piece such as comments, donate, order or answer box). This clearly separates it from connect_form and list_forms without needing either schema.

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?

Gives both the when and the when-not: 'Only for a mistake the user agrees to remove; a working form the owner uses stays.' An agent knows to require user consent and to leave functioning forms alone, which is rare and valuable guidance for a destructive tool.

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