Skip to main content
Glama

Explain a Newly Filed URL

explain_url
Read-onlyIdempotent

Say what a newlyfiled.com URL points at: page type, CIK, accession, document, anchor, and any highlight (?h=) it carries. With resolve_highlight, also fetch the document and return the highlighted text. A /companies/{ref}/latest[/{form}] shortcut is also resolved to the filing it opens right now.

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": "explain_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA newlyfiled.com URL or path
resolve_highlightNoFetch the document and return the highlighted text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the safety bar is low. The description still adds real behavior: resolve_highlight triggers a document fetch and returns highlighted text (extra latency/cost), and the /latest shortcut is resolved 'right now', signalling a time-dependent result for those URLs. It does not describe error behavior for malformed or non-newlyfiled URLs.

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?

Three tight sentences: the decoded-fields list is front-loaded, the conditional fetch second, and the shortcut edge case last. Nothing is repeated for padding and every sentence contributes a distinct fact.

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?

With no output schema, the description does the necessary work by enumerating the returned fields (page type, CIK, accession, document, anchor, highlight) and covering the shortcut URL form. It is nearly complete for a two-parameter parser; only invalid-URL handling and the shape of the highlighted-text return are left unstated.

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% and the schema already states that resolve_highlight fetches the document and returns the highlighted text, which the description repeats almost verbatim. The one genuine addition is tying the highlight to the ?h= query parameter, clarifying where highlight data comes from. Baseline 3 is appropriate when the schema carries the parameter documentation.

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 uses a specific verb ('say what ... points at') on a specific resource (a newlyfiled.com URL) and enumerates the decoded outputs: page type, CIK, accession, document, anchor, highlight. It also covers the /companies/{ref}/latest shortcut form. It does not explicitly name which sibling to use instead, so sibling differentiation is implied rather than stated.

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 implied by 'a newly filed URL' plus the conditional 'With resolve_highlight, also fetch the document', which tells the agent when the extra fetch fires. There is no explicit when-not guidance and no routing to siblings such as company_url or document_url, so the agent must infer that this tool decodes URLs while those likely build them.

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