Skip to main content
Glama

Delete content

content_delete
Destructive

Deletes entries, categories, comments, filters and video channels from a content module of the site. Cannot be undone.

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": {
      "action": "<action>",
      "site_id": "<site_id>",
      "module": "<module>"
    },
    "name": "content_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoRecord, category, comment, or forum entity id.
actionYesOperation to run. Each oneOf entry describes one action and lists its parameters.
moduleYesContent module code. poll is the same module as polls (module and settings lists name it poll). Not used by comments_all. The forum has its own forum_* tools.
confirmNoConfirmation of this deletion. Not needed unless the server refuses the call because the site owner requires it; that refusal says what to do.
site_idYesSite to change: site_id from list_sites. Required: the call works only on this site, whatever select_site chose.
channel_idNoVideo channel id.
filter_numNoFilter number 1-3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / site_id
      Added value: +{
      +  "description": "Site to change: site_id from list_sites. Required: the call works only on this site, whatever select_site chose.",
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "action",
      -  "module"
      -]New value: +[
      +  "action",
      +  "site_id",
      +  "module"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / action / oneOf
      Previous value: -[
      -  {
      -    "const": "delete",
      -    "description": "Deletes an entry. Required: module, id, confirm."
      -  },
      -  {
      -    "const": "category_delete",
      -    "description": "Deletes a category. Required: module, id, confirm."
      -  },
      -  {
      -    "const": "comments_delete",
      -    "description": "Deletes a comment. Required: module, id, confirm."
      -  },
      -  {
      -    "const": "filter_delete",
      -    "description": "Deletes an entry filter. Required: module, filter_num, confirm."
      -  },
      -  {
      -    "const": "channel_delete",
      -    "description": "Deletes a video channel (id in channel_id or id). Required: module, channel_id or id, confirm."
      -  },
      -  {
      -    "const": "channel_category_delete",
      -    "description": "Deletes a video channel category. Required: module, id, confirm."
      -  }
      -]New value: +[
      +  {
      +    "const": "delete",
      +    "description": "Deletes an entry. Required: module, id. Optional: confirm."
      +  },
      +  {
      +    "const": "category_delete",
      +    "description": "Deletes a category. Required: module, id. Optional: confirm."
      +  },
      +  {
      +    "const": "comments_delete",
      +    "description": "Deletes a comment. Required: module, id. Optional: confirm."
      +  },
      +  {
      +    "const": "filter_delete",
      +    "description": "Deletes an entry filter. Required: module, filter_num. Optional: confirm."
      +  },
      +  {
      +    "const": "channel_delete",
      +    "description": "Deletes a video channel (id in channel_id or id). Required: module, channel_id or id. Optional: confirm."
      +  },
      +  {
      +    "const": "channel_category_delete",
      +    "description": "Deletes a video channel category. Required: module, id. Optional: confirm."
      +  }
      +]
    • changedInput schema / properties / confirm / description
      Previous value: -"Pass true only after the user approves this change. Required by: delete, category_delete, comments_delete, filter_delete, channel_delete, channel_category_delete."New value: +"Confirmation of this deletion. Not needed unless the server refuses the call because the site owner requires it; that refusal says what to do."
    • changedInput schema / required
      Previous value: -[
      -  "action",
      -  "module",
      -  "confirm"
      -]New value: +[
      +  "action",
      +  "module"
      +]
  3. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "action"
      -]New value: +[
      +  "action",
      +  "module",
      +  "confirm"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / action / oneOf
      Previous value: -[
      -  {
      -    "const": "delete",
      -    "description": "Deletes an entry. Required: module, id, confirm."
      -  },
      -  {
      -    "const": "category_delete",
      -    "description": "Deletes a category. Required: module, id, confirm."
      -  },
      -  {
      -    "const": "comments_delete",
      -    "description": "Deletes a comment. Required: module, id, confirm."
      -  },
      -  {
      -    "const": "filter_delete",
      -    "description": "Deletes an entry filter. Required: module, filter_num, confirm."
      -  },
      -  {
      -    "const": "channel_delete",
      -    "description": "Deletes a video channel (id in channel_id or id). Required: module, confirm. Optional: channel_id, id."
      -  },
      -  {
      -    "const": "channel_category_delete",
      -    "description": "Deletes a video channel category. Required: module, id, confirm."
      -  }
      -]New value: +[
      +  {
      +    "const": "delete",
      +    "description": "Deletes an entry. Required: module, id, confirm."
      +  },
      +  {
      +    "const": "category_delete",
      +    "description": "Deletes a category. Required: module, id, confirm."
      +  },
      +  {
      +    "const": "comments_delete",
      +    "description": "Deletes a comment. Required: module, id, confirm."
      +  },
      +  {
      +    "const": "filter_delete",
      +    "description": "Deletes an entry filter. Required: module, filter_num, confirm."
      +  },
      +  {
      +    "const": "channel_delete",
      +    "description": "Deletes a video channel (id in channel_id or id). Required: module, channel_id or id, confirm."
      +  },
      +  {
      +    "const": "channel_category_delete",
      +    "description": "Deletes a video channel category. Required: module, id, confirm."
      +  }
      +]
  5. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=false, so the safety profile is known. "Cannot be undone" reinforces irreversibility but adds little beyond the annotation. The description says nothing about the conditional `confirm` re-call, permission requirements, or what a partial failure looks like, all of which exist in the schema or behind it.

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, and the scope is front-loaded ahead of the irreversibility warning. Every clause earns its place and nothing is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A destructive, 7-parameter tool with six action variants and no output schema would normally demand more from the description, but the 100% schema coverage and explicit destructiveHint offset much of that. Still, the description omits the two-step confirm flow and the module/action pairing rules that an agent must respect to call it correctly.

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%, with per-action oneOf entries spelling out required and optional parameters, so the schema carries parameter meaning entirely. The description adds no syntax, format, or constraint detail beyond the entity list. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb ("Deletes") and enumerates the exact resources affected: entries, categories, comments, filters, and video channels, plus the containing scope ("content module of the site"). This lets an agent distinguish it from single-resource siblings like forum_delete or files_delete, though it never names those siblings explicitly.

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

Usage Guidelines2/5

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

The description gives no when-to-use or when-not-to-use guidance and mentions no alternatives. An agent choosing among the many sibling *_delete tools gets routing information only indirectly, from the entity list in the description and from schema notes about forum_* tools and the poll/polls module.

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.