Skip to main content
Glama

Get scan result

get_scan_result
Read-only

Returns the status of a scan started with scan_website and, once it has finished, a summary: risk score and level, whether a consent banner was detected, counts of cookies and trackers before consent, and the most important findings with plain-language explanations in the requested language, plus a link to the full web report. Only scans started through this server can be read. While the scan is queued or running, call again after about 20 seconds.

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

Input Schema

NameRequiredDescriptionDefault
scan_idYesThe scan_id returned by scan_website.
languageNoLanguage for explanations and the report link, as an ISO 639-1 code (one of the 24 EU languages). Defaults to en.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Everything stated is consistent with the annotations (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description usefully adds the polling cadence and the provenance restriction. However, with annotations already covering the safety profile, the remaining behavioral gaps are unaddressed: nothing about scan_id expiry, error behavior for unknown or foreign scan_ids, or what a queued/running response looks like.

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 status-then-summary framing, followed by the restriction and the polling hint in descending order of importance. The middle sentence is long and dense with a comma-separated payload list, but every clause carries information an agent needs.

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?

No output schema exists, so the description carries the full burden of return-value disclosure and does so thoroughly, covering both the in-progress state and the completed summary fields plus the report link. Combined with the polling guidance, an agent has enough to call it and interpret the result 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?

Schema coverage is 100%, so both parameters are already documented, including the enum of 24 language codes and the default. The description's mention of 'plain-language explanations in the requested language' and 'the report link' largely mirrors the schema's own language parameter description rather than adding new semantics, 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 ('returns the status of a scan') and explicitly ties it to the sibling tool that creates the scan ('started with scan_website'). It also enumerates the payload (risk score/level, consent banner, cookie and tracker counts, findings, report link), so an agent can distinguish it from scan_website without opening either schema.

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?

Gives clear when-to-use context: only scans initiated through this server, and a concrete polling instruction ('while the scan is queued or running, call again after about 20 seconds'). It does not name siblings for adjacent needs (e.g. explain_finding or get_fix_guide for follow-up), but the primary usage condition and retry cadence are explicit.

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