Skip to main content
Glama

Save Search

save_search

Save a filter set under a name on the caller’s account.

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": {
      "query": "<query>"
    },
    "name": "save_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / query / properties / new
      Added value: +{
      +  "description": "Only offers first seen within this window: 24h, 7d, 2w (a bare number is days). Pair with sort=new for the newest first.",
      +  "examples": [
      +    "7d"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / query / properties / sort / enum
      Previous value: -[
      -  "relevance",
      -  "price",
      -  "value",
      -  "ram",
      -  "vcpu",
      -  "disk",
      -  "updated",
      -  "name"
      -]New value: +[
      +  "relevance",
      +  "price",
      +  "value",
      +  "ram",
      +  "vcpu",
      +  "disk",
      +  "updated",
      +  "new",
      +  "name"
      +]
    • addedInput schema / properties / query / properties / stock / description
      Added value: +"discontinued = the provider no longer lists the plan; hidden unless asked for by name"
    • changedInput schema / properties / query / properties / stock / enum
      Previous value: -[
      -  "in_stock",
      -  "out_of_stock",
      -  "unknown"
      -]New value: +[
      +  "in_stock",
      +  "out_of_stock",
      +  "unknown",
      +  "discontinued"
      +]
  2. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the mutation/safety profile is covered. The description adds only that the save is scoped to the caller's account; it says nothing about what happens on a duplicate name (overwrite vs. error), how many searches can be saved, or whether the stored filter is a snapshot or re-evaluated later.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single clean sentence with no filler, but it is under-specified rather than concise: for a tool wrapping a 25-field nested filter object, one clause is too thin to front-load the key facts.

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

Completeness2/5

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

Given a complex nested query object, a mutation annotation, no output schema and no description of the stored representation, the definition leaves the agent guessing about naming behavior, duplicates and return value. The nested field descriptions inside query help, but the top-level contract is incomplete.

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

Parameters2/5

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

Top-level schema coverage is 0% for both parameters, so the description must carry the load. It only implies that query is the filter set being persisted and that name labels it — yet the schema marks name as optional, which the phrase "under a name" obscures rather than clarifies. No guidance on how the many nested query fields are stored or normalized.

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?

"Save a filter set under a name on the caller's account" gives a specific verb (save) and resource (filter set / search), and scopes it to the caller's account. It does not name or distinguish itself from the obvious siblings (saved_searches, delete_saved_search), so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of when not to use it (e.g. re-saving versus updating an existing saved search), and no pointer to saved_searches for reading them back. The agent must infer that this persists a query for later reuse.

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.

Resources