Skip to main content
Glama

Delete Saved Keywords

saved_keywords_delete
DestructiveIdempotent

Permanently deletes 1-50 saved keywords of a project. Each is removed with its tags, saved metrics, rank history (the observations recorded for it) and its place in keyword lists; this cannot be undone, and a deleted keyword no longer appears in project_rank_report. It never deletes the project or any keyword you did not list. Every ID gets its own result: deleted, not_found (no such keyword in this project), conflict (it was edited while the call ran; nothing was removed), or failed / not_attempted if the service stopped part way (complete is then false). Repeating the call is safe: IDs already deleted report not_found. Free.

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": {
      "project_id": "<project_id>",
      "saved_keyword_ids": "<saved_keyword_ids>"
    },
    "name": "saved_keywords_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
project_idYesProject ID, as listed by projects_list; it must belong to the authenticated organization.
idempotency_keyNoOptional and ignored: this call never charges, and a key does not make a repeated call safe.
saved_keyword_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lower, yet the description still adds substantial value: it enumerates the cascading destruction (tags, saved metrics, rank history, list placement), states irreversibility, and defines the per-ID outcome vocabulary including partial-failure semantics with complete=false. It also clarifies that idempotency_key is ignored and that safety comes from the not_found reporting on repeat, not from a key.

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 irreversible-scope statement is front-loaded and every sentence carries information, including the result-code enumeration that substitutes for a missing output schema. It is dense but not padded; the only mild cost is that the result-code list reads as a run-on rather than a structured enumeration.

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?

There is no output schema, so the description must describe returns, and it does so precisely with the four per-ID outcomes plus the partial-failure flag. For a destructive batch operation with cascading effects, the combination of blast radius, irreversibility, and failure modes covers what an agent needs to call it safely.

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 75%, so the schema already documents project_id, saved_keyword_ids, verbosity and idempotency_key. The description's '1-50' restates the schema's minItems/maxItems rather than adding meaning, and it says nothing about project_id scoping or how verbosity shapes output. Baseline 3 is right when the schema carries the parameter burden.

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 resource ('Permanently deletes 1-50 saved keywords of a project') and explicitly bounds itself against project_delete ('It never deletes the project'). An agent can distinguish this from saved_keyword_update and the delete siblings without consulting any other field.

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

Usage Guidelines4/5

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

The scope boundaries are clear: only listed IDs are removed, the project is untouched, and the call is free. A boundary case is handled explicitly ('a deleted keyword no longer appears in project_rank_report'), but the description never names an alternative tool for adjacent operations such as removing a keyword from a list versus deleting it outright.

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