Skip to main content
Glama
sawa-zen

VRChat MCP Server

vrchat_list_favorite_groups

Retrieve a list of favorite VRChat groups owned by a user. Specify the number of groups, apply pagination with offset, or filter by owner ID to get targeted results.

Instructions

Returns a list of favorite groups owned by a user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoNumber of favorite groups to return (1-100). Default is 60.
offsetNoSkip this many favorite groups before beginning to return results.
ownerIdNoFilter by owner ID. If not provided, returns current user's favorite groups.

Implementation Reference

  • The async handler function that authenticates the VRChat client, calls getFavoriteGroups on favoritesApi with parameters n, offset, ownerId, and returns JSON-stringified data or an error message.
    async (params) => {
      try {
        await vrchatClient.auth()
        const favorites = await vrchatClient.favoritesApi.getFavoriteGroups(
          params.n,
          params.offset,
          params.ownerId,
        )
        return {
          content: [{
            type: 'text',
            text: JSON.stringify(favorites.data, null, 2)
          }]
        }
      } catch (error) {
        return {
          content: [{
            type: 'text',
            text: 'Failed to list favorite groups: ' + error
          }]
        }
      }
    }
  • Zod input schema for the tool parameters: n (optional number 1-100, default 60), offset (optional number >=0), ownerId (optional string).
    {
      n: z.number().min(1).max(100).optional().default(60)
        .describe('Number of favorite groups to return (1-100). Default is 60.'),
      offset: z.number().min(0).optional()
        .describe('Skip this many favorite groups before beginning to return results.'),
      ownerId: z.string().optional()
        .describe('Filter by owner ID. If not provided, returns current user\'s favorite groups.'),
    },
  • Tool registration via server.tool() call, including name, description, input schema, and handler function.
    server.tool(
      'vrchat_list_favorite_groups',
      'Returns a list of favorite groups owned by a user.',
      {
        n: z.number().min(1).max(100).optional().default(60)
          .describe('Number of favorite groups to return (1-100). Default is 60.'),
        offset: z.number().min(0).optional()
          .describe('Skip this many favorite groups before beginning to return results.'),
        ownerId: z.string().optional()
          .describe('Filter by owner ID. If not provided, returns current user\'s favorite groups.'),
      },
      async (params) => {
        try {
          await vrchatClient.auth()
          const favorites = await vrchatClient.favoritesApi.getFavoriteGroups(
            params.n,
            params.offset,
            params.ownerId,
          )
          return {
            content: [{
              type: 'text',
              text: JSON.stringify(favorites.data, null, 2)
            }]
          }
        } catch (error) {
          return {
            content: [{
              type: 'text',
              text: 'Failed to list favorite groups: ' + error
            }]
          }
        }
      }
    )
  • src/main.ts:35-35 (registration)
    Invocation of createFavoritesTools(server, vrchatClient) which registers the vrchat_list_favorite_groups tool among others.
    createFavoritesTools(server, vrchatClient)
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool returns a list, implying a read-only operation, but does not cover aspects like authentication requirements, rate limits, pagination behavior (beyond offset parameter), or error handling. This is a significant gap for a tool with parameters and no structured safety hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary details. It is front-loaded and wastes no words, making it easy for an agent to parse quickly and understand the core functionality.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 3 parameters with full schema coverage but no annotations or output schema, the description is minimally adequate. It covers the basic purpose but lacks details on behavioral traits, usage context, and return values, which are important for an agent to invoke it correctly in a broader context with sibling tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema fully documents the parameters (n, offset, ownerId). The description adds minimal value beyond the schema by mentioning filtering by owner ID, but it does not provide additional context like default behavior for missing ownerId or practical usage examples. Baseline score of 3 is appropriate as the schema handles most of the parameter documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Returns') and resource ('list of favorite groups owned by a user'), making the purpose understandable. However, it does not explicitly differentiate from sibling tools like 'vrchat_list_favorites' or 'vrchat_list_favorited_worlds', which might handle similar list operations but for different resource types, leaving some ambiguity in sibling distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance is provided on when to use this tool versus alternatives. The description mentions filtering by owner ID, but it does not specify scenarios for using this tool over other list or search tools in the sibling set, such as 'vrchat_list_favorites' or 'vrchat_search_groups', leaving the agent without clear usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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