Skip to main content
Glama

Delete a listening search

delete_saved_search
DestructiveIdempotent

Delete a saved search (id from list_saved_searches) together with every mention it found: they disappear from list_mentions for good, while replies already posted stay on the network. Cannot be undone; confirm with the user first, and suggest pause_saved_search if they only want it to stop.

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

Input Schema

NameRequiredDescriptionDefault
idYesRequired for pause, resume and delete.
workspaceIdNoWorkspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is structured. The description goes further by disclosing the cascade effect (mentions vanish from list_mentions) and the boundary of the deletion (replies already posted stay on the network), plus irreversibility. The remaining gap is minor: no words on what the response returns, though no output schema exists either.

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?

Two compact sentences, irreversibility and the confirmation requirement front-loaded before the softer alternative. No filler and nothing repeated from the annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the destructive semantics, the cascade, and the escape hatch for a mutation tool with no output schema. What is missing is negligible: chiefly nothing about the return value, and the sibling pause/resume alternates are covered only insofar as pause is named.

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; the description earns the extra point by telling the agent where the id comes from (list_saved_searches), which is a provenance hint the schema does not carry. It leaves workspaceId and idempotencyKey entirely to the schema, which is acceptable given full coverage.

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 and resource ('Delete a saved search') and immediately clarifies scope: the search plus every mention it found. The parenthetical naming list_saved_searches as the id source separates it from sibling list/pause tools without opening a 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?

Gives explicit preconditions ('confirm with the user first') and names the alternative along with the condition that selects it ('suggest pause_saved_search if they only want it to stop'). The agent knows both when to call and when to redirect.

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