Skip to main content
Glama

Search posts by content

search_posts
Read-only

Text-search across the user's posts (drafts, scheduled, published). Case-insensitive substring match on post content. Optionally filter by status or platform.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYesText fragment to search for in post content (case-insensitive). Minimum 3 characters.
statusNo
platformNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
postsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "DRAFT",
      -  "SCHEDULED",
      -  "PUBLISHED",
      -  "FAILED",
      -  "CANCELLED"
      -]New value: +[
      +  "DRAFT",
      +  "SCHEDULED",
      +  "PUBLISHED",
      +  "PARTIAL",
      +  "FAILED",
      +  "CANCELLED"
      +]
  2. Changed1 schema field changed
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this a safe read (readOnlyHint=true, openWorldHint=false), and the description is consistent with that. It adds a genuinely useful behavioral detail beyond annotations — matching is case-insensitive substring, not fuzzy/token search — but says nothing about result ordering, pagination, or false-positive behavior, which matter most 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?

Three tight sentences, front-loaded with what is searched before the filter details. Slight redundancy in repeating 'case-insensitive' already present in the schema's query description.

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

Completeness3/5

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

An output schema exists so return values need no explanation, and the annotations cover safety. What is missing is search-behavior completeness: ordering/relevance of results, whether the scope spans teams, and limit semantics for a tool with four parameters.

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 only 25%, so the description must carry weight; it partially does by naming the status and platform filters. However, it never explains limit (default 20, max 100) or the minimum query length, and adds no meaning beyond the enum names already visible in the schema.

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 (text-search across posts) and names the scope of records searched (drafts, scheduled, published). It implicitly separates itself from list_drafts and list_scheduled_posts by being content-based rather than enumeration-based, though it never names those siblings.

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?

The mention of optional status/platform filters implies when the tool is useful, but there is no explicit 'use this instead of list_drafts/get_post when...' routing. An agent must infer from the sibling list which tool fits a given intent.

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