Skip to main content
Glama

get_user_search

Retrieve user search results by ID to access profile information, engagement metrics, and content analysis for social media analytics.

Instructions

Get results for a user search by ID. Returns profile info, metrics, and content analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUser search ID

Implementation Reference

  • The tool "get_user_search" is defined here using server.tool. It retrieves user search results from the API by ID and returns the JSON stringified response.
    server.tool(
      "get_user_search",
      "Get results for a user search by ID. Returns profile info, metrics, and content analysis.",
      {
        id: z.number().int().positive().describe("User search ID"),
      },
      async (params) => {
        try {
          const data = await apiGet(`/iq/user_search/${params.id}`);
          return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
        } catch (e) {
          return { content: [{ type: "text", text: String(e) }], isError: true };
        }
      }
    );

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/rolliinc/rolli-mcp'

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