Skip to main content
Glama

Remove content

content_remove
Destructive

Delete one item of content (an article, an event, a map place, a photo, a video or a sound) with target item, or one body block of an item with target block and block_id. Use it to delete a post, an event, a place, a picture of an album, a video or an episode, or a single paragraph, quote or picture of a post. One item or one block per call. This cannot be undone: what is deleted disappears from the app at once. Read the item with content_get first and pass the type it was read under: photos and the other types do not share their ids. To take an item offline without deleting it, use content_change with status draft or stock. Not possible: deleting several items in one call, deleting the player block of a video, deleting a page (type page deletes one block of its body). A page of the app (a section, in content_get) or a category is removed with myapp_remove, not here. The answer confirms what was deleted; a refusal says why and nothing is deleted.

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": {
      "type": "<type>",
      "target": "<target>",
      "content_id": "<content_id>"
    },
    "name": "content_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesThe content type the item was read under. page is the body of an About or Form page: only one of its blocks is deleted here (target block).
targetYesWhat to delete: item (the whole item with all its blocks) or block (one block, given by block_id; the item stays).
block_idNoWith target block, required: the block to delete, read with content_get (with_blocks); the item stays. Not for photo.
content_idYesId of the item to delete, or of the item that holds the block to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, and the description adds substantial context on top: the deletion is irreversible and visible in the app at once, one item or block per call, and the response either confirms the deletion or explains the refusal with nothing deleted. The id-scoping caveat (types do not share ids) is a non-obvious behavioral constraint that no structured field conveys.

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

Conciseness4/5

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

Front-loaded with the core action and scope, then alternatives, then hard limits, then return behavior – a sensible ordering. Minor waste: the second sentence re-enumerates the same content kinds in different vocabulary (post, episode, picture of an album), which partly restates the first, though it aids synonym matching.

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, enum-driven tool with no output schema, the description covers everything an agent needs: what gets deleted, at what granularity, that it is irreversible, what to call first, what to call instead for a softer intent, and what the response will say. Nothing material is left to inference.

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, but the description genuinely adds meaning: the `type` value must match the type the item was read under because ids are not shared across types, `target` distinguishes whole-item from single-block deletion, and block_id carries a restriction ('not for photo') that supplements the schema note. This is real semantic enrichment rather than restatement.

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 opening sentence gives a precise verb (delete) plus the exact resource, enumerates the content kinds, and immediately splits the two operating modes (target item vs. target block with block_id). An agent can distinguish it from content_change and myapp_remove from the description alone, without reading the 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?

It gives explicit prerequisites (read with content_get first and pass the type it was read under), a named alternative for a different intent (content_change with status draft/stock to take offline instead of deleting), and a sibling handoff (myapp_remove for app pages and categories). It also states outright exclusions: no multi-item deletion, no deleting the player block of a video, no deleting a page.

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.