Skip to main content
Glama

find_comments

Read-onlyIdempotent

Find issues by what their comments say. Search a phrase to get matching comments, with optional author or project filters. Newest matches first.

Instructions

Find issues by what their COMMENTS say.

Answers "the ticket where someone wrote …". Two stages: a YouTrack full-text query narrows candidate issues (pass author — a login — to add the commenter: filter), then comments are matched locally: the whole phrase case-insensitively, falling back to all-words when the phrase doesn't appear verbatim. Workflow-bot nags and service stamps are ignored. Newest matches first.

Args: text: Phrase (or words) to find in comment text — required author: Only comments by this login; also narrows the search project: Limit to one project key (optional) max_results: Max matching comments returned (default: 10) instance: YouTrack instance (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
authorNo
projectNo
instanceNo
max_resultsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, openWorld, non-destructive), it discloses the two-stage matching process, case-insensitive phrase matching with an all-words fallback, exclusion of workflow-bot nags and service stamps, and newest-first ordering. These behavioral details help the agent predict exactly what results will be returned and how the matching is performed.

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

Conciseness5/5

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

The description is front-loaded with the core purpose and the user-facing question it answers, then compactly explains the two-stage algorithm, filters, and ordering. Every sentence earns its place—there is no filler or redundant restatement of the tool name. The Args list is clear and scannable.

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 read-only search tool with an output schema, the description covers everything needed to call it correctly: matching mechanics, optional filters, ignored content, and result ordering. It doesn't need to describe return values because an output schema exists, and no critical behavioral or use-case information 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?

The input schema has no per-property descriptions and only titles/defaults, so schema description coverage is 0%. The description's Args block compensates fully: it explains each parameter, highlights that 'text' is required, clarifies that 'author' adds a commenter filter, notes 'project' limits to a project key, gives the default for 'max_results', and marks 'instance' as optional. This adds substantial meaning beyond the bare schema.

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?

The description states a clear verb+resource: 'Find issues by what their COMMENTS say,' and gives the concrete use case 'the ticket where someone wrote …'. It clearly differentiates from broader search tools like search_issues by focusing on comment text, and from comment-mutating siblings (add_comment, update_comment, delete_comment) by being a read-only find operation.

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?

It provides a clear use case and defines when to use it: any time you need to locate tickets based on comment content. It also offers detailed guidance on how the search works (full-text query with optional commenter filter, local matching, fallback behavior). However, it does not explicitly name the sibling tool to choose when searching issue fields (e.g., search_issues) or state exclusions, leaving some to inference.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/velesnitski/yt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server