Skip to main content
Glama

fc_list_space_members

View and filter members in a FluentCommunity space by status to manage community participation and monitor user activity.

Instructions

List members of a specific space

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
space_idYesThe space ID to list members from
statusNoFilter by member status
limitNoNumber of members to return

Implementation Reference

  • Handler function for fc_list_space_members tool. Makes a GET request to the WordPress REST API endpoint fc-manager/v1/spaces/{space_id}/members with optional parameters for status and limit, returns JSON response or error.
    fc_list_space_members: async (args: any) => { try { const params: any = { per_page: args.limit || 50, }; if (args.status) params.status = args.status; const response = await makeWordPressRequest('GET', `fc-manager/v1/spaces/${args.space_id}/members`, params); return { toolResult: { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] } }; } catch (error: any) { return { toolResult: { isError: true, content: [{ type: 'text', text: `Error: ${error.message}` }] } }; } },
  • Zod input schema for fc_list_space_members tool defining parameters: space_id (required), status (optional enum), limit (optional number).
    const listSpaceMembersSchema = z.object({ space_id: z.number().describe('The space ID to list members from'), status: z.enum(['active', 'pending', 'banned']).optional().describe('Filter by member status'), limit: z.number().optional().default(50).describe('Number of members to return') });
  • Registration of fc_list_space_members tool in the fluentCommunityTools array, including name, description, and reference to the input schema.
    { name: 'fc_list_space_members', description: 'List members of a specific FluentCommunity space', inputSchema: { type: 'object', properties: listSpaceMembersSchema.shape } },

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/wplaunchify/fluent-community-mcp'

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