Skip to main content
Glama

user_posts

Retrieve an account's posts newest first with captions and counts, and page through older posts using the after cursor from a previous result.

Instructions

The latest posts of an account, newest first, with captions and counts.

Pass the after cursor of a previous result to read older posts. Carousels list only their cover here; post_info shows every picture. Keep limits low.

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": {
      "user": "<user>"
    },
    "name": "user_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYes
afterNo
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does reasonably well: it discloses result ordering (newest first), the fields returned (captions and counts), cursor-based pagination direction, a truncation caveat for carousels, and a throttling hint ('keep limits low'). It omits auth/permission requirements, behavior on private or missing accounts, and what an empty result looks like, which keeps it short of a 5.

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?

Three short sentences with no filler; the core purpose and ordering come first, then pagination, then the sibling caveat and the limit hint. Every sentence adds a distinct, actionable fact.

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

Completeness3/5

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

There are no annotations and no output schema, and all three parameters lack schema descriptions, so the description is the only documentation. It covers pagination and the carousel caveat well but leaves the required `user` identifier format and the shape of returned 'counts' undefined, which is a meaningful gap for a 3-parameter tool with zero schema coverage.

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%, so the description must compensate and only partly does: `after` is explained as a cursor from a previous result, and `limit` is implied to be a page size that should be kept small. The required `user` parameter is never clarified — whether it takes a username, handle, or numeric ID is left entirely ambiguous, which is the most consequential gap for correct invocation.

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?

The first sentence names the resource (an account's posts), the ordering (newest first), and the payload (captions and counts), and a later sentence explicitly distinguishes it from post_info by noting carousels show only their cover here. An agent can tell what this returns and how it differs from the sibling without opening a schema.

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 gives concrete operating guidance: pass the `after` cursor from a previous result to page backwards, and use post_info when every carousel image is needed. It also advises keeping limits low, implying a rate/cost concern. There is no explicit statement of when not to use it (e.g., private accounts, non-existent users), but the routing to post_info covers the main ambiguity.

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