Skip to main content
Glama

issue_get

Retrieve detailed information about a Yandex Tracker issue using its unique ID, optionally including the issue description for comprehensive insights.

Instructions

Get a Yandex Tracker issue by its id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_descriptionNoWhether to include issue description in the issues result. It can be large, so use only when needed.
issue_idYesIssue ID in the format '<project>-<id>', like 'SOMEPROJECT-1'

Implementation Reference

  • MCP tool handler for 'issue_get'. Validates the issue ID against allowed queues, fetches the issue details using the tracker client, optionally excludes the description to save context, and returns the Issue object.
    @mcp.tool(description="Get a Yandex Tracker issue by its id") async def issue_get( ctx: Context[Any, AppContext], issue_id: IssueID, include_description: Annotated[ bool, Field( description="Whether to include issue description in the issues result. It can be large, so use only when needed.", ), ] = True, ) -> Issue: check_issue_id(settings, issue_id) issue = await ctx.request_context.lifespan_context.issues.issue_get( issue_id, auth=get_yandex_auth(ctx), ) if not include_description: issue.description = None return issue
  • Registers the MCP tools, including 'issue_get', by calling register_tools on the FastMCP server instance.
    register_tools(settings, mcp)
  • Pydantic schema definition for the 'issue_id' parameter type used in the issue_get tool.
    IssueID = Annotated[ str, Field(description="Issue ID in the format '<project>-<id>', like 'SOMEPROJECT-1'"), ]
  • Helper function used by issue_get to validate if the issue's queue is allowed based on settings.
    def check_issue_id(settings: Settings, issue_id: str) -> None: queue, _ = issue_id.split("-") if settings.tracker_limit_queues and queue not in settings.tracker_limit_queues: raise IssueNotFound(issue_id)

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