Skip to main content
Glama

fc_get_space

Retrieve detailed information about a specific community space using its unique ID to access space configurations, settings, and content details.

Instructions

Get detailed information about a specific space

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
space_idYesThe ID of the space to retrieve

Implementation Reference

  • Handler function for fc_get_space tool. Makes a GET request to the WordPress REST API endpoint for the specific space and returns the JSON response.
    fc_get_space: async (args: any) => { try { const response = await makeWordPressRequest('GET', `fc-manager/v1/spaces/${args.space_id}`); 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_get_space tool, requiring space_id as a number.
    const getSpaceSchema = z.object({ space_id: z.number().describe('The ID of the space to retrieve') });
  • Tool registration entry in fluentCommunityTools array, defining name, description, and input schema.
    { name: 'fc_get_space', description: 'Get detailed information about a specific FluentCommunity space', inputSchema: { type: 'object', properties: getSpaceSchema.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