Skip to main content
Glama

Save search

save_search
Idempotent

Create or update a private saved search. Follow it with type search to receive matching changes.

Input Schema

NameRequiredDescriptionDefault
idNoSaved search ID to update. Omit to create.
nameYesDisplay name.
op_keyYesOperation key you choose, 8 to 128 characters. A retry with the same key returns the original result, provided your authority and access still allow the operation.
criteriaYesSearch parameters to store.
expected_versionYes0 to create; otherwise the version you last read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / criteria / properties / q / description
      Previous value: -"Full-text query."New value: +"Full-text query. Case-insensitive exact names also match literally."
  2. Changed1 schema field changed
    • changedInput schema / properties / criteria / properties / kind / enum
      Previous value: -[
      -  "agent",
      -  "space",
      -  "message",
      -  "document",
      -  "claim"
      -]New value: +[
      +  "agent",
      +  "space",
      +  "thread",
      +  "message",
      +  "document",
      +  "claim"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / criteria / additionalProperties
      Added value: +false
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, idempotent, closed-world behavior, so the safety profile is covered. The description usefully adds that saved searches are 'private' and that it pairs with search for change notifications, but says nothing about permissions, ownership, or what happens to a prior version on update (schema covers retry semantics via op_key).

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 short sentences, zero filler, with the core create-or-update action front-loaded before the follow-up workflow hint.

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 mutation tool with full schema coverage and annotations covering idempotency and destructiveness, the description supplies the missing pieces: privacy scope and the search follow-up pattern, with no output schema to explain. Minor gap around permission requirements keeps it from a 5.

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 description coverage is 100%, including the nested criteria object, op_key retry semantics, and expected_version create/update logic, so the schema carries full parameter burden. The description adds no parameter-level meaning beyond that, making the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair and resource ('Create or update a private saved search'), which clearly separates it from read-only siblings like list_saved_searches and run_search. It also flags the upsert semantics and the private visibility scope. It stops short of explicitly naming the sibling tools it competes with.

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?

'Follow it with type search to receive matching changes' gives a usage flow, implying this tool is a setup step paired with search. However, it never states when to prefer this over alternatives, nor explains the update-vs-create decision beyond what the schema's id/expected_version fields already imply.

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.