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

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

NameRequiredDescriptionDefault
dataYes
generated_atYesRFC 3339 time the response was made.
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / properties / cost / properties / content_generations / description
      Previous value: -"Content Studio generations used from the plan's allowance."New value: +"Content Studio pages or outreach drafts used from the plan's allowance."
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, so permanence is expected, but the description adds real value beyond that: it details cascading deletion (deleting a segment deletes its prompts and answers; deleting a prompt deletes its answers), confirms no restore path, and notes the side effect of freeing plan capacity. It doesn't cover auth/permission requirements, but the cascade and irreversibility disclosures are substantive.

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?

Extremely dense and front-loaded: the action and its irreversibility lead, then cascade effects, then alternatives, then cost/capacity. Every clause earns its place with no filler.

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-resource deletion tool with an output schema, the description covers the safety-critical facts an agent needs: which IDs are valid, that exactly one is required, irreversibility, cascade scope, and the routing alternatives. Nothing material is missing.

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% and every parameter carries a description naming its source (list_brands, get_brand_settings, list_pages, etc.), so the schema does the heavy lifting. The description reinforces the 'exactly one ID' constraint, which the schema does not enforce structurally, adding modest value above the baseline.

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 (delete) and enumerates exactly the resource types covered (competitor, segment, prompt, page, report) with the 'pass exactly one of its IDs' rule. This distinguishes it clearly from revoke_report, which is named as the alternative for a narrower action.

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?

Explicitly routes the agent: use this for permanent deletion, use save_competitor/save_segment/save_prompt to pause (preserve history), and use revoke_report to kill a report's link only. The when-to-use and when-not-to-use are both stated with named alternatives.

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