Skip to main content
Glama
Alexander-Panov

Finam MCP Server

assets_get_options_chain

Retrieve options chain data for underlying assets to analyze derivatives trading opportunities on Russian financial markets.

Instructions

Получение цепочки опционов для базового актива

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYessymbol в формате: SYMBOL@MIC (например, YDEX@MISX)

Implementation Reference

  • Handler function implementing the 'assets_get_options_chain' tool. Retrieves the options chain for the given symbol using the Finam client.
    async def get_options_chain(symbol: Symbol) -> OptionsChainResponse: """Получение цепочки опционов для базового актива""" return await get_finam_client().get_options_chain(symbol)
  • Pydantic schema definition for the 'symbol' input parameter used in the tool.
    Symbol: type[str] = Annotated[ str, Field( description="symbol в формате: SYMBOL@MIC (например, YDEX@MISX)", pattern=r"^[A-Z0-9]+@[A-Z]+$", # Regex валидация examples=["YDEX@MISX", "SBER@TQBR"] ) ]
  • Tool registration decorator on the handler function, with tags={'assets'} likely generating the tool name 'assets_get_options_chain'.
    async def get_options_chain(symbol: Symbol) -> OptionsChainResponse:

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/Alexander-Panov/finam-mcp'

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