Skip to main content
Glama

get_statuses

Retrieve all available statuses in Yandex Tracker for managing issues, enabling effective issue tracking and workflow management within the platform.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the MCP tool 'get_statuses'. It is decorated with @mcp.tool decorator and delegates the request to the fields client instance available in the request context.
    description="Get all statuses available in Yandex Tracker that can be used in issues" ) async def get_statuses( ctx: Context[Any, AppContext], ) -> list[Status]: statuses = await ctx.request_context.lifespan_context.fields.get_statuses( auth=get_yandex_auth(ctx), ) return statuses
  • The registration of the MCP server and tools. The register_tools function is called here, which defines and registers the 'get_statuses' tool using the @mcp.tool decorator.
    mcp = create_mcp_server() register_resources(settings, mcp) register_tools(settings, mcp)
  • The core implementation of get_statuses in the TrackerClient, which makes an HTTP GET request to the Yandex Tracker API endpoint '/v3/statuses' and parses the response using StatusList pydantic model.
    async def get_statuses(self, *, auth: YandexAuth | None = None) -> list[Status]: async with self._session.get( "v3/statuses", headers=await self._build_headers(auth) ) as response: response.raise_for_status() return StatusList.model_validate_json(await response.read()).root
  • Protocol definition for GlobalDataProtocol specifying the get_statuses method signature.
    async def get_statuses(self, *, auth: YandexAuth | None = None) -> list[Status]: ...

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