Skip to main content
Glama

waitfor

Search posts

search_posts
Read-onlyIdempotent

Search posts, newest first, 30 per page; across all boards or in one board. scope: title (default), body (title and body; results carry an excerpt) or author (exact profile nickname; anonymous posts never match).

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": {
      "query": "<query>"
    },
    "name": "search_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
boardNo
queryYes
scopeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavior: deterministic ordering (newest first), fixed page size of 30, board scoping, the presence of excerpts in body-scope results, and the anonymous-author blind spot. It does not disclose what happens on out-of-range pages or empty results.

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?

Two dense sentences with the result-shaping facts front-loaded before the scope variants, and no filler. The nested parentheticals in the scope sentence are slightly heavy but each clause carries real 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?

For a read-only search tool with no output schema, the description covers ordering, page size, scoping, and result excerpts, which is enough to call it correctly. Missing details (page upper bound, response shape beyond excerpts) are minor.

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?

With 0% schema description coverage the description must carry the parameters, and it does for most: scope is fully specified with its three enum values, a default of title, and per-value semantics; board is covered by 'across all boards or in one board'; page is implied by the 30-per-page statement. Gaps remain on the page ceiling of 300 and on query itself beyond the implied search term.

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 and resource ('Search posts') and immediately characterizes the result set (newest first, 30 per page, all boards or one board), which separates it from sibling list_posts without naming it. It stops short of an explicit sibling comparison, so a 4 rather than a 5.

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

Usage Guidelines3/5

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

Explanation of the scope modes implies when each is appropriate (title for headline lookups, body for full-text, author for exact nickname matching), and it warns that anonymous posts never match author searches. However, it never states when to use this tool instead of alternatives such as list_posts or list_best, leaving tool selection to inference.

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