Skip to main content
Glama
APIBridge MCP Server
by chandru20

get_post

Retrieve a post by ID for API testing and CRUD workflows, with optional query parameters and context loading or storage.

Instructions

Get a post by ID

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe ID of the resource to modify
fromContextNoLoad data from context using this key
queryParamsNoQuery parameters to include in the request
saveToContextNoSave the response to context with this key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about read-only semantics, not-found/error behavior, or what the context plumbing (fromContext/saveToContext) does at runtime. For a tool with non-standard context parameters and no annotation coverage, this is a significant gap.

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?

A single front-loaded sentence with no wasted words. Brevity here borders on under-specification, which is penalized elsewhere rather than in this dimension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four parameters including nested queryParams and two context-plumbing fields, no output schema, and no annotations, the definition should explain return behavior and context mechanics. Instead it offers one short clause, leaving an agent to infer how saveToContext affects subsequent calls.

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 coverage is 100%, so the baseline is 3. The phrase "by ID" usefully reinforces that `id` is a lookup key — which partially offsets the misleading schema text "The ID of the resource to modify" — but the description adds nothing about fromContext, saveToContext, or queryParams beyond what the schema already states.

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 gives a specific verb and resource ("Get a post") plus the lookup key ("by ID"), which is enough to separate it from create_post, delete_post, and list_posts by name alone. It stops short of explicitly contrasting itself with those siblings, but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says to prefer this over list_posts when the ID is unknown, and nothing states what happens if the ID does not exist. Usage is only implied by the tool name.

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