Skip to main content
Glama
googlarz

Vinted MCP and CLI Server

get_trending

Fetch the newest and trending items on Vinted for a specific country. Optionally filter by category to discover current popular items and new arrivals.

Instructions

Fetch the newest and trending items on Vinted for a given country, ordered by recency. Optionally scoped to a specific category. Useful for discovering what's currently popular, monitoring new arrivals, or finding deals as they are listed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryNoVinted country site to fetch trending items fromfr
categoryIdNoOptional category ID from get_categories to restrict results to a specific department
limitNoNumber of trending items to return, 1–96

Implementation Reference

  • The opTrending function that executes the 'get_trending' tool logic. It calls searchItems with query='', sortBy='newest_first', and returns the result.
    export async function opTrending(
      client: VintedClient,
      input: { country?: Country; categoryId?: number; limit?: number },
    ): Promise<TrendingResult> {
      const country = input.country ?? 'fr';
      const r = await searchItems(client, {
        query: '',
        country,
        categoryId: input.categoryId,
        perPage: Math.min(input.limit ?? 20, 100),
        sortBy: 'newest_first',
      });
      return { country, items: r.items };
    }
  • Input schema definition for the 'get_trending' tool: accepts country (enum), categoryId (integer), and limit (integer, 1-96).
    {
      name: 'get_trending',
      description: 'Fetch the newest and trending items on Vinted for a given country, ordered by recency. Optionally scoped to a specific category. Useful for discovering what\'s currently popular, monitoring new arrivals, or finding deals as they are listed.',
      inputSchema: {
        type: 'object',
        properties: {
          country: { type: 'string', enum: COUNTRIES, default: 'fr', description: 'Vinted country site to fetch trending items from' },
          categoryId: { type: 'integer', description: 'Optional category ID from get_categories to restrict results to a specific department' },
          limit: { type: 'integer', default: 20, description: 'Number of trending items to return, 1–96' },
        },
      },
    },
  • src/mcp.ts:224-224 (registration)
    Registration of 'get_trending' in the MCP tool handler switch statement, dispatching to opTrending.
    case 'get_trending': result = await opTrending(c, a as any); break;
  • TrendingResult interface: country and items array.
    export interface TrendingResult {
      country: Country;
      items: Item[];
    }
    
    export async function opTrending(
      client: VintedClient,
      input: { country?: Country; categoryId?: number; limit?: number },
    ): Promise<TrendingResult> {
      const country = input.country ?? 'fr';
      const r = await searchItems(client, {
        query: '',
        country,
        categoryId: input.categoryId,
        perPage: Math.min(input.limit ?? 20, 100),
        sortBy: 'newest_first',
      });
Behavior3/5

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

No annotations provided, so the description must disclose behavior. It correctly describes the fetch as read-only and ordered by recency, but lacks details on authentication, rate limits, or pagination. This is adequate but minimal.

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?

Two sentences with no wasted words. The first sentence states the core action and constraints; the second provides usage guidance. Efficient and well-structured.

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

Completeness4/5

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

The description covers the main purpose and usage scenarios. Missing details about pagination behavior or result format are minor; the limit parameter and ordering are mentioned. With no output schema, the description is reasonably complete for a simple list tool.

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 baseline is 3. The description adds that scope is optional and items are ordered by recency, but these are already implied by schema descriptions. No additional value beyond schema.

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

Purpose5/5

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

The description clearly states it fetches the newest and trending items on Vinted for a given country, ordered by recency, with optional category scoping. This distinguishes it from sibling tools like search_items (general search) and get_seller_items (specific seller's items).

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

Usage Guidelines4/5

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

The description provides clear usage context: useful for discovering popular items, monitoring new arrivals, or finding deals. While it doesn't explicitly state when not to use or name alternatives, the context is sufficient given sibling tool names.

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/googlarz/vinted-mcp-cli'

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