Skip to main content
Glama

saved_searches_update

Change the filters (params_json, same shape as companies_search query params), the target segment, the daily add_limit, or turn the schedule on and off with is_enabled. Run saved_searches_add_now with a small count to check a changed query before enabling it.

Method: PATCH /api/v1/workspaces/{workspace_sqid}/saved-searches/{sqid}/

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": {
      "sqid": "<sqid>"
    },
    "name": "saved_searches_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoShort label for the saved search (e.g. 'US Series-A SaaS founders').
sqidYes
add_limitNoHard daily cap on leads this search may add (0–100). Shared by every automated caller: the hourly scheduled run and campaign autopilot draw from the same budget and cannot exceed it between them. **0 pauses the search** for both — that, not `is_enabled`, is how you stop autopilot pulling from it. Manual `saved_searches_add_now` bypasses the cap. Each run picks the oldest-not-yet-added matches.
is_sharedNoWhether this saved search is shared with other users in the workspace
is_enabledNoWhether the scheduled batch picker should auto-run this saved search. Defaults to False on create via the API — the UI uses a separate form and keeps the model default of True. Flip to True once you've previewed results with `saved_searches_add_now` and confirmed the query is tight enough. `saved_searches_add_now` itself ignores this flag, so manual add-now works either way.
params_jsonNoThe discovery query as JSON — same keys `companies_search` accepts (`countries`, `regions`, `industries`, `keywords`, `size`, `name`, `about`, etc.; see `companies_search`'s description). Multi-value filters may be either a flat list of integer IDs (`[3, 5]`) or a list of `{value, label}` objects (`[{"value": 3, "label": "United States"}]`); the UI persists the latter for display, and the saved-search runner extracts `.value` before filtering. Runs once per invocation; new matching people are added to the target segment.
add_to_segmentNoSqid of the segment that newly-found people should be added to as leads. Required to run the search.
rejected_segmentNoOptional. Sqid of a 'dead-end' segment — people already in it are skipped on future runs. Useful to avoid re-prospecting leads who replied negatively.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that the operation uses PATCH and which fields can change, plus a preview workflow, but omits permissions, side effects, partial-update semantics, and what happens to unspecified fields.

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?

The description is front-loaded and compact: it lists the changeable areas in one sentence, gives one practical validation sentence, and includes the method path. No sentence is wasted.

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

Completeness3/5

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

Covers the core mutation fields, a preview workflow, and the HTTP method, which is enough for an agent to start. It omits name, is_shared, rejected_segment, and the add_limit=0 pause behavior, though those are covered in the rich schema descriptions.

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 high at 88%, so the schema already documents parameters thoroughly. The description adds a cross-reference that params_json has the same shape as companies_search query params and names key fields, but most parameter meaning remains in the schema.

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 mutation scope: change filters, target segment, daily add_limit, or schedule via is_enabled. The resource is implicitly a saved search, and the PATCH method path reinforces that. It does not explicitly contrast with saved_searches_create or saved_searches_bulk_toggle, so it is clear but not fully sibling-differentiated.

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?

Provides a concrete validation step: run saved_searches_add_now with a small count before enabling a changed query. However, it does not state when to use this tool versus saved_searches_create or saved_searches_bulk_toggle, nor does it give exclusions.

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.