Skip to main content
Glama
PowerLaw-Technology

ferc-elibrary-mcp

search_within_document

Search inside a FERC eLibrary document by providing accession number, filename, and query, and retrieve matching passages with page and character offsets.

Instructions

Search extracted text for a query and return passages with page/char offsets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
filenameYes
max_hitsNo
accession_numberYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses the core read-only search behavior and the output shape, but it does not mention side effects, extraction prerequisites, pagination, max_hits behavior, or edge cases. It is adequate but not rich.

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?

One sentence with a leading verb and no filler. Every phrase adds meaning: the search action, the input type (extracted text), and the output (passages with offsets).

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

Completeness2/5

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

The tool has four parameters with no schema descriptions and no annotations, so more context is required. The output schema covers the return shape, but the missing parameter semantics and lack of usage guidance leave the description incomplete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description only clarifies 'query' by referring to it as a query. It does not explain accession_number, filename, or max_hits, leaving the agent to guess why both identifiers are required and how max_hits limits results.

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 identifies a specific verb ('Search'), a resource ('extracted text'), and an explicit output ('passages with page/char offsets'). This makes it clear what the tool does and distinguishes it from siblings like get_filing_text and read_document, which return full text rather than matched passages with offsets.

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

Usage Guidelines2/5

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

The description gives no guidance on when to prefer this tool over alternatives. It does not mention that it is for searching within a single document rather than across filings, and it does not contrast with siblings such as search_filings, get_filing_text, or read_document.

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