Skip to main content
Glama

search-tickets-jql

Search Jira tickets with custom JQL queries to locate issues by specific criteria and control returned fields, result limits, and pagination.

Instructions

Search for Jira tickets using custom JQL

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": {
      "jql": "<jql>"
    },
    "name": "search-tickets-jql"
  }
}

Input Schema

NameRequiredDescriptionDefault
jqlYes
fieldsNoComma-separated list of fields, or *all. Omit for the compact default fields.
max_resultsNo
next_page_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.6/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 behavioral burden and largely drops it. It says nothing about pagination behavior, the 50-result cap, JQL syntax errors, permission requirements, or what a result set contains — all of which matter for a query tool where a malformed JQL string fails the call outright.

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 front-loaded and free of filler, which suits a short definition. However, at four parameters with no annotations and no output schema, this level of brevity reads as under-specification rather than economy.

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?

With no annotations, no output schema, and three of four parameters undocumented, the description would need to explain JQL expectations, paging, and result shape. It covers none of these, leaving the agent to guess how to page through results or what the compact default fields return.

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 only 25%: only 'fields' has a description, while 'jql', 'max_results', and 'next_page_token' rely on bare type/min/max metadata. The description adds no meaning beyond the schema — it does not explain JQL syntax, pagination via next_page_token, or the effect of max_results on result size.

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 names a specific verb and resource ('Search for Jira tickets') plus the mechanism ('custom JQL'), so the agent knows this is a query-based retrieval tool. It never names the plain 'search-tickets' sibling to explain how the two differ, so it stops short of full sibling differentiation.

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 when-to-use or when-not-to-use guidance, and no mention of the obvious alternative 'search-tickets' which appears in the sibling list. The agent must infer that this tool is for raw JQL queries rather than simple keyword searches.

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