Skip to main content
Glama

save_search

Destructive

Create a saved search (a named filter set the user can reuse), or, with savedSearchId, overwrite one: the title, filters and type sent replace the stored ones, and the previous values are not kept.

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": {
      "title": "<title>",
      "filters": "<filters>",
      "searchType": "<searchType>"
    },
    "name": "save_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesName for the saved search.
filtersYesFilter object to persist. People filters use FLAT dotted keys with {status, value} entries for include/exclude fields — the same shape the search tools take. They are stored the way the app shows a saved search, so a few people filters hold less here: full_name, work_email, mobile_phone, personal_emails, certifications.name and linkedin_url hold ONE include value; location_region and job_company_location_region hold include values only; job_start_date holds one start month (YYYY-MM) in the past, kept as months in role. first_name and last_name cannot be saved. Anything else is refused with 422 SAVED_SEARCH_FILTERS_UNSUPPORTED naming the filter.
searchTypeYesWhether these are people ('contacts') or company filters.
savedSearchIdNoProvide to UPDATE an existing saved search; omit to create a new one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description still adds real value by spelling out the overwrite semantics: title, filters and type are replaced and 'the previous values are not kept' — i.e. no merge, no recovery, which the annotations alone do not convey.

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?

One sentence, front-loaded with the primary action and the create/update switch, with the destructive consequence as the closing clause. No filler or repetition.

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 destructive create/update tool with full schema coverage and clear annotations, the description covers the mode switch and the replace-in-place consequence. It omits what the call returns (e.g. the new savedSearchId) and any note that filters must be saved-search-compatible, though the schema's filters description covers the latter.

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%, and the schema already documents savedSearchId as 'Provide to UPDATE ... omit to create' and searchType's enum. The description's mention of savedSearchId largely restates that; it adds no format or constraint detail beyond the schema, so the baseline 3 applies.

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 ('Create a saved search') and immediately distinguishes the second mode ('with savedSearchId, overwrite one'), so an agent can tell create from update without opening the schema. The parenthetical gloss ('a named filter set the user can reuse') removes ambiguity about what a saved search is.

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?

Explicitly routes between the two modes: provide savedSearchId to update, omit it to create. It does not name alternative tools (e.g. delete_saved_search or the search-and-save list tools) or state when a saved search is preferable to saving to a list, so the guidance is clear but not comparative.

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.