Skip to main content
Glama
PowerLaw-Technology

ferc-elibrary-mcp

download_file

Download a public FERC eLibrary filing to your local download directory using a file_id from list_files, with native, zip, or PDF format options.

Instructions

Download a public eLibrary file to FERC_DOWNLOAD_DIR.

Does not return file bytes. Privileged, protected, and CEII documents are refused. Call list_files first to pick a file_id.

format=native saves that one original file and is the default. format=zip asks eLibrary for every file on the accession as one archive; if the accession has a single attachment, the archive is unwrapped to that file and content_type / is_bundle / expected_size describe the saved document. format=pdf asks eLibrary to generate a combined PDF of the whole accession.

The result reports expected_size from FERC's metadata alongside the byte count actually written, plus size_matches_metadata and is_bundle, so a mismatch between the file you asked for and the artifact you got is visible.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNonative
file_idNo
accession_numberYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description fully carries the burden and does so admirably. It discloses the side effect of saving to FERC_DOWNLOAD_DIR, states that file bytes are not returned, explains refused document types, and reveals how format choices change the saved artifact and result metadata.

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 detailed yet tightly organized, with each paragraph serving a distinct purpose: primary action, key caveats, format semantics, and result interpretation. No sentence feels redundant or filler.

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?

Given the tool's complexity, the description covers prerequisites, refusals, format variants, side effects, return-value semantics, and mismatch detection. The presence of an output schema reduces the need to describe return fields, yet the description still adds useful interpretive context about size_matches_metadata and is_bundle.

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 description coverage is 0%, so the description must compensate. It thoroughly explains the format enum values, their defaults, and their behavioral differences, and it explains file_id's role via the list_files prerequisite. accession_number is not explicitly explained, though the tool name and context make it reasonably inferable.

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 a public eLibrary file to FERC_DOWNLOAD_DIR.' It clearly distinguishes this tool from siblings by focusing on a single file download and by describing the non-return of file bytes, making its role unambiguous.

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?

The description gives explicit operational guidance: call list_files first to pick a file_id, and it warns that privileged/protected/CEII documents are refused. It does not explicitly compare against the sibling download_bundle, so the choice between this tool and that alternative is somewhat left to inference.

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

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/PowerLaw-Technology/ferc-elibrary-mcp'

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