Skip to main content
Glama
YouTrack MCP

YouTrack MCP

by tonyzorin

get_user_by_id

Fetches YouTrack user details by ID or login to identify users and access profile information for issue and project workflows.

Instructions

Get information about a specific user by ID or login.

FORMAT: get_user_by_id(user_id="admin")

Args: user_id: The user identifier (ID like 'user-123' or login like 'admin')

Returns: JSON string with user information

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "user_id": "<user_id>"
    },
    "name": "get_user_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden, and it only discloses that the result is a JSON string with user information. It says nothing about permission requirements, whether an unknown ID errors or returns empty, or what fields are present; the presence of an output schema covers the return shape, but the operational behavior is undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded, and the FORMAT/Args/Returns block is scannable and short. The Returns line is largely redundant given the output schema exists, but overall there is minimal waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with an output schema, the description covers the input format and basic return type adequately. It falls short on disambiguation from near-identical siblings and on error/permission behavior, which an agent would need before choosing it over get_user.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema only types user_id as a string, so the description meaningfully compensates by explaining that the value may be an ID like 'user-123' or a login like 'admin'. The concrete call example reinforces this, leaving little ambiguity for the single parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Get information about a specific user by ID or login") and clarifies the identifier can be either a numeric-style ID or a login name. It does not distinguish itself from the closely named siblings get_user, get_current_user, or get_all_users, so an agent cannot tell from the text alone which of these to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives such as get_current_user for the authenticated caller or get_all_users for listing. The only hint is the format example, which implies a single known identifier is required.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.