Skip to main content
Glama
Reid-n0rc

fcc-ecfs-mcp

by Reid-n0rc

Download an ECFS document

ecfs_download_document

Download one document (usually a PDF) from an ECFS filing and save it to disk, returning the saved file path. Identify it by the filing's submission ID and the document's position in the filing — the {n} in its…

Instructions

Download one document (usually a PDF) from an ECFS filing and save it to disk, returning the saved file path. Identify it by the filing's submission ID and the document's position in the filing — the {n} in its https://www.fcc.gov/ecfs/document/{id_submission}/{n} location/src URL. Fetches the file through a headless Chrome browser (Google Chrome must be installed), so it takes a few seconds per document. Files are always saved as .pdf inside the user's configured download folder (ECFS_DOWNLOAD_DIR, default ~/Downloads/ecfs).

Input Schema

NameRequiredDescriptionDefault
output_dirNoOptional subfolder of the user's download folder (ECFS_DOWNLOAD_DIR, default ~/Downloads/ecfs) to save into, e.g. "wt-09-209". It's created if missing. Absolute or ~ paths are accepted only if they are inside the download folder; anything outside it is rejected. Omit unless the user asks for a subfolder. The saved file always ends in .pdf.
id_submissionYesThe ECFS submission ID of the filing the document belongs to.
document_numberNo1-based position of the document within the filing — the {n} in its https://www.fcc.gov/ecfs/document/{id_submission}/{n} location URL. Defaults to 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.1
    • changedInput schema / properties / output_dir / description
      Previous value: -"Directory to save the file in. Omit to use the server's configured download directory (ECFS_DOWNLOAD_DIR); only set this when the user asks for a specific place."New value: +"Optional subfolder of the user's download folder (ECFS_DOWNLOAD_DIR, default ~/Downloads/ecfs) to save into, e.g. \"wt-09-209\". It's created if missing. Absolute or ~ paths are accepted only if they are inside the download folder; anything outside it is rejected. Omit unless the user asks for a subfolder. The saved file always ends in .pdf."
    • addedInput schema / properties / output_dir / maxLength
      Added value: +255
  2. Addedv0.4.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses the headless Chrome dependency, the latency cost, the forced .pdf extension, and the fixed download location (ECFS_DOWNLOAD_DIR, default ~/Downloads/ecfs). It leaves out auth needs, overwrite behavior on repeated downloads, and failure modes, which keeps it below a 5.

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 and outcome are front-loaded in the first sentence, followed by identification semantics, then operational caveats. Four sentences, each carrying distinct information with no filler.

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

Completeness4/5

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

For a side-effecting download with no output schema, the description covers prerequisites, timing, destination, and return value adequately. It stops short of describing error behavior or what happens on filename collisions, which an agent invoking a disk-writing tool would benefit from.

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%, so all three parameters are already documented in structured form, including the same {n} URL mapping for document_number and the subfolder rules for output_dir. The description restates the URL-position concept rather than adding syntax or edge-case meaning beyond the schema, so the baseline 3 applies.

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 opens with a specific verb and resource — 'Download one document (usually a PDF) from an ECFS filing and save it to disk' — and states the return value (saved file path). It is clearly a retrieval/save tool, distinguishable from siblings like ecfs_search_documents or ecfs_get_filing without opening any 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?

It explains how to select the right document (submission ID plus the {n} position in the document URL) and adds operational context — a headless Chrome requirement and a few seconds per document. It does not name alternatives or explicitly say when to prefer ecfs_get_download_plan or ecfs_search_documents instead, so it falls short of full routing guidance.

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