Skip to main content
Glama

Get site scan results

get_site_scan
Read-onlyIdempotent

Read a whole-site scan job started by scan_site: job status, pages total/done/failed (and pagesSkipped when robots.txt kept some pages out), a summary with grade counts and the top failing check ids, and one of three views. view "by_check" lists each failing check once with its page count, fix_hint, rule_id and up to 5 URLs: start there. view "pages" (default) pages through per-URL results, 20 per call unless you pass limit (at most 50); add check to get only the pages that fail that check. view "errors" lists only the pages the scan could not grade. Items use scan_url's field names (check_id, rule_id, fix_hint, groups keyed by group) and list failed checks only. A page whose fetch failed was already retried once. Only the key that started the job can read it. The checks cover technical readiness only; each result says what a full audit adds in semantic_review (guidance.semantic_review on keyed page scans). Use when: You started a scan_site job and want its status, the failing checks across the site, or the next page of results. Avoid when: You want a single URL's grade right now. Use scan_url. Do not claim: A grade or a pass is not a citation. The check says the page matches the rulebook. Verify: Read view by_check once status is done, then fetch_rules with ids for the rule_id of each failing check. Page with the returned cursor until nextCursor is null, and re-scan after applying fixes.

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": {
      "jobId": "<jobId>"
    },
    "name": "get_site_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNopages (default): per-URL results. by_check: each failing check once, with its page count and URLs. errors: only pages the scan could not grade.
checkNoOptional check id (for example chk-blf-001). With the pages view, return only the pages that fail it.
jobIdYesjobId returned by scan_site.
limitNoOptional results per page for the pages and errors views (default 20).
cursorNoOptional page cursor from the previous get_site_scan result with the same view and check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses real behavioral facts: only the key that started the job can read it, failed fetches were already retried once, pagesSkipped occurs when robots.txt blocks pages, pagination is 20 per call (max 50), and results are failed-checks-only. That is substantial context the annotations don't carry, though it stops short of detail on cursor expiry or summary field formats.

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?

Purpose and view guidance are front-loaded, but the definition is dense and long, with the "Do not claim" and "Verify" sections reading as boilerplate-heavy. Most sentences earn their place, but a few (the repeated fix_hint/rule_id/field-name mapping) could be tightened without losing meaning.

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 carries the return-value burden and does it well: it names status fields, grade counts, failing check ids, per-view contents, and cursor paging until nextCursor is null. For a 5-param read tool with annotations, this is close to complete, though it could say more about what an empty or in-progress result looks like.

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%, so the baseline is 3. The description does add strategic meaning by recommending by_check as the starting view and explaining that check combined with the pages view filters to failing pages, but it largely restates the enum meanings already documented in the schema rather than adding format or edge-case guidance.

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 ("Read a whole-site scan job started by scan_site") and enumerates what it returns: status, page counts, grade summary, top failing check ids, and three views. The scope is clearly the site-level job, contrasted against scan_url for single URLs, so an agent can distinguish it from siblings without opening the schema.

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?

Explicit "Use when: You started a scan_site job..." and "Avoid when: You want a single URL's grade right now. Use scan_url." It names the alternative and the condition that selects it, and even recommends starting with view by_check before paging. Nothing about when to reach for this tool is left to inference.

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.