Skip to main content
Glama

buddypress_list_xprofile_groups

Retrieve BuddyPress extended profile field groups to organize and manage user profile sections, with optional field inclusion for comprehensive profile structure overview.

Instructions

List XProfile field groups

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fetch_fieldsNoInclude fields in response

Implementation Reference

  • Handler implementation that checks the tool name and performs a GET request to `/xprofile/groups` endpoint with optional `fetch_fields` query parameter.
    else if (name === 'buddypress_list_xprofile_groups') { const params = new URLSearchParams(); if (args.fetch_fields !== undefined) params.append('fetch_fields', String(args.fetch_fields)); result = await buddypressRequest(`/xprofile/groups?${params}`);
  • src/index.ts:293-302 (registration)
    Tool registration in the `tools` array used for tool discovery via ListTools request. Includes name, description, and input schema.
    { name: 'buddypress_list_xprofile_groups', description: 'List XProfile field groups', inputSchema: { type: 'object', properties: { fetch_fields: { type: 'boolean', description: 'Include fields in response' }, }, }, },
  • Input schema defining the optional `fetch_fields` boolean parameter for the tool.
    inputSchema: { type: 'object', properties: { fetch_fields: { type: 'boolean', description: 'Include fields in response' }, }, },

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/vapvarun/buddypress-mcp'

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