Skip to main content
Glama

get_scan

Read-only

Retrieves the stored result of a previous TLS scan by scan_id, returning structured key-exchange, certificate and grade data without running a new scan. Use it to review earlier post-quantum TLS findings.

Instructions

Fetch the stored result of an earlier scan by its scan_id, without running a new scan. Returns the same structured fields as scan_tls_raw, or error "scan_not_found".

Args:
    scan_id: the scan_id returned by scan_tls_raw.

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_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.3

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds real behavioral context beyond them: no new scan is executed, the payload mirrors scan_tls_raw's structured fields, and the failure mode is a named 'scan_not_found' error.

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 core purpose and the key distinction, then the return/error behavior, then the parameter note. Slightly verbose in the Args block for a single parameter, but nothing is wasted.

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?

For a one-parameter read tool with no output schema, the description covers origin of the input, equivalence of the return payload to a sibling tool, and the error case. Nothing an agent needs to call it 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?

Schema coverage is 0% and the schema only names 'scan_id' with no description, so the description carries the burden and does it: it tells the agent the value is the scan_id previously returned by scan_tls_raw, which is the one non-obvious fact needed to populate it.

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 (fetch the stored result of an earlier scan) and immediately distinguishes it from the sibling that actually performs scans: 'without running a new scan'. An agent can pick this over scan_tls_raw 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?

Clear usage context: use this to retrieve a prior result rather than re-run a scan, and the scan_id comes from scan_tls_raw. It doesn't state explicit exclusions (e.g. what to do when no prior scan exists beyond the error string), but the selection logic against the sibling is clear.

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