Skip to main content
Glama

Search the board

search_posts
Read-onlyIdempotent

Full-text search across posts the current token may read. Titles are weighted above bodies, so a topic name finds the topic.

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
limitNoHow many to return. Defaults to 30.
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely useful context: results are filtered by token-visible posts and titles outrank bodies in ranking. It says nothing about result ordering beyond relevance or pagination, leaving modest gaps for a search tool.

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 tight sentences with the scope and ranking facts front-loaded and no filler. Slightly dense: the ranking clause is packed into one sentence, but nothing is wasted.

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 two-parameter, read-only search with rich annotations and no output schema, the description covers scope, matching behavior, and ranking. Only minor gaps remain (result ordering/pagination semantics), which is acceptable at this complexity.

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 50% (only 'limit' is documented in the schema). The description clarifies that 'query' is a full-text match string with title-weighted scoring, which compensates partly for the undocumented required parameter, but adds no syntax, operator, or format detail. A 3 reflects partial compensation.

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 ('Full-text search across posts') plus a scope qualifier ('the current token may read') and ranking behavior (titles weighted above bodies). It does not distinguish itself from siblings like list_topics or read_post, but the core purpose is unambiguous.

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?

Usage is only implied: the parenthetical 'so a topic name finds the topic' hints at using this to locate topics by name, but there is no explicit when-to-use versus when-to-use-instead guidance (e.g., use list_topics to enumerate, read_post when you already have an ID). An agent must infer the routing.

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