Skip to main content
Glama

Subscribe to a miner settle-rate alert

flop_alert_subscribe

Create a settle-rate alert for one miner, or for every miner with address "*". Each call adds a new alert and returns its id and channel_live (false: this server cannot deliver on that channel). Alerts are evaluated hourly; while a covered miner's settle_rate is below threshold, each evaluation records fired_at and last_rate, which flop_alert_check reads. No authentication: alerts are listed publicly with the handle masked.

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": {
      "threshold": "<threshold>"
    },
    "name": "flop_alert_subscribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleNoTelegram chat id or @username; required for telegram.
addressNoSS58 miner address, or "*" for every miner.*
channelNosite: poll flop_alert_check. telegram: also sent to handle, if the server has a bot token.site
thresholdYesSettle-rate fraction; 0.5 fires while the rate is below 50%.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / address / default
      Added value: +"*"
    • changedInput schema / properties / address / description
      Previous value: -"SS58 miner address, or \"*\" for all miners"New value: +"SS58 miner address, or \"*\" for every miner."
    • addedInput schema / properties / channel / default
      Added value: +"site"
    • changedInput schema / properties / channel / description
      Previous value: -"\"site\" = poll flop_alert_check to detect firing; \"telegram\" = push to handle"New value: +"site: poll flop_alert_check. telegram: also sent to handle, if the server has a bot token."
    • changedInput schema / properties / handle / description
      Previous value: -"Telegram chat id or @username; required for telegram channel"New value: +"Telegram chat id or @username; required for telegram."
    • changedInput schema / properties / threshold / description
      Previous value: -"Fraction 0–1; alert fires when settle_rate drops below this value"New value: +"Settle-rate fraction; 0.5 fires while the rate is below 50%."
  2. Changed4 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"SS58 address, or \"*\" for every miner"New value: +"SS58 miner address, or \"*\" for all miners"
    • addedInput schema / properties / channel / description
      Added value: +"\"site\" = poll flop_alert_check to detect firing; \"telegram\" = push to handle"
    • changedInput schema / properties / handle / description
      Previous value: -"Telegram chat id or @username; empty for site"New value: +"Telegram chat id or @username; required for telegram channel"
    • addedInput schema / properties / threshold / description
      Added value: +"Fraction 0–1; alert fires when settle_rate drops below this value"
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations: discloses that every call creates a new alert, that the response carries id and channel_live, that channel_live=false means the server cannot deliver on that channel, that evaluation is hourly, and that no authentication is required with handles masked in public listings. The only gap is what happens to existing alerts or how to remove them.

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?

Four tight sentences, front-loaded with the create action and scope, then return values, evaluation cadence, and auth/privacy. No filler and every sentence carries distinct information.

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?

With no output schema, the description still explains the return payload (id, channel_live) and the downstream data flop_alert_check reads (fired_at, last_rate). Auth posture and privacy behavior are covered, leaving nothing 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 coverage is 100%, so the schema already documents all four parameters including the "*" default and the channel enum. The description reinforces the "*" wildcard and the channel_live consequence but adds little parameter meaning the schema does not already carry, so baseline 3 applies.

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 settle-rate alert") plus the scope variant (one miner or every miner via "*"), and implicitly separates itself from the read-side sibling flop_alert_check. An agent can tell what it creates without opening the 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?

Makes clear this is an additive, non-idempotent operation ("Each call adds a new alert") and points to flop_alert_check as the polling counterpart. It lacks an explicit when-not-to-use statement or a warning about creating duplicate alerts, so it stops short of full routing guidance.

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.