Skip to main content
Glama

issue_get_comments

Retrieve comments for a specific issue in Yandex Tracker by providing the issue ID in the format '-'.

Instructions

Get comments of a Yandex Tracker issue by its id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issue_idYesIssue ID in the format '<project>-<id>', like 'SOMEPROJECT-1'

Implementation Reference

  • MCP tool handler implementation for 'issue_get_comments'. Validates the issue ID using check_issue_id and fetches comments via the injected issues service.
    async def issue_get_comments( ctx: Context[Any, AppContext], issue_id: IssueID, ) -> list[IssueComment]: check_issue_id(settings, issue_id) return await ctx.request_context.lifespan_context.issues.issue_get_comments( issue_id, auth=get_yandex_auth(ctx), )
  • Input schema definition for the 'issue_id' parameter using Pydantic Annotated type with description and validation.
    IssueID = Annotated[ str, Field(description="Issue ID in the format '<project>-<id>', like 'SOMEPROJECT-1'"), ]
  • Calls register_tools which defines and registers the 'issue_get_comments' tool (along with others) on the FastMCP server instance.
    mcp = create_mcp_server() register_resources(settings, mcp) 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