Skip to main content
Glama

list_posts

Read-only

Retrieve and search posts of any type using filters for post type, status, author, taxonomy, search term, meta query, ordering, and pagination to find the exact content needed.

Instructions

List/search posts of any type with filters: post_type, status, search term, author, taxonomy term, meta query, ordering, and pagination.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
pageNo
orderNoDESC
authorNo
searchNo
statusNoany
orderbyNodate
categoryNo
per_pageNo
post_typeNopost

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

C2.9/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a safe read, and the description adds only that all post types are covered. It discloses nothing about result ordering guarantees, pagination totals, or empty results, and it advertises a 'meta query' filter that has no corresponding parameter, which can mislead about behavior.

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?

One front-loaded sentence with no filler; the filter inventory is compact and scannable. It reads slightly as a parameter dump rather than a semantic explanation, which keeps it from a 5.

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?

For a 10-parameter read tool with no output schema and zero schema descriptions, the overview is enough to attempt a call but not to call it well. Defaults, accepted status values, and pagination semantics are all absent, and the phantom 'meta query' filter leaves a gap an agent cannot resolve from the schema.

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?

With 0% schema description coverage, the description does real work by mapping the 10 parameters into filter groups: post_type, status, search, author, taxonomy (tag/category), ordering (order/orderby) and pagination (page/per_page). However it omits default values (status 'any', per_page 20, orderby 'date'), gives no allowed values for status or order, and mentions a 'meta query' filter that does not exist 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 pair (list/search) and resource (posts) plus the scope 'of any type', which separates it from single-item readers like get_post. It stops short of naming any sibling or explaining how it differs from other list tools such as task_list or memory_list.

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

Usage Guidelines2/5

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

The description enumerates available filters but gives no when-to-use guidance, no prerequisites, and no statement about when to prefer this over get_post for a single item. The agent must infer that this is the retrieval entry point from the word 'list/search' alone.

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