Skip to main content
Glama

List Posts

inblog_list_posts
Read-onlyIdempotent

Lists blog posts with optional published/draft filtering, sorting, and pagination to browse, audit, or manage content by status and page.

Instructions

List blog posts with optional filtering, sorting, and pagination.

Args: filter_published (bool, optional): true=published, false=drafts, omit=all sort (string, optional): Sort field (created_at, -created_at, updated_at, -updated_at, published_at, -published_at, title, -title). Default: -created_at page (int, optional): Page number, 1-based. Default: 1 limit (int, optional): Items per page, 1-100. Default: 20 response_format (string, optional): 'markdown' (default) or 'json'

Returns: List of posts with id, title, slug, published status, dates. Includes pagination metadata (total, count, page, totalPages, has_more).

Examples: List all posts: {} Published only: {filter_published: true} Page 2: {page: 2, limit: 10}

Errors: 401 (auth), 403 (permission), 500 (server)

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": "inblog_list_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based). Default: 1.
sortNoSort field. Prefix with - for descending. Default: -created_at.
limitNoItems per page (1-100). Default: 20.
response_formatNoOutput format. 'markdown' (default) for human-readable, 'json' for structured data.
filter_publishedNoFilter by published status. true = published only, false = drafts only, omit = all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so the safety profile is covered. The description adds genuinely useful context beyond them: the exact return fields, pagination metadata keys (total, count, page, totalPages, has_more), and the 401/403/500 error taxonomy, which hints at the auth requirement. It does not mention rate limits or ordering guarantees, so not a 5.

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?

The one-line summary is front-loaded and the Args/Returns/Examples/Errors sections are scannable. The Args block duplicates schema fields that are already fully documented, which is mild waste, but the Returns and Examples content earns its space.

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

Completeness5/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 compensates fully by documenting the returned fields and pagination metadata, and it closes the loop on error behavior. For a zero-required-parameter list tool, an agent has everything needed to call it and interpret the response.

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 the baseline is 3. The Args block largely restates the schema's own descriptions (defaults, 1-100 range, enum values) rather than adding new meaning; only the example payloads supply marginal extra signal.

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 first sentence gives a specific verb and resource ('List blog posts') plus the three capabilities (filtering, sorting, pagination), which clearly separates it from siblings like inblog_get_post or inblog_create_post. It stops short of naming a sibling alternative explicitly, so it is clear but not maximally differentiated.

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

Usage Guidelines4/5

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

The Args list and Examples section make the practical call patterns unambiguous: omit filter_published for all posts, true for published, false for drafts, and page/limit for paging. There is no explicit statement of when NOT to use this tool (e.g. fetching a single post should use inblog_get_post), which keeps it below a 5.

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