Skip to main content
Glama

set_alert

Create a price/position alert checked every 60s by Celery beat.

alert_type: price_above | price_below | position_change. token is a mint address. Optional webhook_url is POSTed when the alert fires.

Free (no technology service fee) -- a control-plane write, moves no funds and has no transaction notional.

Workflow: MONITOR step -- arm after executing so a tripped level loops you back to the risk/execute phase. See get_trading_workflow.

Permission mode: a configuration write -- allowed in every permission_mode, observe included; the ladder gates value-bearing actions, not config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYes
caller_idNo
thresholdYes
alert_typeYes
webhook_urlNo
wallet_addressYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover the generic safety profile; the description adds genuinely non-obvious behavior: a 60-second polling cadence, webhook POST on fire, no fee/no funds moved, and that this config write is permitted in every permission_mode including observe. The 'moves no funds' claim is consistent with destructiveHint=false.

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 alert types, then segmented into workflow and permission-mode notes that each carry real decision value. Slightly verbose on the fee/permission rationale, but no sentence is filler.

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?

An output schema exists, so return values need not be described. For a 6-param write tool the description covers purpose, alert taxonomy, trigger mechanism, cost, workflow placement, and permission-mode behavior — everything an agent needs to call it correctly.

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 0%, so the description carries the full parameter burden. It usefully supplies the alert_type enum (absent from the schema), defines token as a mint address, and explains webhook_url's POST behavior, but leaves threshold (units/currency undefined), wallet_address, and caller_id completely unexplained.

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 and resource ('Create a price/position alert') plus the mechanism (checked every 60s by Celery beat). The alert_type enumeration and the token/webhook semantics let an agent distinguish this from siblings like list_alerts, set_liquidation_alert, and set_perp_tpsl without opening any 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?

Explicitly places the tool in a workflow ('MONITOR step -- arm after executing so a tripped level loops you back to the risk/execute phase') and points to get_trading_workflow for the larger flow. It does not, however, state when to prefer set_liquidation_alert or set_perp_tpsl over this generic alert, so sibling selection is only partly resolved.

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