Skip to main content
Glama

Delete item

delete_item
Destructive

Delete one competitor, segment, prompt, page, or report for good: pass exactly one of its IDs. It cannot be restored. Deleting a segment deletes its prompts and their answers; deleting a prompt deletes its answers. To stop tracking but keep the history, pause it with save_competitor, save_segment or save_prompt; to only kill a report's link, use revoke_report. Free, and frees the plan capacity the item used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
brandYesBrand or study: its ID from list_brands, or its exact name. A partial name is refused.
page_idNoA Content Studio page, from list_pages.
segmentNoA segment ID or name, from get_brand_settings.
prompt_idNoA prompt, from list_prompts.
report_idNoA report, from list_reports.
competitor_idNoA competitor, from get_brand_settings.
idempotency_keyYesA unique key for this intended action. Reuse it with identical arguments when retrying: the write is not made again, and the reply is the first call's resource as saved (replayed: true) with current status; read tools show the resource's current state. Use a new key for another action.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
generated_atYesRFC 3339 time the response was made.
schema_versionYes

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?

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds context annotations cannot: irreversibility ('It cannot be restored'), cascade semantics (deleting a segment deletes its prompts and answers; deleting a prompt deletes its answers), and billing effect ('Free, and frees the plan capacity the item used'). This is unusually rich behavioral disclosure.

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 action and the one-ID rule, then cascade effects, then alternatives. Every sentence carries information, though the trailing 'Free, and frees the plan capacity the item used' is a slightly appended billing note rather than a core fact.

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 multi-target tool with an output schema already covering return values, the description supplies the missing pieces an agent needs: mutual exclusivity of the ID parameters, irreversibility, cascade blast radius, and escape hatches. Nothing material is left unstated.

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 description coverage is 100%, so per-parameter meaning is already documented (baseline 3). The description adds a genuine cross-parameter constraint not expressible in the schema: exactly one ID must be supplied. It does not, however, elaborate on the brand/idempotency_key pairing beyond what the schema states.

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 states a specific verb ('Delete') and enumerates exactly which resources are deletable (competitor, segment, prompt, page, report), plus the constraint 'pass exactly one of its IDs'. It is immediately distinguishable from save_competitor, save_segment, save_prompt and revoke_report, which it names.

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-not guidance and routes to alternatives: pause via save_competitor/save_segment/save_prompt to keep history, or revoke_report to kill only a report's link. The selection conditions are stated, not inferred.

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