Skip to main content
Glama

Sitejar Web Compliance Scanner

get_scan_result

Get a Sitejar scan's status and, once it has finished, its six dimension scores and issue counts by severity. Call this after scan_website. If status is 'queued' or 'running' the scan is NOT finished: wait pollAfterSeconds seconds and call again. Never describe a scan as finished, and never report scores, while status is queued or running: scores are null until the scan completes, and they are also null when a scan failed without reading any pages. Statuses are queued, running, done, failed, canceled and dead_lettered; only 'done' has scores.

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": {
      "scanId": "<scanId>"
    },
    "name": "get_scan_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
scanIdYesThe scan id returned by scan_website.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so: it enumerates all six statuses, declares scores null until completion and null on failed-without-pages scans, and states that only 'done' has scores. It also gives an explicit anti-hallucination guardrail about not reporting scores for unfinished scans.

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?

Front-loaded with the purpose first, then the polling rule, then the status enumeration. Slightly redundant in restating the null-score condition twice ("scores are null until the scan completes" and "only 'done' has scores"), but the repetition serves as a deliberate guardrail rather than padding.

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 and no annotations, the description fully compensates by naming the returned fields, the status values, and the conditions under which scores are absent. An agent has everything needed to call it, poll it, and interpret the response correctly.

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?

Only one parameter and the schema already documents it at 100% coverage ("the scan id returned by scan_website"). The description reinforces provenance by tying the call to scan_website but adds no syntax, format, or validation detail beyond the schema, so the baseline 3 applies.

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 (get a scan's status), then extends it with the exact payload returned on completion: six dimension scores and issue counts by severity. It is clearly distinguishable from siblings like get_category_result or get_issues, which retrieve narrower slices.

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?

Explicitly anchors usage to a predecessor ("Call this after scan_website") and gives a concrete polling protocol: wait pollAfterSeconds and call again while queued or running. It lacks explicit routing against siblings (e.g., when to use get_issues instead of reading counts here), which keeps it just below a 5.

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