Skip to main content
Glama

get_scan

Retrieves details for a specific scan by UUID, so you can poll status after triggering a scan and confirm when results are ready.

Instructions

Get details for a specific scan. Use this to poll scan status after triggering a scan.

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

Input Schema

NameRequiredDescriptionDefault
scanIdYesThe scan UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully signals that this is a polling read whose state changes over time, but it says nothing about permissions, whether the scan must already exist, or what the returned 'details' contain.

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?

Two short sentences with no filler, and the purpose statement is front-loaded ahead of the usage hint. Every sentence contributes.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple single-parameter tool, and the description covers the purpose and the polling workflow. However, with no output schema, an agent still has no idea what fields or status values 'details' returns, which is a real gap for a polling tool.

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 scanId parameter is documented as 'The scan UUID' with a uuid format, so the schema does the heavy lifting. The description adds no format or source guidance (e.g. where to obtain the scanId) beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: 'Get details for a specific scan.' The word 'specific' distinguishes it from list_scans, and the resource is unambiguous, though no sibling is named explicitly.

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?

'Use this to poll scan status after triggering a scan' states a clear trigger condition that ties directly to the trigger_scan_* siblings and implies repeated invocation. It gives no explicit exclusions (e.g. when to prefer list_scans or compare_scans), which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.