Skip to main content
Glama

SEC EDGAR: filings, insider trades, 13F

Plan an official-records query

plan_records_query
Read-onlyIdempotent

Free, no key needed. Turns a question in plain words into the exact typed Bosco Labs calls that answer it: tool, input, why, and the maximum price of each step, plus what is not covered. Pass the user's question verbatim AND the entities you extracted from it (company_names, tickers, identifiers, countries, dates, law references...): the planner trusts your entities over its own parsing and puts them in the right input fields. The plan echoes them in entities_used and lists in missing what to pass for a better plan. Rules and examples first; only when they are unsure and you passed no entities does a small AI step extract the entities (budget-capped, marked assisted). Same steps, same plan_id. Run it with run_records_plan (paid, max_usd) or call the listed tools directly. Low confidence returns the top 3 candidate tools instead. Questions are kept 30 days in a cut-down form; leave out personal details.

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": {
      "question": "<question>"
    },
    "name": "plan_records_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
entitiesNoWhat you (the calling agent) already extracted from the user's question. Extract these from the question yourself; the planner trusts them over its own parsing and puts them in the right input fields. The plan echoes them in `entities_used` and names what is still missing in `missing`, so you can re-call with more.
questionYesThe user's question, verbatim, e.g. "Is Rosneft on the EU sanctions list?" (English, Dutch, German or French).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent behaviour, but the description adds substantial context: free/no key, the budget-capped `assisted` AI step, deterministic plan_id for identical steps, top-3 candidate fallback on low confidence, and a 30-day retention/PII warning. This is exactly the beyond-annotation detail an agent needs.

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?

Front-loads the key fact (free, no key) and packs a lot into a few dense sentences with no filler. It is longer than typical and leans on parenthetical asides, but nearly every clause carries operational value.

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?

Even without an output schema, the description explains what the response contains (per-step tool/input/why/max price, entities_used, missing, plan_id) and the alternate low-confidence shape. Combined with the privacy note and paid-execution guidance, nothing material is missing for a 2-parameter planner.

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 every nested entity field is documented, so the schema does most of the work. The description nevertheless adds real semantics: the planner trusts supplied entities over its own parsing, places them in the right input fields, echoes them in `entities_used`, and lists gaps in `missing` for re-calling.

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?

States a specific verb and resource: turns a plain-language question into typed Bosco Labs calls including tool, input, rationale and per-step max price, plus coverage gaps. It also implicitly distinguishes itself from run_records_plan by describing the output as a plan rather than execution.

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

Usage Guidelines5/5

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

Explicitly routes the agent: run the resulting plan with run_records_plan (paid, max_usd) or call the listed tools directly. It also states the preferred input strategy (extract entities yourself) and the fallback condition (AI extraction only when unsure and no entities passed).

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.