Skip to main content
Glama

vrchat_search_groups

Find VRChat groups by name or short code to discover communities, manage memberships, and connect with users in the virtual world.

Instructions

Search VRChat groups by name or shortCode

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesQuery to search for, can be either Group Name or Group shortCode
offsetNoA zero-based offset from the default object sorting
nNoThe number of objects to return

Implementation Reference

  • Full registration of the 'vrchat_search_groups' tool, including input schema and handler function.
    'vrchat_search_groups', 'Search VRChat groups by name or shortCode', { query: z.string().describe('Query to search for, can be either Group Name or Group shortCode'), offset: z.number().min(0).optional().describe('A zero-based offset from the default object sorting'), n: z.number().min(1).max(100).optional().describe('The number of objects to return') }, async (args) => { try { await vrchatClient.auth() const response = await vrchatClient.groupsApi.searchGroups( args.query, args.offset, args.n ) return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }] } } catch (error) { return { content: [{ type: 'text', text: 'Failed to search groups: ' + error }] } } } )
  • The handler function that authenticates the VRChat client and performs the group search using the groupsApi.searchGroups method, returning the JSON response or error.
    async (args) => { try { await vrchatClient.auth() const response = await vrchatClient.groupsApi.searchGroups( args.query, args.offset, args.n ) return { content: [{ type: 'text', text: JSON.stringify(response.data, null, 2) }] } } catch (error) { return { content: [{ type: 'text', text: 'Failed to search groups: ' + error }] } } }
  • Zod schema defining the input parameters for the tool: query (required string), offset (optional number), n (optional number between 1-100).
    { query: z.string().describe('Query to search for, can be either Group Name or Group shortCode'), offset: z.number().min(0).optional().describe('A zero-based offset from the default object sorting'), n: z.number().min(1).max(100).optional().describe('The number of objects to return') },

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/sawa-zen/vrchat-mcp'

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