Skip to main content
Glama

Search notifications

search_channels
Read-only

Searches every channel (or one site's) for all the words of q, ignoring case and accents. 30 results per page, newest first; pass before (the last result's message id) for more.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "search_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesThe words to look for, 2 to 200 characters.
beforeNoResults older than this message id.
site_idNoOnly this site's channel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, closed-world, and non-destructive traits, and the description adds real behavioral detail beyond them: accent/case-insensitive whole-word matching, a fixed 30-results page size, newest-first ordering, and cursor semantics. It stops short of describing what a result item contains, leaving the shape of returned notifications to be discovered.

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 compact clauses with the core capability first and the pagination mechanic second. No filler, no restatement of the tool name, and the scope qualifier is placed where it reads naturally.

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?

With no output schema, the description carries some return-value burden and does so partly: page size, ordering, and the id-based cursor are all stated. The one gap is that 'results' is never defined (notifications vs. channels), which matters given the mismatch between the tool name and its title.

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%, so baseline is 3, but the description earns more: it clarifies that 'before' should be the last result's message id (a usage cue the schema's 'Results older than this message id' doesn't supply), and it restates matching behavior for 'q' as whole-word, case- and accent-insensitive.

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?

Specific verb+resource ('Searches every channel') with an explicit scope qualifier ('or one site's') and match semantics ('all the words of q, ignoring case and accents'). This scope wording lets an agent distinguish it from list_channels and get_channel, which address channels individually rather than searching their contents.

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?

Pagination usage is spelled out precisely: 'pass before (the last result's message id) for more.' The site-scoping alternative is also noted parenthetically. What's missing is an explicit statement of when to prefer this over list_channels/get_conversation, and no exclusions are given.

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