Skip to main content
Glama

List Monitor Runs

monitor-runs
Read-only

A monitor's runs, newest first: trigger (schedule or manual), status (queued, running, completed, failed, cancelled) and fail_reason, the window it searched, item_count, stats per source (fetched, in_window, new, passed, error, accounts_failed and hashtags_failed: watched accounts and hashtags that could not be read; the source fails only when all of them do) and how items were screened (stats.screen: ai, by an AI classifier, or keyword when it fell back), summary, reserved_usd, and cost_usd (null until billed). Free. Returns { runs, next_cursor }; next_cursor is null on the last page.

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-runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRuns per page (1-100, API default 20).
cursorNonext_cursor from the previous page.
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

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered; the description adds genuinely non-obvious behavior: the call is free, runs are ordered newest first, and a source fails only when all of its watched accounts and hashtags fail. Minor gap: it doesn't state what happens for an unknown monitor_id or how far back runs are retained.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The ordering fact is front-loaded, but the rest is one very long sentence built around a nested parenthetical that enumerates stats fields, which is hard to parse at a glance. It is information-dense rather than padded, yet a short bulleted breakdown of status values, cost, and pagination would scan far better.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 correctly carries the return-shape burden and does so thoroughly: status enum values, fail_reason, window, item_count, per-source stats, screening method, summary, and cost fields through to { runs, next_cursor }. It is nearly complete for a simple read tool, missing only error behavior and ordering/retention guarantees.

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% and all three parameters are already documented, so the baseline is 3. The description does add one useful cursor detail the schema lacks (next_cursor is null on the last page) and implies default ordering, but it says nothing about limit bounds or cursor expiry beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"A monitor's runs, newest first" names the resource and the ordering, so an agent can tell this is a paginated run-history reader. It does not, however, contrast itself with monitor-items, monitor-get, or monitor-run (which drives a new run), so the sibling boundary has to be inferred from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use/when-not-to-use guidance, no mention of which sibling to call for items versus run history, and no prerequisite note beyond the monitor_id. An agent is left to infer that this is the read path versus monitor-run and monitor-trigger.

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.