Skip to main content
Glama

search_todos

search_todos
Read-only

Search the user's to-dos. Provide a query for semantic search, or omit it to get all active to-dos sorted by importance and urgency (expiration soonest first). Pass projectId to see only the to-dos tied to one project. Each result includes completed — check it before treating one as open. Requires the "read" scope.

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_todos"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of follow-ups to return (default 20)
queryNoSemantic search query. If omitted, returns all active follow-ups sorted by importance and due date.
projectIdNoOnly return todos linked to this project. Covers todos filed under one of its milestones AND todos attached to the project with no milestone yet — the state a claimed backlog item starts in. Get the ID from listProjects or getProject.
personalOnlyNoWhen true, return only todos that belong to no project at all. The alternative to projectId, not a companion — if both are given this one wins.
includeExpiredNoWhen true, includes follow-ups whose expiration date has passed. Defaults to false (only active/non-expired). Critical-importance follow-ups (>=0.95) are always included regardless of this setting — they never drop off the active list even once overdue. Only applies when query is omitted.
importanceLevelNoOptional filter by importance level: critical (>=0.95 — never drops off the active list even once overdue, but still must be resolved), high (0.8-0.95), medium (0.5-0.8), low (<0.5). Only applies when query is omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: the required "read" scope, the sort order (importance then expiration soonest), and the caveat that results may include completed items. A brief note on result volume or pagination behavior would push this higher.

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?

Four sentences, front-loaded with the core action and modes, then filtering, then a result caveat, then the auth requirement. Every sentence carries information; no filler or repetition of the tool title.

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 six-optional-parameter read tool with full schema coverage and no output schema, the description covers modes, sorting, scoping, the auth scope, and the one output field an agent must inspect. Nothing essential for a correct call is absent, though it never explains how to interpret the returned ordering beyond the sort rule.

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 all six parameters in depth, including the personalOnly-vs-projectId precedence and the critical-importance override. The description restates the query/omit behavior and projectId filtering but adds no syntax or semantics the schema lacks. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb+resource ("Search the user's to-dos") and immediately distinguishes two operating modes: semantic query versus unfiltered listing of active to-dos. It does not explicitly contrast itself with siblings like create_todo or resolve_todo, but the search/read nature is unambiguous from the text alone.

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?

Clearly states when to supply a query (semantic search) versus omit it (all active, sorted by importance/urgency), and when to pass projectId. It also gives a downstream usage rule: check the `completed` flag before treating a result as open. Missing only explicit named alternatives for overlapping tasks such as listing reminders.

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