Skip to main content
Glama

Get Scraper Run

scraper_run_get
Read-onlyIdempotent

Retrieve a retained run. This never executes or charges again. Choose how much with view. status: state, progress counts, timing, billing and retry_after_seconds, without inputs, items or results; poll with this. summary (the default): status plus the inputs and the run's result, bounded to about 16 KB. Lists are cut to their first entries and truncated names each cut by path with returned and total; next_step says how to read the rest. full: the whole record, every item result and the run's result together; it is not bounded and is large for a batch, so prefer the paged detail view. detail: one page of the run. section items (the default) returns the items with each item's own result, limit at a time from cursor; section result returns the run's result with one of its lists paged, chosen by collection (a member name such as pages, a dotted path through objects, or omitted for the largest list). items_page or result_page gives total and next_cursor. A response never carries the items' results and the run's result together. The first page keeps the established header and result shape. Set compact true with an explicit result collection to return only id, state, rows, result_page and next_step from page one, without the repeated run header or result wrapper. Later pages (cursor set) are compact. Read view=status or view=summary once for timing, billing, outcome, resume and project link. With verbosity concise and no view named, the summary view is served and its result is the concise form of the run's tool (response summary: outcome, headline, numbers, caveats, failures, the first rows of each list, omitted, read_more) made from the retained result, which is never run again; the views detail and full are what they say. A crawl run's summary is the crawl summary (response summary: status, coverage, counts, top_findings, the report's site-wide results as they are (robots, sitemaps, host_consistency, entry_redirects, duplicate_addresses, section_roots, script_weight, linked_resources, content_trust, duplicates, near_duplicates) with site_checks_not_run naming any the crawl did not make, omitted, read_more), and its result has three lists to page with collection: pages (every crawled page), findings (one row per problem: url, problem, severity, next_step) and broken_links. While a run is not finished, wait retry_after_seconds before asking again: it follows the estimated wait and execution time, it is not a fixed two seconds. Batch runs settle each item as it completes: an item's result appears only once its credits are settled (see settlement, credits and result_available per item), so a poll never returns unsettled paid work. When a run ends before finishing, outcome (completed, partial, timed_out_partial, failed), settled_credits and settled_items describe what was delivered and charged, unfinished_items lists the rest by index and label, and resume.inputs is the input for a new run over only those items (settled items are not re-acquired or re-charged). A keyword-gap, AI-visibility, index-check or volatility run that reaches its time limit still returns the report over the items it finished (charged only for those), marked partial with partial_reason run_deadline_exceeded; a partial volatility score covers only the keywords that were compared (see its note and keywords_requested). A run that did not finish says why in failure (code, message, and target_status when the target site answered an HTTP status) and next_step says what to do: it never points at a result that does not exist, and a failed run is not charged unless credit_state says so. Items a cancellation stopped are counted in progress.canceled (not failed) and marked stopped_by_cancel; their stored state stays failed. Timing is in seconds and keeps waiting apart from executing: queued_seconds (waiting for a slot), paused_seconds (a long run that stood paused between items so that a shorter one could use its slot: state stays running, queue_reason says so, queue_position and estimated_wait_seconds give the wait for its next turn; absent when it never paused), execution_seconds (without the pause) and wall_seconds; deadline_at is the execution deadline, counted from started_at once the run has started and moved later by up to ten minutes while the run waits for shared Google capacity (while queued it is projected from the estimated wait) (while it waits, see queue_deadline_at, estimated_wait_seconds and estimated_execution_seconds; these are estimates, estimate_basis says whether they rest on recent completed runs). A canceled run has state and outcome canceled and error_code RUN_CANCELED; what it settled before the cancellation stays delivered and charged.

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": {
      "run_id": "<run_id>"
    },
    "name": "scraper_run_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNostatus: the smallest answer, for polling. summary: bounded result and inputs. detail: one page of items or of the result. full: the whole record, unbounded.summary
limitNoWith view detail: entries per page (default 10). A page also stops at about 24 KB.
cursorNoWith view detail: where the page starts; next_cursor of the previous page.
run_idYesServer-issued run ID.
compactNoWith view detail, section result and a named collection: return rows from the first page without repeating the run header and result wrapper. Default false preserves the established first-page shape. Later cursors are always compact.
sectionNoWith view detail: items (each item with its own result) or result (the run's result, one list paged). Defaults to items, or to result when collection is given.
verbosityNoconcise: the summary view with the tool's short result; full: the whole record. Only shapes the output.
collectionNoWith view detail and section result: the list of the result to page, as truncated names it without the leading result. (for example pages; for a crawl also findings and broken_links). Omit it for the largest list.
idempotency_keyNoOptional and ignored: this call never charges, so it needs no retry key.

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 declare readOnly/idempotent/non-destructive, yet the description adds substantial non-obvious behavior: no re-execution or charge, per-item settlement gating poll results, partial/deadline outcomes with partial_reason, resume.inputs for re-running only unfinished items, canceled-item accounting, and the queued/paused/execution/wall timing breakdown. These are operational traits an agent cannot infer from the annotations or schema.

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?

Front-loaded with the core purpose, but the body is one enormous undelimited paragraph mixing view semantics, paging, settlement, timing, failure and cancellation. Most sentences carry real information, yet the density and lack of structure make it slow to scan and force the agent to parse a wall of prose.

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 nine-parameter tool with paging, four view modes and settlement semantics, the description covers outcome interpretation, paging continuation, partial/failed/canceled states and the compact shape. With no output schema, this level of detail is what makes correct invocation and response reading possible.

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?

Schema coverage is 100% and the enum descriptions already define view/section/collection, so much here is reinforcement. It nonetheless adds cross-parameter semantics not in the schema: section defaults to result when collection is given, later cursor pages are always compact, and verbosity=concise with no view named serves the summary view in its concise form.

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?

Opens with a specific verb and resource ("Retrieve a retained run") plus an immediate disambiguation that it "never executes or charges again", which separates it from scraper_run_create/cancel. A reader can tell this is a read-only fetch of an existing run without consulting siblings.

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 explicit routing: use view=status to poll, read view=status or view=summary once for timing/billing/outcome, prefer the paged detail view over full because full is unbounded and large for a batch. It also states behavior while a run is unfinished ("wait retry_after_seconds before asking again... it is not a fixed two seconds"), which is direct when-to-use 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.

Resources