Skip to main content
Glama
RobotDisco

qualys-pci-mcp

by RobotDisco

pci_download_scan_report

Read-only

Download a Qualys PCI scan report PDF for a given scan ID and get the local file path. Returns 404 if no report has been generated yet.

Instructions

Download a scan's report PDF and return the path it was saved to.

Args: scan_id: The scan's scan_id from pci_list_scans.

PDF is the only format Qualys offers here. The bytes are written to disk and only a path is returned -- a PDF is not usable as tool output.

A 404 is the normal case, not a failure. Reports must be generated in the Qualys console first, and generation is a write operation this server does not perform. A 404 means only "no report has been generated for this scan yet". It does not mean the scan is missing, and it is not a compliance finding -- do not report it as one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scan_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Even with annotations declaring readOnlyHint=true and destructiveHint=false, the description adds significant behavioral detail: bytes are written to disk, only a path is returned, a 404 is normal and not a failure, and it explicitly warns not to treat a 404 as a compliance finding. No contradictions with annotations.

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?

The description is front-loaded with the core purpose, then gives parameter details, then essential caveats. Every sentence contributes value, and the bold formatting for the 404 warning makes it stand out. No redundancy or fluff.

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 simple tool with one parameter, the description covers prerequisites (generation in console), output behavior (path to saved PDF), error semantics (404), and operational guidance (do not report as compliance finding). It is highly complete given its scope.

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 has one parameter (scan_id) with no description (0% coverage). The description compensates by explaining that scan_id comes from pci_list_scans, providing provenance that is absent from the schema. This adds meaning beyond the structured field.

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?

The description clearly states a specific verb ('Download') and resource ('a scan's report PDF') and the outcome ('return the path'). It is immediately distinguishable from sibling tools that list or get scans/assets/vulns.

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?

Provides clear context: PDF is the only format, reports must be generated in the console first, and a 404 is a normal condition indicating no report has been generated. It does not explicitly name alternatives, but the context strongly implies when to use and what to expect.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RobotDisco/qualys-pci-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server