Skip to main content
Glama

Read a blog post

get_post
Read-only

Read one blog post as it is saved now: its fields, its Markdown exactly as written, Draft or Live, and its contentHash. Read a post before updating it, and pass contentHash to put_post as base_hash.

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": {
      "siteId": "<siteId>",
      "slug": "<slug>"
    },
    "name": "get_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe post's URL name, e.g. "how-we-price" for /blog/how-we-price. Lowercase words joined by hyphens.
siteIdYesThe site (id from list_sites).
collectionNoWhich collection the posts are in. Defaults to "blog", so posts are at /blog/<slug>. Lowercase words joined by hyphens.

Output Schema

NameRequiredDescriptionDefault
pathYesThe post's path on the site, e.g. "/blog/launch".
slugYes
fieldsYesThe post's frontmatter: title, date, description, image, image_alt, author.
siteIdYes
statusYesDraft or Live (published). Live means the next site publish includes the post; it is not on the domain until the site is published (publish_post does that once the site has an active domain, as does Publish in Simplepages).
editUrlYesOpens the post's page in the Simplepages editor.
liveUrlNoIts address on the site's custom domain, once the site is published. Null without a domain.
markdownYesThe post's body, exactly as saved.
collectionYes
previewUrlNoShareable preview link, Draft or Live. Null until its page row exists.
contentHashYesThe saved post's version. Pass it to put_post as base_hash to update this post.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / status / description
      Previous value: -"Draft or Live (published). Live means the next site publish includes the post; it is not on the domain until the site is published from Simplepages."New value: +"Draft or Live (published). Live means the next site publish includes the post; it is not on the domain until the site is published (publish_post does that once the site has an active domain, as does Publish in Simplepages)."
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds that the read reflects the post 'as it is saved now' (i.e. current persisted state, no draft-preview ambiguity) and that contentHash is returned for optimistic concurrency in put_post. That is meaningful behavioral context beyond the annotation, though it does not discuss permissions or what happens for a nonexistent slug.

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 tight sentences with zero filler; the read behavior is front-loaded and the workflow instruction follows immediately. Every clause carries information an agent would otherwise have to guess.

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?

A simple two-required-parameter read tool with full schema coverage, readOnly annotations, and an output schema that already documents return shape. The description covers purpose, current-state semantics, and the downstream put_post handoff — nothing needed to call it correctly 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%, with slug, siteId, and collection all documented in the schema itself, so the baseline is 3. The description adds no additional parameter meaning (e.g. whether collection affects lookup fallback), so it neither compensates nor detracts.

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?

States a specific verb and resource ('Read one blog post') and scopes it to a single record, which cleanly separates it from list_posts. It also enumerates what comes back (fields, Markdown, Draft/Live state, contentHash), so an agent knows exactly what kind of operation this is without opening the schema.

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?

Gives concrete ordering guidance ('Read a post before updating it') and names the sibling that consumes the result ('pass contentHash to put_post as base_hash'), which is exactly the kind of routing an agent needs. It stops short of an explicit when-not-to-use or pointing at get_page for non-blog content, so it is not a full 5.

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