Skip to main content
Glama
GoMobSec MCP server

GoMobSec MCP server

Download report

download_report

Download a completed scan report as DOCX, XLSX, JSON, or SARIF to the GoMobSec download folder without overwriting existing files, and return the saved path.

Instructions

Download the full report of a completed scan — DOCX (pentest report), XLSX, JSON or SARIF (for code-scanning tools) — into the GoMobSec download folder (GOMOBSEC_DOWNLOAD_DIR, default ~/Downloads/gomobsec). Never overwrites an existing file. Returns the saved path.

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

Input Schema

NameRequiredDescriptionDefault
formatNodocx
scan_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it explains that the operation writes into a local download folder, identifies the controlling environment variable and default location, and guarantees that an existing file will never be overwritten. It also states that the saved path is returned, giving the agent useful workflow and filesystem context.

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 action, scan prerequisite, and formats are front-loaded, followed by concise destination, collision-safety, and return-value details. Every clause provides practical information without repetition or unnecessary background.

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 two-parameter download tool, the description covers the essential precondition, output formats, storage location, configurability, overwrite behavior, and result. The output schema can handle further return-value details, leaving only minor workflow omissions such as how to discover a suitable scan_id.

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?

With 0% schema description coverage, the description usefully explains that the scan must be completed and gives semantic guidance for DOCX and SARIF among the format choices. It does not explain where to obtain scan_id or provide comparable context for XLSX and JSON, so it does not fully compensate for the undocumented schema.

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 uses a specific verb and resource—downloading the full report for a completed scan—and identifies the supported report formats. This clearly distinguishes it from siblings such as get_scan, which retrieves scan information, and get_findings, which retrieves findings rather than a full report artifact.

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?

Requiring a completed scan gives a clear precondition, while the DOCX and SARIF notes help users choose formats for pentest and code-scanning reports. It does not explicitly direct agents to list_scans or get_scan for obtaining or validating a scan_id, nor name alternatives for retrieving scan metadata or findings.

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