Skip to main content
Glama

BitCLI — Crypto Futures & Order Flow

alert_manager

BEHAVIOR: State-mutating operation. Injects or removes in-memory execution triggers in the C++ engine. When triggered, it dispatches asynchronous out-of-band notifications (Telegram/Discord) without requiring the agent to remain awake.

PRICING: Targeted coin alerts cost $0.001 USD. Global wildcard scans ('*') cost $0.002 USD. Wildcards require a positive USD balance on Free/Trader plans.

ACTIONS & PARAMETER INTERACTIONS:

  • 'create': Deploys a new trigger. Requires 'command'. Returns the assigned alert_id and expiration time.

  • 'list': Returns an array of currently active triggers, their IDs, and remaining TTLs. Ignores 'command' and 'alert_id'.

  • 'cancel': Removes a specific trigger. Requires 'alert_id'. Ignores 'command'.

  • 'clear_all': Purges all active triggers for the account. Ignores 'command' and 'alert_id'.

USAGE GUIDELINES: Use this tool to establish asynchronous monitoring instead of polling market_data. Requires an authenticated API key; anonymous guests will receive an authorization error. Enforces plan capacity limits.

ERRORS: Authentication failures, capacity limit breaches, or syntax errors return an explicit 'isError: true' payload detailing the rejection reason.

Input Schema

NameRequiredDescriptionDefault
actionYesTrigger management action.
commandNoUnified BitCLI command string (required for 'create', e.g. 'btc 95k', '* vol 15m x4 cd=30m').
alert_idNoNumeric alert identifier (required for 'cancel').
ttl_minutesNoMandatory lifetime in minutes (range: 1 to 1440). Alerts automatically expire afterward.
destinationsNoArray of destination routing strings obtained via `user_account` (e.g. ['tg_user:12345']). Defaults to the user's registered Telegram.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses state mutation, that alerts fire out-of-band (Telegram/Discord) without the agent staying awake, per-action pricing ($0.001 vs $0.002 wildcard), balance requirements, TTL auto-expiry, and the shape of error payloads. This is exactly the behavioral context annotations would otherwise supply.

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?

Labeled sections (BEHAVIOR / PRICING / ACTIONS / USAGE / ERRORS) front-load the mutation and async semantics before the per-action breakdown. Every line conveys distinct information — no restatement of the name or filler prose.

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?

No output schema exists, and the description compensates by stating what `create` returns (alert_id plus expiration) and what `list` returns (active triggers, IDs, remaining TTLs). Combined with auth, pricing, capacity, and error behavior, an agent has everything needed to invoke this five-parameter mutation tool correctly.

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 goes further by mapping parameters to actions — 'create' requires `command`, 'cancel' requires `alert_id`, and 'list'/'clear_all' explicitly ignore them. That action-parameter interaction is not expressed anywhere in the schema and prevents misfires; only the `destinations` and `ttl_minutes` routing details are left entirely to the schema.

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 family (inject/remove triggers) and resource (in-memory execution triggers in the C++ engine), then enumerates the four concrete actions with what each does. An agent can immediately tell this apart from `market_data` polling and `calc_engine`.

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?

Explicitly routes the agent: 'Use this tool to establish asynchronous monitoring instead of polling `market_data`.' It also states the prerequisites (authenticated API key, guests get an auth error) and the constraint (plan capacity limits), so when-to-use and when-it-will-fail are both covered.

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