Skip to main content
Glama
YouTrack MCP

YouTrack MCP

by tonyzorin

get_custom_field_schema

Retrieve the detailed schema and constraints for a specific custom field in a YouTrack project. Use it to validate field values and understand available options before creating or updating issues.

Instructions

Get detailed schema for a specific custom field in a project.

FORMAT: get_custom_field_schema(project_id="DEMO", field_name="Priority")

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

Returns: JSON string with custom field schema and constraints

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_custom_field_schema"
  }
}

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

B3.2/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 behavioral burden. It does disclose the read-only nature ('Get') and that the return is a JSON string with schema and constraints, but says nothing about behavior when the field does not exist, permission requirements, or rate limits.

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 sentence, then a FORMAT example, Args, and Returns block. The Args section largely duplicates the parameter schema, which is minor redundancy, but nothing is padded or unclear.

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 simple 2-parameter read tool with an output schema present, the definition is nearly sufficient: purpose, call format, parameter examples, and return type are all covered. The missing piece relative to its siblings is disambiguation about when this tool rather than the bulk schema tools is appropriate.

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 schema only gives titles. The description restates both parameters and adds useful example values ('DEMO', '0-0'), but adds no format details for field_name such as case sensitivity or fully-qualified naming.

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 detailed schema for a specific custom field in a project.' An agent can tell it returns schema/constraint metadata for a single named field. It does not distinguish itself from nearby siblings such as get_all_custom_fields_schemas or get_custom_field_allowed_values, so the differentiation is only partial.

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 description provides a call-format example but gives no when-to-use or when-not-to-use guidance. With siblings like get_all_custom_fields_schemas and get_custom_field_allowed_values present, it never says which tool to pick for a bulk lookup versus a single-field schema versus allowed values.

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