Skip to main content
Glama
kieksme
by kieksme

List published posts in a Hashnode publication

hashnode_list_posts
Read-onlyIdempotent

Retrieve published posts from a Hashnode blog by host, sorted newest first. Supports pagination and markdown or JSON output.

Instructions

List published blog posts in a publication, ordered by publish date (newest first).

Args:

  • host (string, required): Publication host, e.g. "yourblog.hashnode.dev"

  • limit (number): Posts per page (default 20, max 50)

  • after (string): Cursor for pagination

  • response_format: 'markdown' or 'json'

Returns: posts with id, title, slug, url, publishedAt, views, readTime, tags

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesPublication host, e.g. 'yourblog.hashnode.dev'
afterNoPagination cursor from previous response
limitNoPosts per page
response_formatNoOutput format: 'markdown' (default) or 'json'markdown
Behavior4/5

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

Annotations already provide readOnlyHint, openWorldHint, idempotentHint, and destructiveHint. The description adds value by specifying the return fields (id, title, slug, url, publishedAt, views, readTime, tags), the default ordering, and pagination cursor behavior. This enriches the agent's understanding beyond the annotations without contradiction.

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?

The description is concise and well-structured: it opens with a clear summary sentence, then lists parameters in an Args block and concludes with a Returns line. Every element earns its place, with no redundancy or fluff.

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?

Given the tool's simplicity, the presence of a complete schema, and rich annotations, the description is sufficient. It covers the key contextual aspects: ordering, pagination via the 'after' cursor, allowed response formats, and the returned fields. There is no output schema, but the Returns line fills that gap. No additional information seems necessary.

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?

The input schema already provides full descriptions for all four parameters (host, after, limit, response_format) with defaults and constraints. The description largely repeats this information (e.g., limit default 20 max 50, after as cursor). It does not introduce new semantic details beyond what the schema covers, so the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('List'), names the resource ('published blog posts'), and adds scoping details ('in a publication', 'ordered by publish date (newest first)'). It clearly distinguishes from sibling tools like hashnode_list_drafts by explicitly stating 'published'.

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 description gives a clear context for when to use this tool (listing published posts) and mentions ordering/pagination. It does not explicitly name alternatives or exclusions, but the sibling tool names (e.g., list_drafts) imply the distinction. This matches 'clear context, no exclusions'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kieksme/mcp-hashnode'

If you have feedback or need assistance with the MCP directory API, please join our Discord server