Skip to main content
Glama

get_post_history

Read-only

Get the user's recent post history with per-platform success/failure tracking. Useful for checking what was posted and what failed. Each failed platform includes the raw error and a reason object (code, plain message, action, retryable) that says whether the fix is reconnecting the account, editing the post, or retrying. When the account has no active plan (payment failing or plan ended), the response carries accountHold: posts queued before it stay pending and do not publish until it is resolved, so a "pending" entry past its time means held, not stuck. get_scheduled_posts shows which posts are affected.

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_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of history entries to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/non-destructive, and the description adds substantial context above that bar: the shape of the `error`/`reason` object with code, message, action and retryable, plus the `accountHold` condition and the counterintuitive rule that a past-due "pending" entry is held rather than stuck. That last point prevents a real misdiagnosis an agent would otherwise make.

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?

Front-loads the core action, then layers failure semantics and the accountHold edge case in descending order of importance. Four sentences, none redundant, and the deferred-sibling pointer sits at the end where it belongs.

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?

No output schema exists, so the description must describe the return payload — and it does: per-platform entries, error/reason fields, and the accountHold flag. Combined with the trivial one-parameter schema, an agent has everything needed to call and interpret it.

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?

Only one optional parameter (`limit`) with 100% schema description coverage, so the schema fully carries its meaning and the description adds nothing about default, max, or pagination behavior. Baseline 3 is appropriate when the schema does the work.

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?

States a specific verb and resource ("Get the user's recent post history") plus the distinctive scope: per-platform success/failure tracking. It implicitly separates history from scheduling by deferring scheduled items to get_scheduled_posts, but never frames that as an explicit contrast, so the sibling differentiation is only partial.

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?

"Useful for checking what was posted and what failed" supplies a clear use case, and the closing sentence points at get_scheduled_posts for the adjacent question of which posts are held. No explicit when-not or full routing statement, so it stops short of a 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.