Skip to main content
Glama

Update alert

update_alert
DestructiveIdempotent

Updates an existing alert: name, filters (each provided filter replaces the old value), sources, channels, frequency or active state.

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
cpvNoNew CPV codes (replaces the old list)
nameNoNew name
queryNoNew keywords; empty string removes them
methodsNoNew procedure types (replaces the old list)
regionsNoNew regions (replaces the old list)
sourcesNoNew sources
alert_idYesAlert id from list_alerts
categoryNoNew category; 'any' removes it
channelsNoNew channels
countriesNoNew TED countries (replaces the old list)
frequencyNoNew frequency
is_activeNoPause (false) or resume (true) the alert
value_maxNoNew maximum value; 0 removes it
value_minNoNew minimum value; 0 removes it

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
notesNo
filtersYes
sourcesYes
channelsYes
frequencyYes
is_activeYes
filters_summaryYes
last_notified_atNo
matches_last_30_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the safety profile is covered. The description adds meaningful behavior beyond that: each provided filter replaces the prior value, and is_active is framed as pause/resume. It stops short of stating what happens to fields that are omitted, which is the main remaining ambiguity.

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?

A single front-loaded sentence with no filler, naming the resource first and then the mutable fields. The trailing 'frequency or active state' is slightly compressed, but overall it is efficient and readable.

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

Completeness3/5

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

Given 14 parameters, an output schema, and rich annotations, the definition is adequate but not complete. It does not clarify whether omitted fields are preserved or cleared, nor how null versus absent values are treated, which matters for a partial-update tool marked destructive.

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%, so every parameter is already documented in the input schema, including replacement and removal semantics such as 'empty string removes them' and '0 removes it'. The description reinforces the replacement rule for filters but does not explain the parameters it omits (cpv, methods, regions, countries, category, value_min, value_max). 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?

The description states a specific verb ('Updates') and resource ('an existing alert') and enumerates the mutable areas: name, filters, sources, channels, frequency, and active state. 'Existing' implicitly separates it from create_alert and delete_alert, though no sibling is named explicitly.

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 'Updates an existing alert', but there is no explicit when-to-use guidance, no statement of prerequisites (e.g., that alert_id comes from list_alerts), and no routing away from create_alert or delete_alert. The agent can infer the context but must do the work itself.

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