Skip to main content
Glama

query_tasks

Retrieve active tasks by applying filters such as project, tags, due dates, text, and regex patterns. Supports date/hour ranges for precise queries.

Instructions

Query active tasks with fine-grained filters, date/hour ranges, and grep-like matching.

[Category: Query & Search]  [Auth: V1 + V2]
[Related: query_notes, query_agenda, get_all_tasks, get_project_tasks]
Multi-value filters accept either a list or a single string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idsNo
project_namesNo
folder_idsNo
folder_namesNo
tagsNo
tag_modeNoany
text_queryNo
keyword_modeNoany
regexNo
exclude_regexNo
search_fieldsNo
due_fromNo
due_toNo
start_fromNo
start_toNo
modified_fromNo
modified_toNo
created_fromNo
created_toNo
time_fromNo
time_toNo
timed_onlyNo
all_dayNo
min_priorityNo
prioritiesNo
has_remindersNo
is_recurringNo
has_checklistNo
parent_onlyNo
subtasks_onlyNo
limitNo
sort_byNodueDate
descendingNo
Behavior3/5

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

No annotations are provided, so the description must fully describe behavior. It states that the tool queries active tasks (implying read-only) and mentions multi-value filter flexibility, but does not address authentication details, rate limits, or edge cases like empty results. Some value is added but not comprehensive.

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?

The description is concise with two sentences plus a categorized bullet line. It front-loads the key action and capabilities. However, the '[Auth: V1 + V2]' and '[Category: Query & Search]' are cryptic and may not be helpful to an agent without further context.

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?

Given the tool's complexity (33 parameters, no output schema, no annotations), the description is too brief. It does not clarify what 'active tasks' means, the expected date format, how regex works, or sorting behavior. The description leaves significant gaps for such a feature-rich tool.

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?

With 33 parameters and 0% schema description coverage, the description needs to compensate. It only briefly mentions 'fine-grained filters, date/hour ranges' and the multi-value behavior, but does not explain the meaning or format of most parameters (e.g., date formats, priority, tag_mode). This is insufficient for a tool with many parameters.

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 verb 'Query', the resource 'active tasks', and key capabilities: 'fine-grained filters, date/hour ranges, and grep-like matching'. It distinguishes from siblings like get_all_tasks and get_project_tasks by implying this tool offers more advanced querying.

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?

The description lists related tools (query_notes, query_agenda, get_all_tasks, get_project_tasks) but does not provide explicit guidance on when to use this tool versus alternatives. The usage context is implied but not clarified with when-not conditions.

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/KpihX/tick-mcp'

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