Skip to main content
Glama
ishan-parihar

facebook-lyr

Get User Posts

get_user_posts
Read-only

Retrieve recent posts from any Facebook user's or Page's timeline by providing a username. Specify the maximum number of posts to return, up to 100.

Instructions

Get recent posts from a user's or Page's timeline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYesUsername (e.g. 'natgeo')
max_postsNoMaximum posts to return (1-100, default 25)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds 'recent' and 'timeline' context, which is slightly more than the schema. However, it does not disclose any additional behavioral traits such as ordering, pagination, or potential failure modes for private accounts. With annotations present, this is acceptable but not highly informative.

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?

The description is a single sentence of ten words, with no redundant or unnecessary information. It is front-loaded with the action and resource, making it easy to parse quickly.

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?

The tool is simple (2 parameters), has a complete input schema, and an output schema exists. Annotations cover the read-only/open-world behavior. The description is minimal but sufficient for this simple list operation, though it could clarify the difference between 'user' and 'Page' timelines, especially given the sibling get_page_posts.

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 100%: both username and max_posts are fully described in the input schema. The tool description does not add any parameter-specific meaning beyond what the schema already provides, so the baseline of 3 is appropriate.

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 description uses a specific verb ('Get') and clearly identifies the resource ('recent posts') and scope ('from a user's or Page's timeline'). This distinguishes it from sibling tools like get_group_posts, though it overlaps slightly with get_page_posts. The mention of 'recent' adds a time qualifier that matches the max_posts parameter.

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?

The description provides no explicit guidance on when to use this tool versus alternatives like get_page_posts or search_posts. It does not mention exclusions, prerequisites, or alternative tool names. The only implied usage is that it retrieves recent timeline posts, which is not enough for effective tool selection among many similar read tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ishan-parihar/facebook-lyr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server