Skip to main content
Glama

Delete a form

delete_form
Destructive

DELETE a form with all its responses, attachments and images. This cannot be undone: ask the user before calling this. If the user only wants no more responses, set_form_open with open=false is the right tool.

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

Input Schema

NameRequiredDescriptionDefault
form_idYesThe website's id — from list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The description adds substantial context beyond the destructiveHint and non-idempotent annotations: it specifies exactly what gets destroyed (responses, attachments, images), states that the action cannot be undone, and requires user confirmation. This is precisely the behavioral detail an agent needs before invoking a destructive mutation.

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?

The description is three tight sentences with the destructive scope front-loaded, followed by the irreversible warning and the alternative tool. Every sentence earns its place and nothing is redundant.

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?

Given that this is a destructive one-parameter mutation with no output schema, the description covers the essential risks: cascade scope, irreversibility, user confirmation, and the correct alternative. An agent has enough information to decide when and how to call it safely.

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 the form_id parameter is already documented in the input schema. The description does not add meaning about the parameter, which is acceptable when the schema fully carries that burden, but it means no extra value is provided here.

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 uses a specific verb and resource: 'DELETE a form' plus the cascade of responses, attachments, and images. This clearly distinguishes it from set_form_open, which is explicitly named as the non-destructive alternative.

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 guidance and a clear exclusion: use this to delete the form entirely, but if the user only wants to stop responses, use set_form_open with open=false. It also instructs the agent to ask the user before calling.

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