Skip to main content
Glama
Alexander-Panov

Finam MCP Server

assets_get_schedule

Retrieve trading session schedules for specific financial instruments on Russian markets to plan transactions during active hours.

Instructions

Получение расписания торгов для указанного инструмента

Input Schema

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

Implementation Reference

  • The MCP tool handler for 'assets_get_schedule'. It takes a Symbol input and returns ScheduleResponse by calling FinamClient.get_schedule.
    @assets_mcp.tool(tags={"assets"}) async def get_schedule(symbol: Symbol) -> ScheduleResponse: """Получение расписания торгов для указанного инструмента""" return await get_finam_client().get_schedule(symbol)
  • src/main.py:14-14 (registration)
    Registers the assets_mcp tools under the 'assets_' prefix, making 'get_schedule' available as 'assets_get_schedule'.
    finam_mcp.mount(assets_mcp, prefix="assets")
  • Helper method in FinamClient that proxies the call to the underlying finam_trade_api Client's assets.get_schedule.
    async def get_schedule(self, symbol: str): return await self.client.assets.get_schedule(symbol)
  • Tool registration decorator on the handler function.
    @assets_mcp.tool(tags={"assets"})

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