Skip to main content
Glama

Basis

alert_link

Destructive

Prepare a price or indicator alert and get a link that sets it in Basis in one click. Use it whenever the person wants to be told when something happens -- a level breaks, RSI crosses 70, price moves 5%. For a price level pass price (and when, or it is chosen from the current price); for anything else pass conditions. Give the URL as a link and say in one line what it watches. Nothing is armed until they open it and confirm. No account needed; the link lasts seven days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoWhat the person sees when it fires. Chosen for you if omitted.
whenNoWith price. Omit to pick the crossing from where price is now.
matchNoHow conditions combine. Default all.
priceNoShorthand for a price-level alert.
marketNo
symbolNoe.g. BTCUSDT. Defaults to the chart you are building.
messageNoOptional note carried into the notification.
exchangeNo
frequencyNoDefault once: fires, then switches itself off.
timeframeNoBars the alert is checked on, e.g. 15m, 1h, 4h. One of 1m, 3m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M.
conditionsNoInstead of price. Each {left, operator, right}. An operand is a number, a price field ("close"), an indicator name ("rsi", "ema50"), or {"type":"indicator","studyId":"macd","plotKey":"histogram","params":{}}. rising and falling need no right; changeUpPercent and changeDownPercent take a percent.
cooldownMinutesNoWith frequency cooldown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The description discloses useful behavioral context beyond annotations: nothing is armed until the user opens and confirms the link, no account is needed, and the link lasts seven days. This is especially valuable because annotations mark destructiveHint=true but the description clarifies the deferred activation model, without directly contradicting the annotation.

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?

Three sentences, no filler, and the most important usage guidance is front-loaded. Every sentence earns its place: what the tool does, when to use it, how to choose between price and conditions, and what to return.

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?

Given 12 parameters and no output schema, the description covers the essential decision between price and conditions, and gives output guidance ('Give the URL as a link and say in one line what it watches'). It doesn't enumerate all parameter combinations, but the schema covers the parameter-level details, and the deferred-activation and expiry behavior are disclosed.

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?

The description adds meaning beyond the schema by explaining the core branching logic: pass price for a price-level alert, pass conditions for anything else, and how 'when' behaves relative to current price. With 83% schema coverage, most parameter details already live in the schema, and the description's additions are targeted and useful, though it doesn't explain every optional parameter.

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 description names a specific action (prepare a price or indicator alert link), a clear resource (a one-click Basis alert link), and the intended scenario (when the user wants to be told when a level breaks, RSI crosses 70, or price moves 5%). This distinguishes it from siblings like chart_link or indicator_compute by focusing on alert generation rather than chart or indicator manipulation.

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 explicitly says 'Use it whenever the person wants to be told when something happens', giving clear when-to-use context. It does not name sibling alternatives or explicitly state when not to use it, but the examples and the 'price vs conditions' branching provide enough orientation for an agent to select it correctly.

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