Skip to main content
Glama

Delete Saved Search

getmattered_delete_saved_search
DestructiveIdempotent

Deletes a saved search and stops its alerts. It cannot be undone.

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

Input Schema

NameRequiredDescriptionDefault
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.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description still adds real value by disclosing a side effect beyond the deletion itself — that associated alerts stop firing — and by restating irreversibility. It does not say what happens if the ID is unknown or whether related match/application data is affected.

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 the destructive action first and the irreversibility warning immediately after. Nothing is redundant and every clause carries information.

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?

The tool is simple (one required integer parameter), an output schema exists so return values need not be explained, and annotations carry the safety semantics. The description covers the essential warning and side effect; only edge-case behavior on a nonexistent ID is left unspecified.

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 100% and the schema itself tells the agent the ID comes from getmattered_list_saved_searches. The description adds no further meaning about the identifier, so the baseline of 3 applies.

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 ("Deletes a saved search") plus its secondary effect ("stops its alerts"), which unambiguously separates it from getmattered_create_saved_search, getmattered_update_saved_search, and getmattered_list_saved_searches. It stops short of naming those siblings explicitly, so it is clear but not maximally 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?

There is no explicit when-to-use or when-not-to-use guidance and no mention of the alternative (update_saved_search) for cases where the user only wants to modify or disable alerts. Usage is implied by the destructive verb, which is adequate but leaves the agent to infer the decision boundary.

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.