Skip to main content
Glama

Change a saved query's exclude list

saved_queries_exclusions_update

Add or remove entries on a saved query's exclude list: an author's handle, a linked site (its subdomains too), a community, or a keyword matched as whole words. Up to 5,000 to add and 5,000 to remove a call; the list holds 50,000. From the next run, posts it names are left out before they're judged or kept, so they cost nothing beyond the search; matches already kept stay. 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": {
      "id": "<id>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "saved_queries_exclusions_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe saved query's id.
addNoEntries to add, up to 5000. One already on the list is left as it is. The list holds at most 50000.
removeNoEntries to remove, up to 5000. One not on the list is ignored.
contextYesDescribe the user's underlying goal in one sentence, not the tool you are calling.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess.
conversation_idNoEcho the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, but the description carries real behavior the annotations cannot: changes apply from the next run, previously kept matches stay, excluded posts cost nothing beyond the search, duplicates on add are left as-is, unknown entries on remove are ignored, and the call is free. It also gives concrete capacity limits (5,000 per side, 50,000 total), which an agent needs to size batches correctly.

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?

Two sentences, front-loaded with the operation and back-loaded with consequences, with no filler. The second sentence is a long clause stack (timing, cost, retained matches, price) that could be split for scannability, but every clause carries information.

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?

For a mutating tool with no output schema, the description covers timing, side effects, limits and cost, which is the core of what an agent needs. It does not indicate whether the call returns the updated exclusion list, counts, or nothing, leaving the result shape to be discovered.

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 the `kind` enum and `value` normalization rules are already documented in the schema, so the description adds little parameter-level detail. Its only marginal addition is the semantics of what happens to entries that already exist or do not exist. Baseline 3 applies when the schema does the heavy lifting.

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 precise verb pair and resource: "Add or remove entries on a saved query's exclude list," then enumerates the four entry kinds. That is enough to separate it from the read-only sibling `saved_queries_exclusions_list` without opening either schema.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the reader can infer this is the tool for pruning future results by author, domain, community or keyword. However, nothing says when to prefer this over `saved_queries_exclusions_list` (to inspect current exclusions) or `saved_queries_update` (to change the query itself), and there are no exclusions or prerequisites spelled out.

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.