Skip to main content
Glama

Update Saved Search

getmattered_update_saved_search
Idempotent

Renames a saved search or switches its alerts. Its roles and locations stay.

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": {
      "saved_search_id": "<saved_search_id>"
    },
    "name": "getmattered_update_saved_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe new name of the search, up to 120 characters.
alerts_enabledNotrue emails the user new matches for this search, false stops the emails.
saved_search_idYesThe saved search, from getmattered_list_saved_searches.

Output Schema

NameRequiredDescriptionDefault
savedYesFrom getmattered_create_saved_search or getmattered_update_saved_search: the search after the change.
actionYesThe operation that ran, one of list, save, update or delete.
searchesYesFrom getmattered_list_saved_searches: every saved search.
deletedIdYesFrom getmattered_delete_saved_search: the search that was deleted.
setupStepNoPresent while account setup is open: the first setup step.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / action / description
      Previous value: -"The operation that ran: list, save, update or delete."New value: +"The operation that ran, one of list, save, update or delete."
    • changedOutput schema / properties / saved / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "alertsEnabled": {
      -        "description": "True when new matches for this search are emailed to the user.",
      -        "type": "boolean"
      -      },
      -      "createdAt": {
      -        "type": "string"
      -      },
      -      "lastAlertedAt": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "locations": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "savedSearchId": {
      -        "description": "Pass as saved_search_id to getmattered_update_saved_search or getmattered_delete_saved_search.",
      -        "type": "number"
      -      },
      -      "targetRoles": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "savedSearchId",
      -      "name",
      -      "alertsEnabled",
      -      "targetRoles",
      -      "locations",
      -      "createdAt",
      -      "lastAlertedAt"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "alertsEnabled": {
      +        "description": "True when new matches for this search are emailed to the user.",
      +        "type": "boolean"
      +      },
      +      "createdAt": {
      +        "type": "string"
      +      },
      +      "lastAlertedAt": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "locations": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "savedSearchId": {
      +        "description": "The saved_search_id getmattered_update_saved_search and getmattered_delete_saved_search take.",
      +        "type": "number"
      +      },
      +      "targetRoles": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "savedSearchId",
      +      "name",
      +      "alertsEnabled",
      +      "targetRoles",
      +      "locations",
      +      "createdAt",
      +      "lastAlertedAt"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / searches / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "alertsEnabled": {
      -          "description": "True when new matches for this search are emailed to the user.",
      -          "type": "boolean"
      -        },
      -        "createdAt": {
      -          "type": "string"
      -        },
      -        "lastAlertedAt": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "locations": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "name": {
      -          "type": "string"
      -        },
      -        "savedSearchId": {
      -          "description": "Pass as saved_search_id to getmattered_update_saved_search or getmattered_delete_saved_search.",
      -          "type": "number"
      -        },
      -        "targetRoles": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "savedSearchId",
      -        "name",
      -        "alertsEnabled",
      -        "targetRoles",
      -        "locations",
      -        "createdAt",
      -        "lastAlertedAt"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "alertsEnabled": {
      +          "description": "True when new matches for this search are emailed to the user.",
      +          "type": "boolean"
      +        },
      +        "createdAt": {
      +          "type": "string"
      +        },
      +        "lastAlertedAt": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "locations": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "savedSearchId": {
      +          "description": "The saved_search_id getmattered_update_saved_search and getmattered_delete_saved_search take.",
      +          "type": "number"
      +        },
      +        "targetRoles": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "savedSearchId",
      +        "name",
      +        "alertsEnabled",
      +        "targetRoles",
      +        "locations",
      +        "createdAt",
      +        "lastAlertedAt"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / setupStep / description
      Previous value: -"Set while account setup is open: the step to take first."New value: +"Present while account setup is open: the first setup step."
  2. Changed1 schema field changed
    • addedOutput schema / properties / setupStep
      Added value: +{
      +  "description": "Set while account setup is open: the step to take first.",
      +  "type": "string"
      +}
  3. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, so the safety profile is covered. The description adds genuinely new behavioral context by stating that roles and locations are untouched (a partial-update guarantee), but it says nothing about permissions, what happens on omitted fields, or failure modes.

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?

Two short sentences with zero filler, and the mutability scope is front-loaded before the immutability caveat. Nothing repeats the title or wastes tokens.

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?

With annotations covering safety/idempotency, full schema descriptions, and an output schema that handles return values, the description only needs to convey scope — which it does via the roles/locations note. The minor remaining gap is that it never states this is a partial update where omitted fields are left as-is.

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 coverage is 100%, so all three parameters are already documented with length limits, boolean semantics, and the ID's provenance. The description only restates the name and alerts concepts in prose and adds the negative constraint that other fields are unchanged; baseline 3 is appropriate.

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?

"Renames a saved search or switches its alerts" gives a concrete verb-and-resource statement with the two mutable fields enumerated, so the agent knows exactly which update this is. It does not explicitly name the create/delete/list saved-search siblings, but the naming and scope make disambiguation easy in practice.

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 implied by the field list: use this when you want to rename or toggle alerts. The clause "Its roles and locations stay" signals the tool is not the place to change filtering criteria, but no alternative tool or prerequisite is named, and there is no explicit when-not guidance.

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.