Skip to main content
Glama

bluesky_get_posts

Retrieve recent posts from a user on the BlueSky social network using official API integration.

Instructions

Get recent posts from a user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of posts to return (default 50, max 100)
cursorNoPagination cursor for next page of results

Implementation Reference

  • The handler logic for the 'bluesky_get_posts' tool. It retrieves recent posts from the authenticated user's feed using the Bluesky API's get_author_feed method, supporting limit and cursor parameters.
    elif name == "bluesky_get_posts": limit = arguments.get("limit", 50) cursor = arguments.get("cursor") response = await asyncio.to_thread( bluesky.client.app.bsky.feed.get_author_feed, {'actor': IDENTIFIER, 'limit': limit, 'cursor': cursor} )
  • Registration of the 'bluesky_get_posts' tool in the list_tools handler, including its description and input schema definition.
    types.Tool( name="bluesky_get_posts", description="Get recent posts from a user", inputSchema={ "type": "object", "properties": { "limit": { "type": "integer", "description": "Maximum number of posts to return (default 50, max 100)", "default": 50, }, "cursor": { "type": "string", "description": "Pagination cursor for next page of results", }, }, }, ),
  • Input schema for the 'bluesky_get_posts' tool, defining optional limit (default 50) and cursor parameters.
    inputSchema={ "type": "object", "properties": { "limit": { "type": "integer", "description": "Maximum number of posts to return (default 50, max 100)", "default": 50, }, "cursor": { "type": "string", "description": "Pagination cursor for next page of results", }, }, },

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/berlinbra/BlueSky-MCP'

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