Skip to main content
Glama

Get post version

get_post_version
Read-onlyIdempotent

Get one version of a post. Returns its number, title, changeNote, author, content and media, and isCurrent. Pass either versionId or number.

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": {
      "postId": "<postId>"
    },
    "name": "get_post_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberNoThe version's number from list_post_versions, where 1 is the first version. Pass this or versionId.
postIdYesThe post's ID, from the id field of list_posts, get_post or search. Post numbers and identifiers are not accepted here.
versionIdNoThe version's id from list_post_versions. Pass this or number.

Output Schema

NameRequiredDescriptionDefault
idYesVersion ID. Pass it as versionId.
mediaNoThe version's files, each with id, fileName, fileType, fileSize and url.
titleNoPost title at this version, or null.
authorNoWho created the version: id and name.
numberYesVersion number, starting at 1.
postIdYesID of the post.
contentNoThe version's content as rich text JSON.
createdAtNoWhen it was created, in epoch ms.
isCurrentYestrue for the post's current version.
changeNoteNoNote written when the version was published, or null.
mediaCountNoNumber of files in the version.
mediaIncompleteNotrue when some files of an old version no longer exist, so media is partial.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world behavior, so the safety profile is covered structurally. The description adds the mutual exclusivity of versionId/number as an invocation constraint, but offers nothing further about auth, failure modes, or behavior for missing versions, and it enumerates return fields that the output schema already documents.

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 short sentences, front-loaded with the core action and followed by the selector constraint; nothing is padded. The return-field enumeration is mildly redundant given the output schema, which is the only thing keeping this below a 5.

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?

With an output schema present and 100% parameter coverage, the description does not need to explain return values or field formats, and the required postId plus the one-of selector are both addressed. It is essentially complete for a simple read tool, missing only explicit sibling routing.

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 every parameter is already documented, including sourcing hints like "from list_post_versions." The description's "Pass either versionId or number" restates the schema's own wording without adding format details or examples, which lands at the baseline for fully documented schemas.

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 description uses a specific verb and resource ("Get one version of a post"), and "one version" distinguishes it from a listing operation like list_post_versions. It stops short of explicitly naming the sibling tools it differs from, so an agent must infer the distinction from the plural/singular naming.

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?

The only guidance is the parameter-level instruction "Pass either versionId or number," which tells the agent how to identify the version but not when to reach for this tool versus get_post or list_post_versions. Usage context is implied by the singular "one version" framing rather than stated.

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