Skip to main content
Glama

bluesky_search_profiles

Search for user profiles on the BlueSky social network using queries to find specific accounts or discover new ones.

Instructions

Search for Bluesky profiles

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query string
limitNoMaximum number of results to return (default 25, max 100)
cursorNoPagination cursor for next page of results

Implementation Reference

  • Registration of the 'bluesky_search_profiles' tool within the list_tools function, including name, description, and input schema definition.
    types.Tool( name="bluesky_search_profiles", description="Search for Bluesky profiles", inputSchema={ "type": "object", "properties": { "query": { "type": "string", "description": "Search query string", }, "limit": { "type": "integer", "description": "Maximum number of results to return (default 25, max 100)", "default": 25, }, "cursor": { "type": "string", "description": "Pagination cursor for next page of results", }, }, "required": ["query"], }, ),
  • Input schema for the 'bluesky_search_profiles' tool, defining required 'query' parameter and optional 'limit' and 'cursor'.
    inputSchema={ "type": "object", "properties": { "query": { "type": "string", "description": "Search query string", }, "limit": { "type": "integer", "description": "Maximum number of results to return (default 25, max 100)", "default": 25, }, "cursor": { "type": "string", "description": "Pagination cursor for next page of results", }, }, "required": ["query"], },
  • Handler implementation for 'bluesky_search_profiles' tool within the call_tool function. Validates query, extracts parameters, calls the Bluesky search_actors API, and returns JSON response.
    elif name == "bluesky_search_profiles": query = arguments.get("query") if not query: return [types.TextContent(type="text", text="Missing required argument: query")] limit = arguments.get("limit", 25) cursor = arguments.get("cursor") response = await asyncio.to_thread( bluesky.client.app.bsky.actor.search_actors, {'term': query, 'limit': limit, 'cursor': cursor} )

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