Skip to main content
Glama

saved_searches_add_now

One-off preview run. Body {count: N} — how many new leads to attempt to add (1–1000, default 10). The search runs against the discovery DB, skips people this saved search has already added, and inserts up to N new leads into add_to_segment. Ignores is_enabled and the daily add_limit — a human asking for N leads is not what the daily cap throttles. Note the other automated caller, campaign autopilot, also ignores is_enabled but does honour add_limit; set add_limit=0 to stop it pulling. Use this to iterate on params_json before flipping is_enabled=true.

Returns {added: <count>}. Charges ADD_LEAD_FROM_DISCOVERY connects per added lead.

Method: POST /api/v1/workspaces/{workspace_sqid}/saved-searches/{sqid}/add-now/

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_add_now"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes
countNoHow many new leads to attempt to add in this one-off run (1–1000, default 10). Independent of the saved search's `add_limit` — that's the daily cap shared by the scheduled picker and campaign autopilot, which this endpoint bypasses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses deduplication ('skips people this saved search has already added'), the write target (`add_to_segment`), that `is_enabled` and the daily `add_limit` are ignored, how that differs from campaign autopilot, the cost ('Charges ADD_LEAD_FROM_DISCOVERY connects per added lead'), and the return shape. These are exactly the non-obvious traits an agent needs before triggering a paid mutation.

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?

Front-loaded with the key framing sentence, then details in a logical order (parameters, behavior, exceptions, return, cost, method). Dense but nearly every sentence adds information; the only real waste is restating the 1–1000/default-10 range already present in the schema.

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

Completeness5/5

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

For a two-parameter mutation with no annotations and no output schema, the description covers the return value (`{added: <count>}`), the monetary side effect, dedup behavior, and the interaction with `is_enabled`/`add_limit`. There is nothing material an agent needs to call this safely that is missing.

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?

`count` is well covered by both the schema and the description, including the crucial note that it is independent of `add_limit`. `sqid` has no schema description and is not explained in prose, though the method path (`saved-searches/{sqid}`) makes its meaning inferable. With 50% schema coverage, this is adequate but leaves the identifying parameter under-specified.

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?

Opens with a specific verb+resource framing ('One-off preview run') and states exactly what happens: the saved search runs against the discovery DB, skips already-added people, and inserts up to N new leads into add_to_segment. It distinguishes this from the scheduled picker and campaign autopilot, so an agent can separate it from sibling flows.

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 says to use this to iterate on `params_json` before flipping `is_enabled=true`, which is a concrete when-to-use condition, and explains what it bypasses versus autopilot. It stops short of naming the sibling tool an agent would call to actually flip `is_enabled` or to schedule a run, so routing to alternatives is implied rather than 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.