Skip to main content
Glama

sec8k_material_today

Retrieve material SEC 8-K filings from today filtered by item codes such as earnings, officer changes, M&A, dilution, restatements, and delisting. Optionally filter by ticker symbol.

Instructions

Material SEC 8-K filings today filtered by item code: 2.02 (earnings), 5.02 (officer change), 2.01 (M&A), 3.02 (dilution), 4.02 (restatement), 3.01 (delisting).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNoitem codes (e.g. ['2.02','5.02'])
tickerNofilter by ticker symbol

Implementation Reference

  • The tool handler for sec8k_material_today. Dispatches to the backend API endpoint /api/sec8k/today via the _api_get helper function.
    if name == "sec8k_material_today":
        return _api_get("/api/sec8k/today", args)
  • Input schema definition for sec8k_material_today. Accepts optional 'items' (array of item codes) and 'ticker' (string) parameters.
    {
        "name": "sec8k_material_today",
        "description": "Material SEC 8-K filings today filtered by item code: "
                       "2.02 (earnings), 5.02 (officer change), 2.01 (M&A), "
                       "3.02 (dilution), 4.02 (restatement), 3.01 (delisting).",
        "inputSchema": {
            "type": "object",
            "properties": {
                "items": {"type": "array", "items": {"type": "string"},
                            "description": "item codes (e.g. ['2.02','5.02'])"},
                "ticker": {"type": "string",
                            "description": "filter by ticker symbol"},
            },
        },
    },
  • Tool definition/registration as part of the TOOLS list exposed via tools/list and tools/call MCP methods.
    {
        "name": "sec8k_material_today",
        "description": "Material SEC 8-K filings today filtered by item code: "
                       "2.02 (earnings), 5.02 (officer change), 2.01 (M&A), "
                       "3.02 (dilution), 4.02 (restatement), 3.01 (delisting).",
        "inputSchema": {
            "type": "object",
            "properties": {
                "items": {"type": "array", "items": {"type": "string"},
                            "description": "item codes (e.g. ['2.02','5.02'])"},
                "ticker": {"type": "string",
                            "description": "filter by ticker symbol"},
            },
        },
    },
  • The _api_get helper function that actually makes the HTTP GET request to the backend API, used by the sec8k_material_today handler.
    def _api_get(path: str, params: dict | None = None) -> dict:
        if params:
            from urllib.parse import urlencode
            path = f"{path}?{urlencode(params)}"
        req = urllib.request.Request(
            f"{API_BASE}{path}",
            headers={
                "User-Agent": USER_AGENT,
                "Accept": "application/json",
                **({"Authorization": f"Bearer {API_KEY}"} if API_KEY else {}),
            },
        )
        try:
            with urllib.request.urlopen(req, timeout=20) as r:
                return json.loads(r.read())
        except urllib.error.HTTPError as e:
            body = e.read().decode(errors="ignore")[:400]
            return {"error": f"HTTP {e.code}: {body}"}
        except Exception as e:
            return {"error": str(e)[:200]}
Behavior2/5

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

The description provides minimal behavioral information. It does not disclose whether results are real-time, if authentication is needed, or what happens when no filings match. Since no annotations exist, the description carries the full burden, and it falls short.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that efficiently conveys the core functionality and filtering options. Slightly more structure (e.g., bullet points for item codes) could improve readability, but it is still concise and informative.

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?

The description covers the essential aspects: today's filings, filtering by item codes and ticker, and the specific codes that are material. Given the simplicity of the tool and absence of an output schema, it is sufficiently complete for correct invocation.

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% with basic descriptions. The tool description adds significant value by mapping each item code to its meaning (e.g., 2.02 = earnings), which is not present in the schema alone. This helps agents understand correct parameter values.

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 clearly states the tool retrieves material SEC 8-K filings today, filtered by specific item codes. It lists the relevant codes with brief explanations, making the purpose explicit. However, it could start with an action verb like 'Retrieve' for even greater clarity.

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?

The description implies usage context (today's filings, specific item codes) but does not explicitly state when to use this tool versus alternatives. No guidance on when not to use or how it compares to sibling tools, which are different in nature.

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

Install Server

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/FalsifyLab/falsifylab-alpha-mcp'

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