Skip to main content
Glama
YouTrack MCP

YouTrack MCP

by tonyzorin

get_field_values

Fetches live valid values for a YouTrack custom field in a project, so issue forms and automation use actual options instead of hardcoded examples.

Instructions

Get valid values for a custom field in a project (State, Priority, Type, etc.).

This tool fetches live field values from your YouTrack instance, replacing hardcoded examples with actual available options.

FORMAT: get_field_values(project_id="DEMO", field_name="State")

Args: project_id: The project identifier (e.g., "DEMO", "0-0") field_name: The custom field name (e.g., "State", "Priority", "Type")

Returns: JSON string with valid field values for the specified field

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": {
      "project_id": "<project_id>",
      "field_name": "<field_name>"
    },
    "name": "get_field_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
field_nameYes
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose that values are fetched live from the YouTrack instance rather than being static, which is genuinely useful. It omits any statement about permissions, behavior for an unknown project or field, or whether results are paginated, and read-only status is only implied by the verb 'Get'.

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?

Front-loaded with the purpose, then a format line and Args/Returns sections that are easy to scan. There is some redundancy: the field-name examples (State, Priority, Type) appear in the opening sentence and again in the Args block, and the FORMAT line restates the schema.

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 simple two-parameter read tool with an output schema, the description covers purpose, call shape, and return type adequately. It falls short on failure modes (invalid field name, project not found) and on how this tool differs from the closely named sibling value-lookup tools.

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 description coverage is 0%, but the description compensates by giving a call example plus concrete value examples for both parameters (project_id as 'DEMO' or the id form '0-0', field_name as 'State'/'Priority'/'Type'). It could still clarify whether project_id accepts a short name, an internal id, or both.

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 valid values for a custom field in a project') with concrete examples of field names, so the agent knows exactly what is returned. It does not, however, distinguish itself from siblings such as get_available_custom_field_values or get_custom_field_allowed_values, which read as near-synonyms.

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 line about 'replacing hardcoded examples with actual available options' implies the use case (resolving live option values before writing a field), but there is no explicit when-to-use/when-not guidance and no naming of an alternative among the several overlapping sibling tools.

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