Skip to main content
Glama

queues_get_all

Retrieve all Yandex Tracker queues accessible to the user, enabling effective project and issue management within the MCP server environment.

Instructions

Find all Yandex Tracker queues available to the user (queue is a project in some sense)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the 'queues_get_all' tool. Fetches all available Yandex Tracker queues with optional field selection, pagination (all pages if page=None), and filtering by allowed queues.
    @mcp.tool( description="Find all Yandex Tracker queues available to the user (queue is a project in some sense)" ) async def queues_get_all( ctx: Context[Any, AppContext, Request], fields: Annotated[ list[QueueFieldsEnum] | None, Field( description="Fields to include in the response. In order to not pollute context window - " "select appropriate fields beforehand. Not specifying fields will return all available. " "Most of the time one needs key and name only.", ), ] = None, page: Annotated[ int | None, Field( description="Page number to return, default is None which means to retrieve all pages. " "Specify page number to retrieve a specific page when context limit is reached.", ), ] = None, per_page: PerPageParam = 100, ) -> list[Queue]: result: list[Queue] = [] find_all = False if page is None: page = 1 find_all = True while find_all: queues = await ctx.request_context.lifespan_context.queues.queues_list( per_page=per_page, page=page, auth=get_yandex_auth(ctx), ) if len(queues) == 0: break if settings.tracker_limit_queues: queues = [ queue for queue in queues if queue.key in set(settings.tracker_limit_queues) ] result.extend(queues) if find_all: page += 1 if fields is not None: set_non_needed_fields_null(result, {f.name for f in fields}) return result
  • Invocation of register_tools which registers the 'queues_get_all' tool (and others) on the FastMCP server instance.
    register_tools(settings, mcp)

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