Skip to main content
Glama
RecurPost MCP Server
by dinwal

library_content_search

Read-only

Search one library or all workspace libraries for posts containing a phrase in text, link title, variation, or network version; returns post IDs for content actions.

Instructions

Find library posts whose text, link title, variation or network version contains a phrase, in one library or across every library of the workspace. Returns post ids for library_content, library_content_update and library_content_delete.

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": {
      "search_text": "<search_text>"
    },
    "name": "library_content_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1. A value that is not a whole number or is below 1 answers 400. Default: 1.
per_pageNoResults per page, from 1. Values above 50 are capped at 50; below 1 answers 400. Default: 20.
library_idNoEncrypted library id from /api/library_list to search in. Omit to search every library of the workspace.
search_textYesPhrase to look for. Leading and trailing spaces are trimmed; blank is a 400.
workspace_idNoWorkspace to act in (ws_id from workspace_list). Omit to use your default workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, open-world behavior, so the safety profile is covered. The description adds behavior the annotations cannot: which fields are matched, that matching is phrase-based containment, and that the output is post ids meant to feed other tools. It omits pagination/cap behavior, though the schema covers that.

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 sentences with no filler: the first front-loads what is searched and over what scope, the second delivers the return value and its consumers. Nothing could be removed without losing 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?

With no output schema, the description correctly discloses the return shape (post ids) and how they chain into sibling tools, which is the main missing piece otherwise. Combined with full schema coverage and read-only annotations, an agent has nearly everything needed, with only minor gaps around result ordering.

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 every parameter is already documented, and the description only restates library_id scope ('one library or across every library'). It adds no extra meaning about search_text matching quirks or pagination beyond the schema, so baseline 3 applies.

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?

The description pairs a specific verb ('Find') with a specific resource ('library posts') and enumerates the matched fields: text, link title, variation, network version. It also states the result ('post ids'), so the agent knows exactly what comes back. It does not explicitly contrast with the sibling library_content_list, relying on 'contains a phrase' to imply search-vs-listing.

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?

Scope guidance is present ('in one library or across every library of the workspace'), but that restates what library_id already says in the schema. The description hints at downstream use by naming library_content, library_content_update and library_content_delete as consumers of the returned ids, yet never states when to choose this search over listing sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.