Skip to main content
Glama
Things 3 MCP Server
by ebowman

search_advanced

Search tasks by status, type, tag, area, start date, or deadline, with limit and offset controls to retrieve matching items across all statuses.

Instructions

Advanced search with multiple filters: status, type, tag, area, start_date, deadline. Supports response modes, limit (1-500), and offset for efficient retrieval.

Note: the tag filter is case-sensitive. An unknown tag (including a wrong-case variant of a real tag, e.g. 'work' vs 'Work') returns a structured error ({"success": false, "error": "unknown_tag", ...}) with case-insensitive suggestions instead of an empty result.

Unlike search_todos() and get_todos() (which default to 'incomplete' only), search_advanced with no status filter searches items of ALL statuses (incomplete, completed, and canceled). Pass status='incomplete' explicitly to restrict to open items.

Note: filter_someday_project_tasks is NOT applied here - todos inside a Someday project (hidden from Today/Anytime/Upcoming in the Things UI) can still match search_advanced.

Scope semantics:

  1. Without an explicit type filter, only to-dos are searched - a bare area=/start_date=/deadline= filter can never return a project or heading. Pass type='project' or type='heading' to search those kinds explicitly.

  2. area= matches only items directly assigned to the area - it does NOT cascade into to-dos living inside that area's projects. To find those, query each project with get_todos(project_uuid=...), or use get_areas(include_items=true) to enumerate the area's projects first.

  3. There is no project= filter parameter - use get_todos(project_uuid=...) to scope a search to one project.

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": "search_advanced"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoFilter by tag (case-sensitive)
areaNoFilter by area UUID
modeNo
typeNoFilter by item type
limitNoMaximum number of results to return (1-500)
offsetNoNumber of matching results to skip before applying limit (default: 0)
statusNoFilter by todo status. If omitted, ALL statuses (incomplete, completed, canceled) are searched
deadlineNoFilter by deadline (YYYY-MM-DD)
start_dateNoFilter by start date (YYYY-MM-DD)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and discloses several non-obvious traits: the default status scope differs from sibling tools, tag filtering is case-sensitive and returns a structured unknown_tag error with suggestions, and filter_someday_project_tasks is not applied. It also explains the non-cascading area behavior and the default to-do-only search scope.

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 front-loaded with the core purpose and then organized into clear notes and numbered scope semantics. Despite its length, every paragraph adds operational guidance rather than repeating structured fields.

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?

For a nine-parameter tool with no annotations and an output schema, the description is largely complete and covers the most important scope and default behaviors. The missing piece is sufficient explanation of the mode parameter's accepted values and retrieval behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is high at 89%, so the baseline is 3, but the description adds important semantics beyond the schema for type, area, status, and tag. The main remaining gap is the mode parameter, which is referred to only vaguely as 'response modes' while its schema entry has no description.

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 states a specific verb and resource: advanced search with multiple filters for status, type, tag, area, start_date, and deadline. It also distinguishes this tool from siblings by explaining that search_todos() and get_todos() default to incomplete items while search_advanced searches all statuses unless filtered.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use and when-not-to-use guidance: pass status='incomplete' to restrict to open items, use get_todos(project_uuid=...) to scope by project, and use get_areas(include_items=true) to enumerate an area's projects. It also warns that no project filter exists and names the correct alternative.

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