Skip to main content
Glama

PerfDelta

Get scan status

get_scan
Read-onlyIdempotent

Status of a scan you started with scan_url (running, done, error). While running: step, step_total, step_msg (English), step_key and step_params (current step as a stable key, e.g. measuring_page with url and device) and pages measured so far. When done: mobile and desktop scores plus pages, one entry per measured page and device with lab values (LCP, CLS, FCP, TBT, TTFB), real-user field data (LCP, INP, CLS, FCP, TTFB at p75) and where the lab test ran (engine psi or worker, region, fallback_level; fallback_level above 0 marks a replacement run that is not compared with the series). Free (no PageSpeed test used).

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
scan_idYesscan_id returned by scan_url

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?

Annotations already cover read-only, idempotent, non-destructive, and closed-world behavior, and the description adds substantial context beyond them: the state machine (running/done/error), which fields appear in each state, the meaning of fallback_level > 0 as a non-comparable replacement run, and the cost note 'Free (no PageSpeed test used)'. That last point is operationally valuable because it tells the agent this call has no quota impact.

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 enumeration, then state-conditional detail, which is the right order for an agent deciding what to expect. The long parenthetical field lists are dense but each item carries real information; only the nested 'e.g. measuring_page with url and device' phrasing is slightly heavy.

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?

There is no output schema, so the description bears the full burden of describing return values, and it does so thoroughly: progress fields while running, and scores, per-page lab metrics, p75 field data, and execution metadata when done. Nothing an agent needs in order to interpret the response 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?

Schema coverage is 100% and the single scan_id parameter is already documented as 'scan_id returned by scan_url'. The description reinforces the provenance of the ID but adds no format, validation, or edge-case 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 ('Status of a scan') and ties it to the sibling that creates the scan ('you started with scan_url'), plus enumerates the three possible states. An agent can immediately tell this apart from scan_url, which initiates the scan.

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?

The phrase 'a scan you started with scan_url' establishes the lifecycle context: call scan_url first, then this tool. It does not explicitly say to poll repeatedly until the status is 'done', nor does it name any alternative status-checking tool, so the when-to-use guidance is clear but not fully prescriptive.

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