Skip to main content
Glama

Mostly Right

Get one run

get_run
Read-onlyIdempotent

One run's current state: status, mode, the clamps it ran under, rows delivered and whether a clamp truncated them, how many pages a many-page source reached, the table and table version it sealed, the failure code, detail and stage when it failed, and the version number a confirm or cancel should send. Example: {"run_id": "…"}. Returns {run_id, status, mode, clamps, rows, bytes, truncated, covered_window, table_id, table_version_id, outcome, failure, created_at, completed_at, version, dashboard_url}. rows, bytes, truncated, covered_window, clamps and table_version_id are null until the run has delivered them — a queued run states none of them, and a succeeded refresh whose sources were unchanged has outcome "unchanged" and seals no table version. ALWAYS read truncated before treating a sample as complete: a clamped sample succeeds. A run over a source that gathers many pages also returns pages {discovered, discovery_requests, discovery_complete, duplicates_dropped, known, fetched_this_run, unchanged, changed, failed_this_run, pending, failed, skipped, budget_exhausted, complete}, and it is absent on every run that gathered none. pages.complete false is NOT a failure: the run succeeded with explicit partial coverage, budget_exhausted names the ceiling it stopped at, and the next refresh continues from there without refetching what is already in hand. Say that rather than reporting the run as incomplete work. Cheap. Prefer run_events when you want to watch a run that is still going; use this for a single status check.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as read-only, idempotent, and non-destructive. The description goes well beyond that by explaining null-field behavior before delivery, the 'unchanged' outcome, when the pages object appears, that budget_exhausted indicates intentional partial coverage, and that the tool is cheap. No contradictions with annotations exist.

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?

The description is long but every sentence earns its place: it covers return fields, null semantics, truncation handling, the pages object, failure interpretation, cost, and sibling routing. Important guidance is front-loaded, and the density is appropriate for the tool's complexity.

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 simple one-parameter read tool with no output schema, the description is exceptionally complete. It documents not just what is returned but the meaning of nuanced states like 'unchanged', 'truncated', and 'pages.complete false', plus the version number needed for confirm/cancel. Nothing an agent needs to correctly invoke and interpret this tool 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 required parameter, run_id, and the description includes an example placeholder but does not explicitly explain the meaning of run_id or where to obtain it. The input schema itself provides type, format, and pattern, so the parameter is largely self-explanatory, but the description does not add meaningful semantic value beyond that.

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?

The description opens with 'One run's current state' and then enumerates exactly what is returned: status, mode, clamps, rows, truncated, table/table version, failure details, and version number. It clearly identifies the resource (a single run) and the action (get/read), and it differentiates itself from run_events by specifying this is for a single status check rather than watching an ongoing run.

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?

The description gives explicit usage direction: 'Prefer run_events when you want to watch a run that is still going; use this for a single status check.' It also tells the agent to 'ALWAYS read truncated before treating a sample as complete' and warns not to interpret pages.complete false as a failure. These are clear, actionable when-to-use and interpretation rules.

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