Skip to main content
Glama

Convert an EDGAR URL

edgar_to_newlyfiled_url
Read-onlyIdempotent

Turn a sec.gov link (an archive document, a filing index page, the full-submission .txt, or an inline XBRL /ix?doc= link) into the matching Newly Filed URL.

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": {
      "url": "<url>"
    },
    "name": "edgar_to_newlyfiled_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA www.sec.gov URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered without the description. The description adds real context by widening the expected input beyond a plain archive URL. It stays silent, however, on behavior for unrecognized or malformed links and on whether the mapping is a deterministic rewrite; with annotations carrying the rest, a 3 fits.

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, front-loaded with the transformation and followed by a compact parenthetical of accepted variants. Nothing is repeated and no sentence is wasted on a one-parameter utility.

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 trivial, single-parameter, idempotent read conversion with rich annotations, the definition covers the essential facts: the source domain, the accepted link shapes, and the output concept. The only genuine gap is the lack of any statement about failure modes for non-SEC or nonexistent URLs.

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 coverage is 100% and the single parameter is documented only as 'A www.sec.gov URL', so the baseline is 3. The description earns an extra point because it specifies which classes of sec.gov URL are actually valid (index page, full-submission .txt, /ix?doc= inline XBRL), meaningfully narrowing the parameter beyond the generic schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description supplies a specific verb-and-resource pair ('Turn a sec.gov link ... into the matching Newly Filed URL') and enumerates the four accepted input shapes: archive document, filing index page, full-submission .txt, and inline XBRL /ix?doc= link. That is far more concrete than the title. It does not explicitly distinguish itself from URL-shaped siblings such as document_url, filing_url, or explain_url, which keeps it below a 5.

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?

Usage is only implied by the accepted-input list: if you have one of those four sec.gov link types, this is the converter. There is no explicit when-to-use/when-not-to-use statement and no named alternative for links that are not SEC archive forms. An agent must infer routing from the input enumeration alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources