Skip to main content
Glama
devops-mcp-server-extension

devops-mcp-server-extension

by hakunova

search_workitems

Search work items using filters such as status, sprint, assignee, priority, and dates to locate relevant requirements, tasks, or bugs in a DevOps project.

Instructions

[Project Management] Search work items with various filter conditions

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": {
      "organizationId": "<organizationId>",
      "category": "<category>",
      "spaceId": "<spaceId>"
    },
    "name": "search_workitems"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoTag ID, multiple values separated by commas
pageNoPage number, starting from 1. Default is 1
sortNoSort order, default is desc. Possible values: desc (descending), asc (ascending)desc
sprintNoSprint ID, multiple values separated by commas
statusNoStatus ID, multiple separated by commas. Status names and their IDs: Pending Confirmation (28), Pending Processing (100005), Reopened (30), Deferred Fix (34), Confirmed (32), Selected (625489), In Analysis (154395), Analysis Complete (165115), In Progress (100010), In Design (156603), Design Complete (307012), In Development (142838), Development Complete (100011), In Testing (100012)
creatorNoCreator user ID, multiple values separated by commas. Special value 'self' can be used to represent the current user
orderByNoSort field, default is gmtCreate. Possible values: gmtCreate, subject, status, priority, assignedTogmtCreate
perPageNoNumber of items per page, range 0-200. Default is 20
spaceIdYesProject ID, project unique identifier
subjectNoText contained in the title
categoryYesSearch for work item types, such as Req (requirement), Task (task), Bug (defect), etc., multiple values separated by commas
priorityNoPriority ID, multiple values separated by commas
assignedToNoAssignee user ID, multiple values separated by commas. Special value 'self' can be used to represent the current user
statusStageNoStatus stage ID, multiple values separated by commas
createdAfterNoCreated not earlier than, format: YYYY-MM-DD
updatedAfterNoUpdated not earlier than, format: YYYY-MM-DD
workitemTypeNoWork item type ID, multiple values separated by commas
createdBeforeNoCreated not later than, format: YYYY-MM-DD
updatedBeforeNoUpdated not later than, format: YYYY-MM-DD
includeDetailsNoSet to true when you need work item descriptions/detailed content. This automatically fetches missing descriptions instead of requiring separate get_work_item calls. RECOMMENDED: Use includeDetails=true when user asks for 'detailed content', 'descriptions', or 'full information' of work items. This is more efficient than calling get_work_item multiple times. Default is false
organizationIdYesOrganization ID
finishTimeAfterNoFinish time not earlier than, format: YYYY-MM-DD
finishTimeBeforeNoFinish time not later than, format: YYYY-MM-DD
advancedConditionsNoAdvanced filter conditions, JSON format
subjectDescriptionNoText contained in title or description
updateStatusAtAfterNoStatus update time not earlier than, format: YYYY-MM-DD
updateStatusAtBeforeNoStatus update time not later than, format: YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure, and it says almost nothing. 'Search' implies a read operation, but pagination behavior, the 200-item perPage ceiling, default sort ordering, and what the response shape looks like are all left to inference. Only the schema happens to document paging and sort defaults.

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 padding, but for a 27-parameter tool with three required fields it is arguably under-sized rather than appropriately sized. It earns its place but there is very little of it.

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?

This is a high-complexity tool: 27 parameters, three required identifiers, no annotations and no output schema. The one-line description does not explain what is returned, how results are paged or sorted by default, or how an agent should obtain the required organizationId/spaceId/category values, leaving the schema to do nearly all of the work.

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 every one of the 27 parameters is already documented in detail, including status ID mappings, date formats and multi-value comma conventions. The description adds no parameter meaning whatsoever, so the baseline of 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 names a specific verb and resource ('Search work items') plus the mode ('with various filter conditions'), and the '[Project Management]' prefix situates it. It is clear what the tool does, though it does nothing to distinguish it from sibling search tools such as search_testcases or search_projects beyond the nouns in its name.

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?

The description contains no when-to-use guidance, no conditions for choosing this over other search tools, and no prerequisites such as the need for organizationId, spaceId and category. The useful routing advice present in the definition ('use includeDetails=true when the user asks for detailed content') lives only inside a parameter description in the schema, not in the tool description an agent reads first.

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