Skip to main content
Glama

Search comments across all pages

search_comments
Read-only

Search the comments on every page in the user's HTMLAnnotate account (and their team's shared pages). Filter by words in the comment, status, label, priority, page name, assignee and date. Returns each match's page, number, author, text, status, labels and a link that opens the comment. Use it for questions like "which urgent bugs are still open?" or "what did Sam say last week?". To read every comment on one page, get_comments is better.

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

Input Schema

NameRequiredDescriptionDefault
pageNoOptional. Only pages whose name contains this.
textNoOptional. Words to look for in the comment, its replies, its author or the element it is pinned to.
labelNoOptional. Only comments with this label.
limitNoMost results to return, newest first. Default 25.
sinceNoOptional. Only comments left on or after this date, YYYY-MM-DD.
untilNoOptional. Only comments left on or before this date, YYYY-MM-DD.
statusNoOptional. Default "any". "open" includes comments that are in progress.
assigneeNoOptional. Only comments assigned to this person (name or email). Use "none" for unassigned comments.
priorityNoOptional. Only comments with this priority.
include_archivedNoAlso search archived pages. Default false.
include_screenshotNoWhen exactly one comment matches, also return its screenshot as an image. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare this is a read-only, non-destructive, non-open-world operation. The description adds useful scope about account and team shared pages and describes the returned comment fields, though it does not discuss rate limits, pagination behavior, or authorization requirements.

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 action and scope, then covers filters, return values, examples, and the key alternative. Every sentence contributes useful information without repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a search tool with eleven optional parameters and no output schema, the description covers scope, filtering dimensions, returned fields, representative use cases, and the main alternative. Together with the fully documented schema and safety annotations, an agent has what it needs to invoke this tool correctly.

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 all eleven parameters are already documented in the input schema. The description summarizes the filterable fields but does not add syntax, defaults, or edge-case behavior beyond what the schema provides.

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: search comments across every page in the account and team shared pages. It also distinguishes this tool from get_comments by explicitly saying get_comments is better for reading every comment on one page.

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 examples such as finding urgent open bugs or recent comments from a person. It also names the appropriate alternative, get_comments, for the one-page case, so the agent can choose correctly.

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