Skip to main content
Glama
icharshal

India Market MCP

by icharshal

calculate_max_pain

Calculate the max pain strike price for an option chain to identify the level where option sellers have maximum incentive to pin the underlying price.

Instructions

Calculate Max Pain strike price for an option chain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expiryNo
symbolYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only states it calculates Max Pain but does not disclose whether it is read-only, how it processes data, or any limitations. It is minimally transparent.

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 description is a single sentence, which is concise but lacks necessary context. It is front-loaded with the core purpose, but the brevity sacrifices completeness.

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

Completeness1/5

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

For a tool that calculates max pain (involving option chain data, strike prices, open interest), the description is extremely incomplete. There is no output schema, no explanation of return values, and no context to help the agent understand the tool's role among many siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has two parameters (symbol, expiry) with zero description coverage. The description adds no additional meaning or guidance on how to use these parameters, leaving the agent with only parameter names and types.

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 it calculates the Max Pain strike price for an option chain, which is a specific verb and resource. However, it does not explicitly differentiate from sibling tools like 'get_option_chain' or 'calculate_greeks', though the name is distinct.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites (e.g., needing option chain data) or when not to use it.

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/icharshal/india-market-mcp'

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