Skip to main content
Glama

list_posts

Read-only

Lista entradas publicadas y públicas con paginación y filtros por tipo, taxonomía, término, autor y fecha (solo lectura). Devuelve los metadatos page, per_page, total y total_pages.

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
pageNoPágina solicitada (>=1).
termNoSlug del término por el que filtrar (requiere taxonomy).
afterNoFecha ISO 8601 mínima de publicación (inclusive).
orderNoSentido del orden (por defecto desc).
authorNoSlug del autor por el que filtrar.
beforeNoFecha ISO 8601 máxima de publicación (inclusive).
orderbyNoCampo de orden (por defecto date).
per_pageNoResultados por página (1-50).
taxonomyNoTaxonomía por la que filtrar (requiere term).
post_typeNoRestringe los resultados a un tipo de contenido público.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the parenthetical '(solo lectura)' merely restates that. The description does add real behavioral context though: it narrows the result set to published and public content only, and since there is no output schema it explicitly names the pagination metadata returned (page, per_page, total, total_pages).

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 that front-load the core purpose and filter scope before the return-value note. Minor waste in '(solo lectura)', which duplicates the readOnlyHint annotation, but overall there is little redundant wording.

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 ten-parameter, all-optional listing tool with no output schema, the description covers purpose, filter dimensions, pagination, and the shape of the returned metadata. It omits defaults (order=desc, orderby=date) and the per_page maximum, but those are already documented in the schema, so nothing critical is missing.

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% and all ten parameters carry their own enum/description text, so the schema already does the heavy lifting. The description only groups the filterable dimensions (tipo, taxonomía, término, autor, fecha) without adding formats, defaults, or the taxonomy/term pairing rule beyond what the schema states.

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 ('Lista entradas publicadas y públicas') plus the scope constraint that only published/public content is returned, and enumerates the filter dimensions. It is clearly distinguishable from get_post or list_terms, but it never names search_posts or get_latest_posts, so the agent must infer the boundary from those siblings' names alone.

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 implied: use this to browse posts with pagination and filtering by type, taxonomy, term, author, or date. There is no explicit when-to-use/when-not guidance and no pointer to the alternative tools (e.g. search_posts for keyword queries, get_latest_posts for recent items), leaving the routing decision 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