Skip to main content
Glama

Change a price alert

update_alert
Destructive

Change one of the signed-in user's price targets: its level and/or direction (above / below). A target that already fired is re-armed. Returns the distance from the current price and a warning when the level looks far off (≥ 25 % away) or is already crossed. Take the id from list_alerts. Example: "move my NVDA alert to 150".

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
alert_idYesThe price target's id (from list_alerts).
directionNoFire when the price goes above or below the level.
target_priceNoNew level, in the listing's own currency.

Output Schema

NameRequiredDescriptionDefault
okYesfalse on an error; then `error` says what happened and what to do.
cardNoThe in-chat InvestIQ card, in English and French.
dataNoThe tool's own result fields.
toolYes
as_ofYesISO time the data was computed (a stored analysis: when it was computed).
errorNo
linksNoInvestIQ pages for this result.
degradedNotrue when part of the data was missing.
viz_specNoThe recommended chart's series (data only).
disclaimerYes
data_qualityNoWhat was requested, what was used, and why anything was left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true), the description discloses a non-obvious side effect: an already-fired target is re-armed. It also previews the response (distance from current price) and the warning conditions (≥25% away or already crossed), which meaningfully de-risks a destructive mutation.

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?

The purpose and the re-arm behavior are front-loaded, the return/warning behavior follows, and the id source plus example close it out. Every sentence carries distinct information with no repetition of schema or annotations.

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

Completeness5/5

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

Though an output schema exists, the description still summarizes the meaningful return signals (distance, far-off/crossed warning). Combined with the id provenance, re-arm semantics, and example, nothing an agent needs in order to invoke this correctly is missing.

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 the schema already documents alert_id, direction, and target_price. The description reinforces that level and direction are independently optional and that the level is interpreted relative to the current price, but adds no format, currency, or validation detail beyond the schema; baseline 3 applies.

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 (a price target), scoped to the signed-in user, and enumerates what can be modified (level and/or direction). It is clearly distinguishable from create_alert, delete_alert, and the read-only list_alerts.

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?

Explicitly routes the agent to list_alerts for obtaining the id, and the quoted example ("move my NVDA alert to 150") shows the intended invocation pattern. It does not state when not to use it (e.g., preferring create_alert when no target exists), so it stops short of full when/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.

Resources