Skip to main content
Glama
YouTrack MCP

YouTrack MCP

by tonyzorin

validate_custom_field

Validates a custom field value against a project's field configuration before use, helping prevent invalid issue data.

Instructions

Validate a custom field value for a project.

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>",
      "field_value": "<field_value>"
    },
    "name": "validate_custom_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
field_nameYes
project_idYes
field_valueYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

C2.4/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 disclosure burden, yet it says nothing about whether validation is side-effect free, whether it throws on invalid input or returns a boolean/error list, or how unknown field names are handled. The presence of an output schema covers return values, but the behavioral gaps around failure modes and mutability remain significant.

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

Conciseness3/5

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

The single sentence is clean and front-loaded with the verb, with zero padding. Its brevity is the problem rather than an asset, since it omits every detail an agent needs; it is under-specified rather than wasteful.

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

Completeness2/5

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

For a three-parameter validation tool with zero schema coverage and no annotations, the description should explain parameter meaning, failure behavior, and its relationship to the similarly named sibling. Only the return-value dimension is covered, by the existing output schema; everything else is missing.

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

Parameters2/5

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

Schema description coverage is 0% across all three parameters, so the description must compensate and does not. It gives no hint whether field_name is an internal identifier or a display label, what format field_value accepts, or how project_id scopes the lookup — the only signal is the generic phrase 'for a project'.

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?

The description names a specific verb and resource ('Validate a custom field value for a project'), so the general action is identifiable. However, 'validate' is left undefined (format check? allowed-values check? schema conformance?) and the wording is nearly indistinguishable from the sibling 'validate_custom_field_for_project', so an agent cannot confidently choose between them from the description alone.

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 guidance on when to call this versus the near-identical sibling, no mention of prerequisites (e.g. that the field must already exist on the project), and no statement about when validation should precede a write such as batch_update_custom_fields or update_custom_fields. Usage must be inferred entirely.

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