Skip to main content
Glama

get_dii_activity

Retrieve daily or monthly Domestic Institutional Investor activity for the cash segment, filtered by date range and NSE equity cash data, to track institutional buying and selling.

Instructions

DII activity (GET /v2/market/dii), cash segment only. 1D: up to 30 trading days; 1M: up to 12 months.

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": {
      "interval": "<interval>"
    },
    "name": "get_dii_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoYYYY-MM-DD
intervalYes
data_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose that this is a read against a documented GET endpoint, that results are restricted to the cash segment, and that range is bounded by interval. It does not say what is returned (buy/sell/net figures, granularity), whether 'from' is optional or defaults to a lookback, or how the limits are enforced.

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?

Two tight sentences with the resource and scope front-loaded and the interval constraints immediately after; no filler. It is arguably over-compressed, since brevity here comes at the cost of the parameter detail noted above.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter, single-required-parameter tool with no output schema, the description covers identity and range limits but not return content, default behavior for the optional 'from', or the meaning of data_type. Adequate to invoke, not adequate to invoke confidently.

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 only 33% — 'from' is documented as YYYY-MM-DD but interval and data_type have no schema descriptions. The description meaningfully compensates for interval by tying 1D to 30 trading days and 1M to 12 months, but leaves data_type ('NSE_EQ|CASH') and the exact semantics of 'from' unexplained.

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?

States a specific verb-like resource ('DII activity') plus the underlying endpoint GET /v2/market/dii and a scope qualifier ('cash segment only'), which is enough to separate it from the FII counterpart in the sibling list. It stops short of explicitly contrasting with get_fii_activity, but the domain noun is unambiguous.

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 interval limits ('1D: up to 30 trading days; 1M: up to 12 months') give concrete usage constraints that help an agent pick a valid interval. However, there is no statement of when to choose this tool over get_fii_activity or other market-data siblings, and no prerequisites or exclusion cases.

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