Skip to main content
Glama

Delete Strategy Item

delete_strategy_item
Destructive

Permanently deletes a persona, pillar, angle or market, or deletes a buyer question. A deleted buyer question leaves every list and future AI answer checks, but its past answers and wrong answers stay, and saving the same text again with save_strategy_item brings it back. To pause a question instead, call save_strategy_item with active: false. Other deletes cannot be undone. An item still in use is refused: a persona or pillar that angles use (the error names them, so delete or move those angles first), anything posts use, or a market that answer-engine checks or monthly AI-visibility results use. To retire an item that is in use, call save_strategy_item with its id and active: false. Related: save_strategy_item, get_brand_context.

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": {
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "delete_strategy_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe item id from get_brand_context.
kindYesKind to delete.

Output Schema

NameRequiredDescriptionDefault
idYes
kindYes
appUrlYes
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "persona",
      -  "pillar",
      -  "angle",
      -  "market",
      -  "kpi_target",
      -  "buyer_question"
      -]New value: +[
      +  "persona",
      +  "pillar",
      +  "angle",
      +  "market",
      +  "buyer_question"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"Kind to delete. Buyer questions cannot be deleted."New value: +"Kind to delete."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "persona",
      -  "pillar",
      -  "angle",
      -  "market",
      -  "kpi_target"
      -]New value: +[
      +  "persona",
      +  "pillar",
      +  "angle",
      +  "market",
      +  "kpi_target",
      +  "buyer_question"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / appUrl
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "kind",
      -  "result"
      -]New value: +[
      +  "appUrl",
      +  "id",
      +  "kind",
      +  "result"
      +]
  4. First observed

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, and the description goes well beyond that: buyer-question deletion leaves lists and future answer checks but preserves past/wrong answers and is reversible by re-saving, whereas other deletes are permanent. It also documents the refusal behavior for in-use items and that the error names the blocking angles.

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?

The permanent-delete statement is front-loaded and the exceptions follow in a logical order, with a trailing 'Related:' line naming siblings. Some sentences are densely packed with clauses (the in-use refusal list), but nearly every clause carries distinct operational information.

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 two-parameter tool with annotations and an output schema already covering return shape and safety, the description fills the remaining gaps: reversibility, refusal conditions, error content, and the non-destructive alternative. Nothing an agent needs before invoking it is missing.

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 both parameters are already documented; the baseline would be 3. The description adds genuine meaning by explaining that the `kind` value changes semantics (buyer_question is soft/reversible, the others are permanent) and that `id` comes from get_brand_context, which reinforces the schema's hint.

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 opens with a specific verb and enumerates the exact resource kinds deleted (persona, pillar, angle, market, buyer_question), then flags that buyer-question deletion behaves differently from the rest. An agent can distinguish this from save_strategy_item and other delete_* siblings without inspecting 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 explicitly routes to alternatives: use save_strategy_item with active: false to pause a question or retire an in-use item, and delete/move dependent angles before deleting a persona or pillar. The conditions that select those alternatives are spelled out rather than implied.

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