Skip to main content
Glama

search_work_items

Search Jira or Azure DevOps work items using natural language or JQL/WIQL queries, with optional result limits to focus results.

Instructions

Search for work items in Jira or Azure DevOps using natural language or JQL/WIQL queries.

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": {
      "platform": "<platform>",
      "query": "<query>"
    },
    "name": "search_work_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesNatural language search query or JQL/WIQL query
platformYesThe platform to search
maxResultsNoMaximum number of results to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

B3.2/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 burden of behavioral disclosure. It does not state that this is a read-only operation, how results are ordered or paginated, what permissions or authentication the platform requires, or what happens on an invalid query, leaving an agent to infer all of that from the verb "Search".

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though it is arguably terse for a tool whose behavior is only described in that one clause.

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?

With three parameters, full schema coverage, and no output schema, the definition is minimally sufficient. It nonetheless omits what a result looks like at a high level and whether natural-language queries behave differently per platform, which matters for a dual-backend search tool.

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 100%, so the schema already documents platform, query, and maxResults. The description reinforces that query accepts natural language or JQL/WIQL, but adds no syntax examples, platform-specific query differences, or default-result reasoning beyond the schema. Baseline 3 applies.

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 gives a specific verb ("Search") and resource ("work items") and names the two supported backends, Jira and Azure DevOps, plus the accepted query languages. It does not explicitly distinguish this general search from sibling tools such as get_my_work_items, so it stops short of a 5.

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?

It clarifies the two acceptable query modes (natural language or JQL/WIQL), which is a usage hint. However, it never says when to prefer this general search over get_my_work_items or the analysis tools, and gives no exclusions, so usage is only implied.

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