Skip to main content
Glama
YouTrack MCP

YouTrack MCP

by tonyzorin

get_custom_fields

Retrieve custom fields for a YouTrack project by project ID to inspect available fields and their configuration.

Instructions

Get custom fields for a project.

FORMAT: get_custom_fields(project_id="DEMO")

Args: project_id: The project identifier (e.g., "DEMO", "0-0")

Returns: JSON string with custom fields 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": {
      "project_id": "<project_id>"
    },
    "name": "get_custom_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: no permission requirements, no pagination, no scope/cost notes, and only a vague "JSON string with custom fields information" for output. Since an output schema exists, the return shape needn't be spelled out, but the description still omits all operational context for a read call.

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 definition is short and front-loaded, with the purpose statement first and the example immediately after. The trailing "Returns: JSON string with custom fields information" adds little and is the one sentence that does not fully earn its place.

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 single-parameter read tool with an output schema, the description is just complete enough to invoke correctly. It still leaves the agent guessing what kind of custom-field data comes back and how this differs from the schema-oriented siblings, which is a real gap given the crowded namespace.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate, and it partially does by giving concrete example values ("DEMO", "0-0") that clarify the expected identifier format beyond the bare string type. It does not explain whether the ID is a project key vs numeric ID or what happens on an invalid value, so compensation is incomplete.

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

Purpose3/5

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

States a concrete verb and resource ("Get custom fields") scoped to a project, which is better than a tautology. However, it never distinguishes this from siblings like get_custom_field_schema, get_all_custom_fields_schemas, or get_available_custom_field_values, so an agent cannot tell whether this returns field definitions, schemas, or values.

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?

The only concrete guidance is a FORMAT example (get_custom_fields(project_id="DEMO")), which shows syntax rather than when to pick this tool. There is no when-to-use, no exclusion, and no mention of the schema/value siblings as alternatives.

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