Skip to main content
Glama

DalalOS: Indian Stock Market Research (NSE/BSE)

Filing event context

get_event_context
Read-onlyIdempotent

Use this after get_filing_extract when the user wants the earlier state behind an order, capacity or similar event in a filing.

Return cached prior-state context for a canonicalized filing event.

Use after get_filing_extract for an order, capacity or other supported event. The result
retains source quotes and reports only deterministic historical links; it does not infer
price correlation, business causality, or an investment conclusion. Cache-only: no fetches,
extraction requests, or writes occur on this tool path.

``event_family`` additionally carries the persisted family TIMELINE — every cached filing in
this disclosure thread, in filing order — and ``open_questions`` lists the factual follow-ups
still unanswered by those filings (e.g. a required contract value the company has not
disclosed), each with the filing that raised it and, once answered, the filing that resolved
it. Both are raw, source-linked groupings of the company's own disclosures: never a verdict,
target, forecast or recommendation.

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": {
      "query": "<query>",
      "news_id": "<news_id>"
    },
    "name": "get_event_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesOne company: NSE symbol, ISIN or BSE code, e.g. TCS, INE467B01029 or 532540. Always send it as `query` (not `symbol`).
news_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / query / description
      Added value: +"One company: NSE symbol, ISIN or BSE code, e.g. TCS, INE467B01029 or 532540. Always send it as `query` (not `symbol`)."
  2. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses that the tool is strictly cache-only with no fetches, extraction requests or writes on this path, that results retain source quotes, and that only deterministic historical links are reported. It also pre-empts misinterpretation of the returned groupings as verdicts, targets or forecasts, which is behavior annotations cannot convey.

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

Conciseness3/5

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

The usage trigger is front-loaded and the return-shape paragraph earns its space, but the definition opens with a summary sentence that the next paragraph restates almost verbatim ('Use after get_filing_extract for an order, capacity or other supported event'), producing visible redundancy. Length is defensible for the content but could be tightened without loss.

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 usefully explains what comes back: prior-state context, retained quotes, and the event_family timeline and open_questions groupings. The remaining gap is the undocumented required `news_id`, which forces the agent to infer how to address the target event.

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 coverage is 50%: `query` is well documented in the schema itself, but `news_id` is completely undocumented in both the schema and the description, leaving the agent to guess what identifier is expected and where to obtain it. The prose discusses output structure (event_family timeline, open_questions) rather than adding meaning to the two input parameters.

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 names a specific verb and resource ('Return cached prior-state context for a canonicalized filing event') and positions the tool relative to get_filing_extract, making the retrieve-prior-state purpose distinguishable. It falls short of a 5 only because 'canonicalized filing event' and 'supported event' are never concretely enumerated, so the exact domain remains partly inferred from the example families (order, capacity).

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

Usage Guidelines4/5

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

It gives an explicit trigger ('Use this after get_filing_extract when the user wants the earlier state behind an order, capacity or similar event') plus a negative stipulation that it does not infer price correlation, causality or conclusions. It does not route the agent away from adjacent siblings such as search_company_disclosures or get_announcement_bucket, so it is clear context without full alternative coverage.

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.