Skip to main content
Glama

get_fii_activity

Retrieve FII activity data for selected NSE segments by daily or monthly interval to analyze market flows.

Instructions

FII activity (GET /v2/market/fii). 1D: up to 30 trading days; 1M: up to 12 months; data from 2026-04-01.

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

Input Schema

NameRequiredDescriptionDefault
fromNoYYYY-MM-DD
intervalYes
data_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful behavior: the operation is a GET (read-only), historical depth is capped per interval, and data only exists from 2026-04-01, which prevents futile pre-2026 queries. It says nothing about response shape, whether values are net flows, or pagination.

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 compact clauses, front-loaded with the resource and endpoint, then the interval constraints and the data start date. Every clause carries information an agent would otherwise have to guess.

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?

No output schema and no annotations means the description is the only behavioral source, and it covers availability windows well. It still leaves gaps an agent must guess at: what a record contains, what each data_type actually reports, and the effect of the optional 'from' parameter.

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 33% — only 'from' is documented in the schema. The description compensates meaningfully for 'interval' by attaching lookback limits to each enum value, but adds nothing about what the five data_type values mean for the returned activity, nor whether 'from' is optional or defaults to a range.

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 the resource (FII activity) and pins it to an endpoint (GET /v2/market/fii), so an agent knows this returns foreign institutional investor flow data. It does not explicitly contrast with the sibling get_dii_activity, leaving the FII-vs-DII distinction to be inferred from the names.

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 context is only implied: the interval lookback limits (1D up to 30 trading days, 1M up to 12 months) tell an agent which interval to pick for a given horizon. There is no explicit statement of when to call this rather than get_dii_activity or another market-data sibling.

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