Skip to main content
Glama
Reid-n0rc

fcc-ecfs-mcp

by Reid-n0rc

Download an ECFS document

ecfs_download_document

Download a specific document from an FCC ECFS filing by submission ID and document number, save it to disk, and return the saved file path.

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_dirNoDirectory 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.
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. Addedv0.4.0

TDQS

A4/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 disclose key traits: the headless Chrome dependency ('Google Chrome must be installed'), the per-document latency, and the disk-write side effect. It omits auth requirements and overwrite behavior for existing files, keeping it short of 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?

Two tightly written sentences, front-loaded with what the tool does before the identifying details and the performance caveat. No wasted text.

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 simple download tool with full schema coverage and no output schema, the description covers return value ('saved file path'), latency, and the environment prerequisite. Missing auth/permission context is the only notable gap.

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 description coverage is 100%, so the schema already documents all three parameters. The description restates the {n} positional mapping and the output_dir default, adding framing but no syntax beyond what the schema provides. 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?

States a specific verb and resource ('Download one document ... from an ECFS filing'), its side effect (save to disk), and its return ('the saved file path'). This is clearly distinguishable from the sibling search/get tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies usage context by explaining how to identify a document and when to set output_dir ('only set this when the user asks for a specific place'), but never states when to use this versus alternatives like ecfs_get_download_plan or ecfs_raw_request. Adequate but with a clear routing gap.

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