Skip to main content
Glama
sawa-zen

VRChat MCP Server

vrchat_list_favorited_worlds

Retrieve and filter your favorited VRChat worlds by popularity, date, or other criteria to quickly find preferred virtual environments.

Instructions

List favorited worlds by query filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
featuredNoFilters on featured results
sortNoThe sort order of the results
nNoThe number of objects to return, min 1, max 100
orderNoSort results in ascending or descending order

Implementation Reference

  • Handler function that authenticates the VRChat client and retrieves the list of favorited worlds based on the provided query parameters, returning the JSON data or an error message.
      async (params) => {
        try {
          await vrchatClient.auth()
          const worlds = await vrchatClient.worldsApi.getFavoritedWorlds(
            params.featured,
            params.sort,
            params.n,
            params.order,
          )
          return {
            content: [{
              type: 'text',
              text: JSON.stringify(worlds.data, null, 2)
            }]
          }
        } catch (error) {
          return {
            content: [{
              type: 'text',
              text: 'Failed to get favorited worlds: ' + error
            }]
          }
        }
      }
    )
  • Zod schema defining the optional input parameters for filtering and sorting favorited worlds: featured, sort, n, order.
    {
      featured: z.boolean().optional().describe('Filters on featured results'),
      sort: z.enum(['popularity', 'heat', 'trust', 'shuffle', 'random', 'favorites', 'reportScore', 'reportCount', 'publicationDate', 'labsPublicationDate', 'created', '_created_at', 'updated', '_updated_at', 'order', 'relevance', 'magic', 'name']).optional().describe('The sort order of the results'),
      n: z.number().min(1).max(100).optional().describe('The number of objects to return, min 1, max 100'),
      order: z.enum(['ascending', 'descending']).optional().describe('Sort results in ascending or descending order'),
    },
  • Registration of the vrchat_list_favorited_worlds tool using server.tool, including name, description, input schema, and handler function.
      // Name
      'vrchat_list_favorited_worlds',
      // Description
      'List favorited worlds by query filters.',
      {
        featured: z.boolean().optional().describe('Filters on featured results'),
        sort: z.enum(['popularity', 'heat', 'trust', 'shuffle', 'random', 'favorites', 'reportScore', 'reportCount', 'publicationDate', 'labsPublicationDate', 'created', '_created_at', 'updated', '_updated_at', 'order', 'relevance', 'magic', 'name']).optional().describe('The sort order of the results'),
        n: z.number().min(1).max(100).optional().describe('The number of objects to return, min 1, max 100'),
        order: z.enum(['ascending', 'descending']).optional().describe('Sort results in ascending or descending order'),
      },
      async (params) => {
        try {
          await vrchatClient.auth()
          const worlds = await vrchatClient.worldsApi.getFavoritedWorlds(
            params.featured,
            params.sort,
            params.n,
            params.order,
          )
          return {
            content: [{
              type: 'text',
              text: JSON.stringify(worlds.data, null, 2)
            }]
          }
        } catch (error) {
          return {
            content: [{
              type: 'text',
              text: 'Failed to get favorited worlds: ' + error
            }]
          }
        }
      }
    )
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 lists favorited worlds with filters, but doesn't mention whether this is a read-only operation, if it requires authentication, potential rate limits, or what the output format looks like (e.g., pagination, error handling). This leaves significant gaps for an AI agent to understand how to invoke it safely and effectively.

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 front-loads the core purpose ('List favorited worlds') and adds a qualifier ('by query filters'). There is no wasted verbiage or redundancy, making it easy to parse quickly while conveying essential information.

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

Completeness2/5

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

For a tool with 4 parameters, no annotations, and no output schema, the description is insufficiently complete. It doesn't address behavioral aspects like authentication needs, rate limits, or output structure (e.g., list format, error cases). Given the complexity of filtering and sorting favorited worlds, more context is needed to guide effective usage beyond what the parameter schema provides.

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?

The input schema has 100% description coverage, providing clear documentation for all 4 parameters (featured, sort, n, order) with enums and constraints. The description adds minimal value beyond the schema by mentioning 'query filters' generically, but doesn't explain how these parameters interact or typical usage patterns (e.g., combining sort and order). Baseline 3 is appropriate when the schema does the heavy lifting.

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 action ('List') and resource ('favorited worlds') with a qualifier ('by query filters'), making the purpose immediately understandable. It distinguishes from siblings like 'vrchat_list_favorites' by specifying 'worlds' rather than general favorites, but doesn't explicitly contrast with 'vrchat_search_worlds' which might have overlapping functionality.

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?

The description provides no guidance on when to use this tool versus alternatives like 'vrchat_list_favorites' (which might list all favorites) or 'vrchat_search_worlds' (which might search worlds more broadly). It mentions 'query filters' but doesn't specify typical use cases or prerequisites for filtering favorited worlds.

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