Skip to main content
Glama

Change, pause or resume an alert

update_alert
Idempotent

Change an alert (ids from list_alerts): pause or resume it (status), rename it, rewrite its condition or its Google News search, change how it tells the person (channel), whether it searches Google News, whether it waits for the morning. With sentence alone, the new sentence is read again into title, condition and search.

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": {
      "alert_id": "<alert_id>"
    },
    "name": "update_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoThe Google News search; "" for none
titleNoA new short name for the alert
statusNopaused = kept but not checked; active = checked again
channelNoHow to tell the person: push = notification in the app (email when no phone takes it), email, both
use_webNoAlso search Google News (false = only their own sources)
alert_idYesThe alert id, from list_alerts
sentenceNoA new sentence: read again into title, condition and search
conditionNoWhat an article must report for the alert to fire
quiet_nightNoHold matches found between 22:00 and 07:00 until the morning

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so the low bar is met. The description adds real behavior beyond that: updates are field-scoped and additive to the existing alert, and providing `sentence` alone triggers re-parsing into title, condition and search — a non-obvious side effect an agent could otherwise miss.

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 verb and resource, then a dense enumeration of modifiable fields with parenthetical mapping to parameter names, plus one sentence on the `sentence` short-circuit. Slightly heavy in parentheticals but 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?

For a 9-parameter partial-update tool with annotations and no output schema, the description covers all mutable facets and the most surprising interaction effect. It omits only minor edge cases, such as what happens if no field besides alert_id is supplied or how conflicts between `sentence` and explicit fields are resolved.

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 100%, so a baseline of 3 applies, but the description earns the extra point by explaining the interaction between parameters rather than restating them — notably that `sentence` re-derives title/condition/search, and that status/channel/use_web/quiet_night map to the pause, delivery, news-search, and morning-hold behaviors.

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?

States a specific verb (change) and resource (alert), then enumerates exactly which facets can be modified: status, title, condition, Google News search, channel, use_web, quiet_night. This cleanly separates it from create_alert/delete_alert siblings, and the parenthetical '(ids from list_alerts)' anchors where the target object comes from.

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?

Gives a concrete workflow cue by pointing to list_alerts as the id source, and clarifies partial-update semantics with 'With `sentence` alone, the new sentence is read again into title, condition and search.' It does not explicitly exclude anything (e.g. vs delete_alert or create_alert), but the context is clear enough to select the tool.

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.