Skip to main content
Glama

Set a watchlist ticker's alerts

set_watchlist_alerts
Destructive

Turn on, off or tune the alerts on one ticker of the signed-in user's watchlist — the same settings as in the app: a conviction move of N points or more (score_change_points, 3–50, default 10), the conviction crossing a level (conviction_level, 1–99), a daily price move of N % or more (price_move_pct, 0.5–50), earnings within the next 3 days, insider buying, a big move on a news day (news). These are the ticker's own settings: they add to the rules of its watchlist, which apply to every ticker of the list (the reply shows both together); enabled: false mutes every alert on the ticker, list rules included. Notifications arrive in InvestIQ (and by email when alert emails are on). The ticker must be on the watchlist (add_to_watchlist first). Example: "tell me if NVDA moves more than 5% in a day" → price_move_pct 5.

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": {
      "ticker": "<ticker>"
    },
    "name": "set_watchlist_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
newsNoAlert on a headline about the ticker with a move of 3 pts or more beyond the market the same day.
tickerYesA ticker on the watchlist, e.g. NVDA.
enabledNofalse mutes every alert on this ticker (its list's rules included); true turns them back on.
insiderNoAlert when two or more insiders buy within 30 days.
earningsNoAlert when the next earnings fall within 3 days.
price_moveNoAlert on a large daily price move.
score_changeNoAlert when the conviction score moves by score_change_points or more.
price_move_pctNoDaily move, in percent, that triggers it (turns price_move on).
conviction_crossNoAlert when the conviction crosses conviction_level, up or down.
conviction_levelNoConviction level to watch (turns conviction_cross on).
score_change_pointsNoPoints of conviction move that trigger it (turns score_change on).

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?

Annotations only declare destructiveHint=true and readOnlyHint=false; the description adds substantially more: ticker-level settings merge with and add to list-level rules (both shown in the reply), enabled:false mutes every alert including inherited list rules, and notifications land in InvestIQ plus email when enabled. That is exactly the kind of precedence and blast-radius context an agent needs before a destructive mutation, and it is consistent with destructiveHint.

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?

It is front-loaded with the operation and the settings inventory, then the merge/mute semantics, then prerequisite and example — a sensible order. The prose is a single dense dash-and-parenthesis-heavy sentence chain, and phrases like "the same settings as in the app" add little, costing some readability without wasting much space.

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 11 parameters, an output schema, and full annotations, the description carries the merge-with-list-rules model, the muting behavior, the prerequisite, and a usage example — enough to call it correctly. The notable remaining gap is whether unspecified boolean flags preserve existing state or reset, which matters for a set-style operation on 11 optional fields.

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 the baseline is 3, but the description adds value beyond the schema: it supplies the default of 10 for score_change_points (absent from the schema), restates the tuning ranges in one place, and describes the alert semantics in plain language (conviction move of N points, daily move of N %, earnings within 3 days, news-day move). It does not explain what happens to boolean flags the caller omits, leaving a meaningful semantic question open.

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?

"Turn on, off or tune the alerts on one ticker of the signed-in user's watchlist" names a specific verb (configure), a specific resource (per-ticker watchlist alerts), and a specific scope (signed-in user's list). It enumerates the exact alert types it governs, which separates it from generic alert tools like create_alert or list_alerts without the agent needing to open another schema.

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?

It states an explicit precondition and routes to the sibling that satisfies it: "The ticker must be on the watchlist (add_to_watchlist first)." The worked example ("tell me if NVDA moves more than 5% in a day" → price_move_pct 5) shows the intended invocation pattern. It lacks an explicit statement of when to prefer this over create_alert/delete_alert for non-watchlist or non-ticker alerts, so it stops short of full alternative routing.

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