Skip to main content
Glama

Autotouch AI

Query tasks

query_tasks
Read-only

Read a page of tasks that match a filter, search or sort, with a cursor for the next page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "query_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
scopeNoLegacy scope toggle. Prefer providing a descriptor rule with field 'scope'.
filterNo
searchNo
paginationNo
include_skippedNo
research_field_idsNo
include_total_countNo
include_research_valuesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already establish a read-only, non-destructive, closed-world operation; the description adds single-page retrieval and a next-page cursor. It does not explain cursor exhaustion, result-page behavior, or consequential defaults such as total-count and research-value inclusion.

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 single sentence is compact, front-loaded, and free of filler. The phrase 'match a filter, search or sort' is awkward because sorting is not a matching predicate, and the brevity leaves important semantics unresolved.

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?

The core operation is understandable, and the schema supplies structural types and defaults. For a nine-parameter query tool with recursive filters, no output schema, and several task-related siblings, however, the description omits too much for consistently reliable selection and invocation.

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 only 11% schema description coverage, merely mentioning 'filter, search or sort' and a cursor does little to compensate for undocumented inputs. It supplies no valid task fields or operators, rule/group semantics, search behavior, or explanation of include_skipped, research_field_ids, include_total_count, and include_research_values.

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 and resource, 'Read a page of tasks,' and adds filtering, search, sorting, and cursor pagination. It does not explicitly distinguish this paged query from siblings such as get_task, count_tasks, open_tasks, or view_tasks.

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 wording implies use for filtered or searched task retrieval with cursor-based browsing, but it provides no explicit selection criteria. It does not say when this tool is preferable to its task-related siblings or whether an unfiltered call retrieves all tasks.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources