Skip to main content
Glama

Get scan status

get_scan_status
Read-onlyIdempotent

Check the status of a scan job previously started with trigger_page_scan. Returns the current phase (pending, running, done, or failed) and, once done, whether the scan completed with errors. Scans usually finish within 120 seconds end to end, so a "running" or "pending" phase shortly after triggering is expected, not a stall -- wait at least 15-20 seconds between calls instead of polling back to back.

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

Input Schema

NameRequiredDescriptionDefault
jobIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds genuinely useful behavior beyond that: expected end-to-end latency, the phase vocabulary, an error flag on completion, and anti-hammering guidance. It omits what happens for an invalid or expired jobId, which is the main remaining behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with purpose, then return shape, then operational timing guidance. No filler, and the most decision-relevant constraint (don't poll back to back) is placed where it will be read.

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 must explain returns, and it does so by listing the four phases and the completion-error flag. Combined with annotations covering safety, nothing essential for calling this tool correctly is missing.

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?

The single jobId parameter has 0% schema description coverage, so the description must carry the meaning, and it does by implication: the ID is the one returned by trigger_page_scan for a previously started job. It never names jobId explicitly or gives its format/lifetime, so it compensates well but not completely.

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 ("Check the status of a scan job") and explicitly ties it to the sibling that creates the job, trigger_page_scan. It also enumerates the returned phase values, so an agent can distinguish it from trigger_page_scan and the report-oriented siblings without opening a 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 after trigger_page_scan) plus concrete polling cadence: wait 15-20 seconds between calls and expect up to 120 seconds total. It stops short of explicit exclusions, e.g. what to do if the job ID is unknown or expired, or when to give up polling.

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