Skip to main content
Glama

Create a price alert

create_alert

Create a one-shot price alert for the signed-in user: notify them (InvestIQ notification + email) when a ticker crosses a target price, above or below, in the listing's own currency. Checked hourly on weekdays, 13:00–20:00 UTC (US market hours), against the latest price. Returns the alert's id, its distance from the current price, and a warning when the level is 25 % or more away or already crossed. For a conviction-move or daily-move alert use set_watchlist_alerts; list_alerts / update_alert / delete_alert manage existing ones. Requires the user to be connected. Example: "alert me if NVDA goes below 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": {
      "ticker": "<ticker>",
      "target_price": "<target_price>",
      "direction": "<direction>"
    },
    "name": "create_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYes
directionYes
target_priceYes

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

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

Beyond the annotations (readOnlyHint=false, non-destructive, non-idempotent), the description discloses that the alert is one-shot, fires via two channels (InvestIQ notification + email), is evaluated hourly on weekdays 13:00–20:00 UTC against the latest price, and returns the alert id, distance from current price, and a warning at ±25% or if already crossed. Those are operating details the annotations cannot convey and that materially affect invocation.

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 purpose and scope, then alternatives, then mechanics and a concrete example — no filler sentences. It is dense but every clause (cadence, currency, warning threshold) carries information an agent would otherwise have to guess, though the single long paragraph could be broken up for scanability.

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?

For a 3-parameter mutation with an output schema present, the definition covers everything an agent needs: prerequisite auth state, scheduling semantics, currency handling, and a routing map to the sibling tools. Return values are summarized even though the output schema already documents them, so nothing material is missing.

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?

With 0% schema description coverage, the description must carry parameter meaning, and it does: direction is 'above or below', target_price is the crossing level expressed in the listing's own currency, and the 25% distance rule explains what a sensible target looks like. It stops short of specifying ticker format (bare symbol vs. exchange-qualified) or a positive-value constraint on target_price, so a small gap remains.

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?

The opening clause names a specific verb and resource ('Create a one-shot price alert') and pins down scope: signed-in user, single ticker, above/below crossing, listing's own currency. It explicitly separates itself from set_watchlist_alerts (conviction/daily-move alerts) and from the list/update/delete management tools, so an agent can pick it without opening sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the trigger condition ('alert me if NVDA goes below 150'), names the alternative for a different alert shape ('For a conviction-move or daily-move alert use set_watchlist_alerts'), and routes lifecycle operations to list_alerts/update_alert/delete_alert. It also gives the prerequisite ('Requires the user to be connected'), leaving no when-to-use inference.

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