Skip to main content
Glama
YouTrack MCP

YouTrack MCP

by tonyzorin

search_with_custom_field_values

Find YouTrack issues by combining a base query with specific custom field values and cap results with an optional limit.

Instructions

Search for issues with specific custom field values.

FORMAT: search_with_custom_field_values(query="project: DEMO", custom_field_values={"Priority": "High"}, limit=5)

Args: query: Base YouTrack query string custom_field_values: Dictionary of custom field name-value pairs limit: Maximum number of results to return

Returns: JSON string with search results

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": {
      "query": "<query>",
      "custom_field_values": "<custom_field_values>"
    },
    "name": "search_with_custom_field_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
custom_field_valuesYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It discloses that results come back as a JSON string and that limit caps result count, which gives a read-only, bounded feel, but it says nothing about pagination, default limit behavior beyond the schema's 10, permission requirements, or what happens when a custom field name does not exist.

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 sentence is front-loaded, followed by a compact runnable example and terse Args/Returns sections. The Args wording largely restates schema property titles, which is mild redundancy, but nothing is verbose enough to obscure the call pattern.

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?

An output schema exists, so the Returns line is optional and the description's brevity on output is acceptable. For a tool with a nested object parameter, 0% schema coverage, and no annotations, the definition still leaves multi-value field syntax and sibling selection unaddressed, making it adequate rather than complete.

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 does add meaning for all three parameters via the Args block plus a worked example. However, the custom_field_values entry is only described as a 'dictionary of name-value pairs', without clarifying accepted value types (string vs. list vs. range) for a nested object with additionalProperties, so the trickiest parameter remains under-specified.

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?

The description states a specific verb and resource: search for issues constrained by custom field values, and the example reinforces the resource ('project: DEMO', 'Priority': 'High'). It is clear what the tool does, but it never distinguishes itself from plausible siblings such as search_with_filter, advanced_search, or search_issues, so an agent must infer the boundary.

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?

Usage is implied by the example query and the presence of a custom_field_values argument, but there is no explicit statement of when to prefer this over search_with_filter or advanced_search, nor any exclusion or prerequisite. An agent can guess, not decide confidently.

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