Skip to main content
Glama

user_get

Retrieve detailed information about a specific user in Yandex Tracker by providing their login or UID. Simplify user data access for accurate issue management and tracking.

Instructions

Get information about a specific user by login or UID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYesUser identifier - can be user login (e.g., 'john.doe') or user UID (e.g., '12345')

Implementation Reference

  • The main handler function for the MCP 'user_get' tool. It retrieves user information by user_id using the tracker client, with error handling if user not found.
    @mcp.tool(description="Get information about a specific user by login or UID") async def user_get( ctx: Context[Any, AppContext], user_id: UserID, ) -> User: user = await ctx.request_context.lifespan_context.users.user_get( user_id, auth=get_yandex_auth(ctx), ) if user is None: raise TrackerError(f"User `{user_id}` not found.") return user
  • Pydantic schema definition for the 'user_id' input parameter of the user_get tool.
    UserID = Annotated[ str, Field( description="User identifier - can be user login (e.g., 'john.doe') or user UID (e.g., '12345')" ), ]
  • Location where register_tools is called, which defines and registers the user_get tool via @mcp.tool decorator.
    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