Skip to main content
Glama

Search tickets

search_tickets
Read-onlyIdempotent

Full-text search over tickets (subject + body) within the tenant, optionally restricted to one project — ranked, most relevant first, each with a highlighted snippet. Use it to find duplicate or related tickets BEFORE creating a new one, and to gather evidence (how often a pain was reported). German text search with websearch syntax: words are ANDed, "quoted phrases" match exactly, OR for alternatives, -word to exclude. Returns id, subject, status, type, project_id, priority, dates, rank and snippet.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 20, max 100)
queryYesSearch text (websearch syntax: words ANDed, "phrase", OR, -exclude)
project_idNoRestrict to one project UUID; omit to search the whole tenant

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real behavioral detail beyond them: which fields are indexed, relevance ranking, highlighted snippets, and the exact query semantics (AND by default, quoted phrases, OR, -exclude) including the German-language analyzer. It stops short of disclosing result-set truncation behavior or what happens with an empty/malformed query.

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?

Three sentences, front-loaded with what the tool does, then usage, then syntax and return shape. Dense but every clause carries information; the only near-waste is repeating the websearch operator summary that the query parameter schema already states.

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?

No output schema exists, yet the description enumerates the returned fields (id, subject, status, type, project_id, priority, dates, rank, snippet) plus ranking order. Combined with scope rules, query syntax, and usage intent, an agent has everything needed to call this correctly and interpret results.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: that 'query' searches subject and body rather than arbitrary fields, and that omitting project_id widens scope to the whole tenant. The websearch syntax explanation largely restates the query parameter's own schema description, which caps it below 5.

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?

Names a specific verb and resource ('Full-text search over tickets') and pins down scope (subject + body, within the tenant, optionally one project) plus ordering ('ranked, most relevant first'). This is clearly distinguishable from list_tickets, which by name alone implies enumeration rather than ranked text matching.

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 two concrete use cases: finding duplicate/related tickets before creating a new one, and gathering evidence on how often a pain was reported. That is strong positive guidance, but it never states when this tool is the wrong choice (e.g. browsing a backlog) or explicitly routes to list_tickets for unfiltered listing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources