Skip to main content
Glama
Doist
by Doist

find-comments

Read-onlyIdempotent

Find comments linked to a task, project, or retrieve a specific comment by ID. Provide exactly one of taskId, projectId, or commentId.

Instructions

Find comments by task, project, or get a specific comment by ID. Exactly one of taskId, projectId, or commentId must be provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of comments to return
cursorNoPagination cursor for retrieving more results.
taskIdNoFind comments for a specific task.
commentIdNoGet a specific comment by ID.
projectIdNoFind comments for a specific project. Project ID should be an ID string, or the text "inbox", for inbox tasks.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hasMoreYesWhether there are more results available.
commentsYesThe found comments.
searchIdYesThe ID that was searched for (comment, task, or project ID).
nextCursorNoCursor for the next page of results.
searchTypeYesThe type of search performed: "single" (comment ID), "task" (task ID), or "project" (project ID).
totalCountYesThe total number of comments in this page.
Behavior4/5

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

Annotations indicate read-only, idempotent, and non-destructive behavior. The description adds a critical behavioral rule about mutual exclusivity of parameters, which is not covered by annotations alone.

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?

Two sentences covering purpose and key constraint. No wasted words, front-loaded with the most important information.

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 output schema exists and schema descriptions are complete, the description adequately covers the tool's purpose and the critical parameter rule. Could mention pagination but not necessary for basic usage.

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 coverage is 100% with individual parameter descriptions. The description adds value by summarizing the mutual exclusivity constraint across taskId, projectId, and commentId, which is not captured in the schema.

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 finds comments by task, project, or by a specific comment ID, distinguishing it from sibling tools like 'add-comments' or 'update-comments'. The verb 'find' and resource 'comments' are explicit.

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 states the mandatory constraint that exactly one of taskId, projectId, or commentId must be provided. It does not explicitly mention when not to use it, but the constraint provides clear usage context.

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/Doist/todoist-ai'

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