Skip to main content
Glama

Run Monitor Now

monitor-trigger

Queue one run of a monitor now, outside its schedule, and return the run (run_id, status queued). It costs one run, billed when it ends (at most the monitor's max_run_cost_usd); it works on a paused monitor too. 409 run_in_progress while a run is queued or running; 402 when the balance cannot hold the run. Poll monitor-run with the run_id.

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": {
      "monitor_id": "<monitor_id>"
    },
    "name": "monitor-trigger"
  }
}

Input Schema

NameRequiredDescriptionDefault
monitor_idYesmonitor_id returned by monitor-create or monitor-list, example: '6f1d0c9e-0d55-4b8e-9a3c-3c4d9b8e2a10'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses cost accounting (one run, billed at completion, capped by max_run_cost_usd), the paused-monitor behavior, the exact 409 and 402 failure conditions, and what is returned. The annotations only say non-read-only, non-idempotent, non-destructive, and open-world; the description supplies the operational consequences that matter for invoking it.

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: action, cost, edge behaviors, then error codes and next step. It is front-loaded with what the tool does and every clause carries distinct information, with no 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?

With no output schema, the description still covers the return (run_id, status queued), billing implications, paused-monitor behavior, error statuses, and the polling follow-up. Nothing an agent needs to call this correctly and handle the response is missing.

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?

There is only one parameter and schema coverage is 100%, with the schema already explaining where monitor_id comes from and giving a UUID example. The description adds no additional parameter meaning, which is acceptable at this coverage level but leaves it at the baseline.

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 ('Queue one run of a monitor now, outside its schedule') and immediately contrasts it with the scheduled path. The parenthetical return shape and the pointer to monitor-run make it distinguishable from the polling sibling 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?

Gives clear context for when to use it: on demand, outside the schedule, and even on a paused monitor. It also routes the agent to monitor-run for polling the resulting run_id. It stops short of naming an explicit when-not condition or contrasting with monitor-run's own trigger behavior beyond the polling handoff.

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.