Skip to main content
Glama

saved_searches_bulk_toggle

Sets is_enabled on every saved search whose sqid is listed, scoped to the current workspace. Enabling makes the scheduled batch picker auto-run the search; disabling pauses it. Sqids not in this workspace are ignored.

Method: POST /api/v1/workspaces/{workspace_sqid}/saved-searches/bulk-toggle/

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": {
      "is_enabled": "<is_enabled>",
      "sqids": "<sqids>"
    },
    "name": "saved_searches_bulk_toggle"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidsYesList of saved-search sqids to enable or disable.
is_enabledYesTarget status to apply to every listed saved search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description does useful work: it says enabling makes the scheduled batch picker auto-run the search, disabling pauses it, workspace scoping applies, and out-of-workspace sqids are silently ignored rather than erroring. It still leaves out permission requirements, whether the operation is atomic, and what happens to malformed sqids.

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 core behavior is front-loaded in the first sentence, the operational consequence follows, and the edge case (foreign sqids ignored) closes it out. The trailing endpoint line is extra but compact and unambiguous.

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 two-parameter mutation with no annotations and no output schema, the definition covers intent, effect, scoping, and the notable silent-ignore behavior. The remaining gap is the response shape and failure semantics, which matters somewhat for a bulk mutation but is a minor omission.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline would be 3, but the description adds real meaning: the boolean governs auto-run vs pause of the scheduled batch picker, and the sqid list is workspace-filtered so foreign ids are dropped. That goes beyond 'target status to apply to every listed saved search.'

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?

The description gives a specific verb and resource: it sets `is_enabled` on every saved search in a list of sqids, scoped to the current workspace. That is far more precise than the bare name, but it never distinguishes this bulk flag flip from a single-record `saved_searches_update` call, so the reader must infer the difference.

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 only implied: 'every saved search whose sqid is listed' plus 'bulk-toggle' signals a mass operation, and the enable/disable effects tell the agent what the outcome will be. There is no explicit guidance on when to prefer this over `saved_searches_update`, and no prerequisite or exclusion notes.

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.