Skip to main content
Glama

find_issues_for_text

Read-onlyIdempotent

Matches phrases from status checks or meeting notes to YouTrack tickets, ranking candidates by shared words, recency, and open state, and returning no confident match below threshold.

Instructions

Find the tickets that phrases from a status check or meeting talk about.

One call for a whole digest: each text gets candidates ranked by the words it shares with the ticket (summary counts most), recency and open state; below a threshold the answer is "no confident match", never the top of a noisy search. Explicit keys (WEB-12) and "task 123" references (tried against projects in order) are resolved directly. Russian and English, inflections included.

Args: texts: Phrases, one per item. since: Only tickets updated since: "30d" (default), "2w", or a date. projects: Comma-separated project keys to search (default: all). max_per_text: Candidates per text (default 3). format: "report" (default) or "json" (id, url, summary, state, assignee, score, why per candidate). instance: YouTrack instance (optional).

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": {
      "texts": "<texts>"
    },
    "name": "find_issues_for_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNo30d
textsYes
formatNoreport
instanceNo
projectsNo
max_per_textNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.40.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds substantial behavior beyond them: ranking by shared words with summary weighted highest, then recency and open state; a confidence threshold yielding 'no confident match'; direct resolution of explicit keys and 'task 123' references; and Russian/English inflection handling. The ranking weights are not fully quantified, but the confidence-threshold behavior is the key operational trait and it is disclosed.

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 a one-sentence purpose, then a compact paragraph on ranking/threshold/key resolution, then an Args block that maps one-to-one onto parameters. Slightly long, but no sentence is filler; the Args section repeats parameter names but only to attach new information.

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

Completeness5/5

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

For a 6-parameter batch-matching tool with an output schema, the description covers inputs, ranking logic, threshold fallback, and reference resolution. Return details are delegated to the output schema as intended, so nothing an agent needs to call it correctly is missing.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden and does: texts as one phrase per item, since accepts '30d'/'2w'/a date with 30d default, projects as comma-separated keys defaulting to all, max_per_text default 3, format 'report' vs 'json' with the json fields enumerated, and instance as optional. This is meaning the bare schema could not convey.

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

Purpose5/5

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

States a specific verb and resource — find tickets that given phrases refer to — and pins down the semantics ('phrases from a status check or meeting talk about') rather than a literal keyword search. The line about never returning 'the top of a noisy search' implicitly separates it from search_issues/get_issues for an agent reading the catalog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear usage context: one call handles a whole digest of phrases, and each text gets ranked candidates rather than a single hit. It does not name an alternative tool or state explicit exclusions (e.g., when to prefer search_issues for exact queries), so it stops short of full when/when-not guidance.

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

Deploy Server

Other Tools