Skip to main content
Glama
aikts

Yandex Tracker MCP

queue_get_local_fields

Retrieve queue-specific custom fields for a Yandex Tracker project by specifying its Queue ID. Simplifies access to localized field data for efficient issue management.

Instructions

Get local fields for a specific Yandex Tracker queue (queue-specific custom fields)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queue_idYesQueue (Project ID) to search in, like 'SOMEPROJECT'

Implementation Reference

  • The async handler function that implements the core logic of the queue_get_local_fields tool, calling the underlying queues_get_local_fields method.
    async def queue_get_local_fields(
        ctx: Context[Any, AppContext],
        queue_id: QueueID,
    ) -> list[LocalField]:
        if (
            settings.tracker_limit_queues
            and queue_id not in settings.tracker_limit_queues
        ):
            raise TrackerError(f"Queue `{queue_id}` not found or not allowed.")
    
        fields = (
            await ctx.request_context.lifespan_context.queues.queues_get_local_fields(
                queue_id,
                auth=get_yandex_auth(ctx),
            )
        )
        return fields
  • The call to register_tools(settings, mcp) which defines and registers the queue_get_local_fields tool among others using @mcp.tool decorators.
    register_tools(settings, mcp)
  • Type definition for the input parameter 'queue_id' using Pydantic Annotated with description, providing input schema validation.
    QueueID = Annotated[
        str,
        Field(
            description="Queue (Project ID) to search in, like 'SOMEPROJECT'",
        ),
    ]
  • The @mcp.tool decorator that registers the queue_get_local_fields function as an MCP tool with its description.
    @mcp.tool(
        description="Get local fields for a specific Yandex Tracker queue (queue-specific custom fields)"
    )

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