Skip to main content
Glama

get_issue_types

Retrieve all available issue types from Yandex Tracker to streamline creating or updating tasks effectively.

Instructions

Get all issue types available in Yandex Tracker that can be used when creating or updating issues

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function decorated with @mcp.tool for the 'get_issue_types' tool. It retrieves issue types by calling the fields protocol method.
    description="Get all issue types available in Yandex Tracker that can be used when creating or updating issues" ) async def get_issue_types( ctx: Context[Any, AppContext], ) -> list[IssueType]: issue_types = await ctx.request_context.lifespan_context.fields.get_issue_types( auth=get_yandex_auth(ctx), ) return issue_types
  • Registers all tools, including 'get_issue_types', to the FastMCP server instance by calling register_tools.
    register_tools(settings, mcp)
  • Core implementation in TrackerClient that performs the HTTP GET request to Yandex Tracker's /v3/issuetypes endpoint to fetch issue types.
    async def get_issue_types( self, *, auth: YandexAuth | None = None ) -> list[IssueType]: async with self._session.get( "v3/issuetypes", headers=await self._build_headers(auth) ) as response: response.raise_for_status() return IssueTypeList.model_validate_json(await response.read()).root
  • Caching wrapper around the get_issue_types method if tool caching is enabled.
    async def get_issue_types( self, *, auth: YandexAuth | None = None ) -> list[IssueType]: return await self._original.get_issue_types(auth=auth)
  • Protocol defining the interface for global data methods including get_issue_types, providing type definitions for inputs and outputs.
    class GlobalDataProtocol(Protocol): async def get_global_fields( self, *, auth: YandexAuth | None = None ) -> list[GlobalField]: ... async def get_statuses(self, *, auth: YandexAuth | None = None) -> list[Status]: ... async def get_issue_types( self, *, auth: YandexAuth | None = None ) -> list[IssueType]: ... async def get_priorities( self, *, auth: YandexAuth | None = None ) -> list[Priority]: ...

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