Skip to main content
Glama
YouTrack MCP

YouTrack MCP

by tonyzorin

get_user_permissions

Retrieve permissions for a specified YouTrack user by ID or login, or fetch the current user's permissions when no user_id is supplied.

Instructions

Get permissions for a specific user.

FORMAT: get_user_permissions(user_id="admin") or get_user_permissions() for current user

Args: user_id: The user identifier (ID like 'user-123' or login like 'admin'). If not provided, gets permissions for current user.

Returns: JSON string with user permissions

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_user_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the useful fallback behavior (no user_id means current user) and the return type, but says nothing about authentication/permission requirements, behavior for unknown or unauthorized users, or error cases.

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 is front-loaded in one sentence, followed by a scannable FORMAT/Args/Returns structure with a concrete example. There is minor duplication between the FORMAT line and the Args note about the current-user fallback.

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

Completeness4/5

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

For a single-parameter read tool with an output schema present, this is close to sufficient: the parameter's formats and default behavior are fully explained. The remaining gap is behavioral edge cases (invalid user, insufficient privileges), which the annotations do not cover either.

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 description compensates well: it explains that user_id accepts either an ID like 'user-123' or a login like 'admin', and that leaving it null targets the current user. That is meaning genuinely absent from the bare schema property.

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 permissions for a specific user'), which is distinct from a generic get_user. However, it never references the sibling tools (get_current_user, get_user, get_user_by_id), so the agent must infer the distinction itself.

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

Usage Guidelines3/5

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

The FORMAT line implies two call modes and notes that omitting user_id returns the current user's permissions, which is a usable when-to-use hint. There is no explicit guidance on when to pick this over get_current_user or get_user, and no stated prerequisites or exclusions.

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