Skip to main content
Glama

Get Post

posts.get
Read-only

Get one published, publicly discoverable post by ID. Private posts behave as not found.

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": {
      "id": "<id>"
    },
    "name": "posts.get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value by disclosing the visibility filter ('published, publicly discoverable') and that private posts surface as not-found rather than a permission error, which shapes how an agent interprets the response. It stops short of saying whether drafts or unlisted posts behave the same way, and gives no hint about the failure shape (error vs. null).

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 short sentences with zero filler, and the scope constraint is front-loaded ahead of the edge-case caveat. Every clause carries information the structured fields do not.

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 single-parameter read tool with annotations covering mutability and no output schema, this is close to complete. The one gap is that it calls out only private posts as not-found while the first sentence implies unpublished or non-discoverable posts also fail, leaving the failure boundary slightly ambiguous.

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 0% for the single required parameter, so the description carries the burden and does only partially: 'by ID' confirms the integer identifies a post, and the visibility clause implies IDs of private posts will not resolve. It adds no format, range, or expected-ID-source detail, so the agent still learns little beyond the schema's 'integer, minimum 1'.

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 ('Get one ... post') plus its scope ('published, publicly discoverable'), which is enough to separate it from posts.list and posts.search without opening any schema. The 'by ID' phrase pins the lookup mode as single-record retrieval.

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 only implied: an agent can infer this is the tool for a known ID, but the description never says when to prefer posts.search over this, nor what to do when the ID is unknown. The 'private posts behave as not found' clause does give actionable guidance against treating a failure as an auth problem or retrying, which lifts it above a bare 2.

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