Skip to main content
Glama
yingcaihuang

meegle-cli-mcp

by yingcaihuang

Query Work Items

workitem_query
Read-onlyIdempotent

Query work items with SQL-like MQL to list or search across a project. Use project-specific labels for status and enum values.

Instructions

Run an MQL query against a project. Use this for listing or searching work items across a project. The mql argument must be a complete SQL-like MQL string, not just filters or fragments. For select or status filters, use the project actual display labels or configured values instead of assuming generic English constants like OPEN or IN_PROGRESS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mqlYesComplete MQL query string. For enum or status conditions, prefer project display labels and single-quoted string values.
session_idNoPagination session_id returned by a previous workitem_query call. When provided, mql is typically reused as-is or left consistent with the original query context.
project_keyNoProject key. Always pass explicitly in multi-project usage; resolve it with project_search first when missing.
auto_paginateNoSet true to let meegle CLI auto-follow response pagination when supported.
group_pagination_listNoOptional grouped pagination info for continuing a previous query.
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, and non-destructive behavior. The description adds useful context about MQL syntax requirements and label pitfalls, which helps the agent avoid common errors. It does not contradict annotations and adds value by flagging that generic constants like OPEN or IN_PROGRESS should not be assumed.

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 two sentences, front-loaded with the action, and contains no superfluous text. Every sentence contributes meaningful guidance: the first states purpose and scope, the second warns about MQL completeness and label usage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 5 parameters, rich schema descriptions, and no output schema, the description covers the core purpose and key usage pitfalls. It does not explain pagination or session_id, but those are documented thoroughly in the schema. Overall, the description is complete enough for an agent to invoke the tool correctly when combined with the schema.

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 every parameter, including mql's requirement to be a complete query string with label guidance. The tool description reinforces the MQL completeness rule but adds little beyond what the schema already provides, just slight emphasis on 'not just filters or fragments.'

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 clearly states the tool runs an MQL query against a project for listing or searching work items, using a specific verb and resource. It distinguishes itself from siblings like workitem_get (fetch a single item) or workitem_create/update by focusing on query-based listing/searching.

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?

The description explicitly says 'Use this for listing or searching work items across a project,' which conveys the primary use case. It also provides important guidance on forming a complete MQL string and using project display labels, but does not explicitly name alternative tools or give exclusion criteria.

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

Install Server

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/yingcaihuang/meegle-cli-mcp'

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