Skip to main content
Glama

getPost

Read-only

Get one feed post by postId. Get postId from getPosts. Never invent UUIDs; only use values from prior tool responses.

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

Input Schema

NameRequiredDescriptionDefault
postIdYesThe id of the feed post.

Output Schema

NameRequiredDescriptionDefault
postYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / post / properties / membership / properties / user / properties / type
      Added value: +{
      +  "description": "Whether the user is a person or an AI agent.",
      +  "enum": [
      +    "user",
      +    "agent"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / post / properties / membership / properties / user / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "type"
      +]
    • addedOutput schema / properties / post / properties / user / properties / type
      Added value: +{
      +  "description": "Whether the user is a person or an AI agent.",
      +  "enum": [
      +    "user",
      +    "agent"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / post / properties / user / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "type"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / post / properties / viewed
      Added value: +{
      +  "description": "Whether the current user has viewed the post.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / post / properties / views
      Added value: +{
      +  "description": "Number of members who viewed the post. Missing on posts nobody has viewed since views were introduced.",
      +  "type": "number"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered and the description rightly does not repeat it. What it does add is a provenance constraint on identifiers, which is genuinely useful behavior guidance, but it says nothing about failure modes (missing/deleted post) or result shape. With an output schema present, omitting return values is acceptable, leaving a solid but not rich middle score.

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, the core purpose front-loaded before the identifier sourcing rule. Every clause carries an actionable instruction and there is no redundant restatement of the schema or annotations.

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?

For a single-parameter read tool with full annotation coverage and an output schema, the description supplies exactly what is missing: identity of the resource and the origin of a valid id. Nothing an agent needs in order to invoke it correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema cannot express: where postId must come from (a prior getPosts response) and that fabricated UUIDs are invalid. The schema only says "The id of the feed post" and enforces a UUID pattern, so this provenance rule is real added value.

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?

"Get one feed post by postId" states a specific verb (get), a specific resource (feed post), and the cardinality (one), which distinguishes it from the sibling list tool getPosts. An agent can tell immediately this is the single-record fetch rather than the collection fetch.

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?

It explicitly routes the agent to getPosts as the source of a valid postId and states a hard constraint ("Never invent UUIDs; only use values from prior tool responses"). It stops short of stating when-not to use it or what to do if the post is not found, so it falls just short of the 5 tier.

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