Skip to main content
Glama

Alerts and routines

routine
Destructive

Set up or change a routine: a question RoBot answers again by itself, on a schedule (“every morning at 8: how did my games and their rivals do?”) or when something happens (a trigger), with a note to the person’s notifications (and Discord or email if connected). Use it for “every morning”, “each Monday”, “keep me posted”, “tell me when”, “alert me if”. Each run is RoBot answering, on the person’s RoBot usage. Actions: create (name, question, and every or trigger_sql), update (id, and only what changes), pause, resume, delete, restore, run (once now). routines lists them, with their ids. question is asked whole on each run: name the games and what to compare. Times are New York’s. Opens with RoBot: an account RoBot isn’t open on yet gets not_available.

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": {
      "action": "<action>"
    },
    "name": "routine"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoThe time of day in New York as HH:MM (24-hour), for day and week; default 08:00
idNoThe routine’s id (from create or routines), for every action but create
nameNoA short name in plain words, like "Morning check-in"
everyNoHow often, for a routine on a schedule
actionYes
deliverNoWhere its note goes (default bell)
minutesNoFor every: minutes, 15 to 1440
weekdayNoFor week; default Mon
questionNoWhat RoBot is asked on each run, whole and on its own
trigger_sqlNoFor a trigger: one read-only SQL query over RoTerminal’s research tables, a row for each thing that has happened, its first column that thing’s key, newest first, LIMIT 50 at most
cooldown_hoursNoFor a trigger: the least time between its runs, 0.25 to 168 (default 6)
max_fires_per_dayNoFor a trigger: the most runs in a New York day, 1 to 24 (default 3)
check_every_minutesNoFor a trigger: how often it’s checked, 5 to 1440 (default 15)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "create",
      -  "update",
      -  "pause",
      -  "resume",
      -  "delete",
      -  "restore",
      -  "run",
      -  "list"
      -]New value: +[
      +  "create",
      +  "update",
      +  "pause",
      +  "resume",
      +  "delete",
      +  "restore",
      +  "run"
      +]
    • changedInput schema / properties / id / description
      Previous value: -"The routine’s id (from create or list), for every action but create and list"New value: +"The routine’s id (from create or routines), for every action but create"
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false; the description is consistent, exposing a delete action alongside restore and a one-off 'run'. It adds behavior the annotations cannot carry: runs are billed against the person's RoBot usage, times are New York's, and accounts without RoBot open return 'not_available'. It stops short of saying whether delete is permanently destructive or only recoverable via restore beyond the action name.

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 the one-line definition and its selection cues before the denser action contract, and nearly every clause is load-bearing (schedule vs trigger, per-action params, timezone, error case). It is long-ish and parenthetical-heavy for a single paragraph, but the density is justified by seven actions and thirteen parameters.

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 multi-action mutation tool with no output schema, the definition covers the action set, what each action requires, defaults implied by the schema, timezone semantics, delivery destinations, and the failure mode for unopened accounts. It also tells the agent where ids come from (create or routines), which is the one piece of return information needed to chain calls.

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 92% schema coverage the baseline is 3, but the description goes further by binding parameters to actions (create takes name, question and every or trigger_sql; update takes id plus only what changes) and by interpreting 'question': asked whole on each run, so name the games and what to compare. That is guidance the schema's per-field text does not supply.

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 concrete verb (set up or change) over a concrete resource (a routine) and defines the resource in operational terms: a question RoBot re-answers on a schedule or trigger, delivered to notifications. It explicitly contrasts itself with the sibling 'routines', which 'lists them, with their ids', so an agent can route on name alone.

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?

Gives the natural-language phrasings that select this tool ('every morning', 'each Monday', 'keep me posted', 'tell me when', 'alert me if') and enumerates every action with the parameters each requires (create needs name/question/every or trigger_sql; update takes id and only what changes). It names the sibling alternative for listing rather than inferring it.

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.