Skip to main content
Glama

get_priorities

Retrieve all available issue priorities in Yandex Tracker to ensure accurate task categorization and workflow management.

Instructions

Get all priorities available in Yandex Tracker that can be used in issues

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The primary MCP tool handler for 'get_priorities'. It is decorated with @mcp.tool and delegates to the underlying fields client protocol.
    @mcp.tool( description="Get all priorities available in Yandex Tracker that can be used in issues" ) async def get_priorities( ctx: Context[Any, AppContext], ) -> list[Priority]: priorities = await ctx.request_context.lifespan_context.fields.get_priorities( auth=get_yandex_auth(ctx), ) return priorities
  • Registration of tools including 'get_priorities' via register_tools call after creating the FastMCP server instance.
    mcp = create_mcp_server() register_resources(settings, mcp) register_tools(settings, mcp)
  • Concrete implementation of get_priorities in the TrackerClient class, which makes an HTTP GET request to the Yandex Tracker '/v3/priorities' API endpoint and parses the response.
    async def get_priorities(self, *, auth: YandexAuth | None = None) -> list[Priority]: async with self._session.get( "v3/priorities", headers=await self._build_headers(auth) ) as response: response.raise_for_status() return PriorityList.model_validate_json(await response.read()).root
  • Protocol (abstract method) definition for get_priorities in GlobalDataProtocol, implemented by client wrappers.
    async def get_priorities( self, *, auth: YandexAuth | None = None ) -> list[Priority]: ...
  • Caching wrapper for get_priorities that delegates to the original implementation with aiocache.
    async def get_priorities( self, *, auth: YandexAuth | None = None ) -> list[Priority]: return await self._original.get_priorities(auth=auth)

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/aikts/yandex-tracker-mcp'

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