Skip to main content
Glama
googlarz

Vinted MCP and CLI Server

get_seller_items

List paginated items for sale by a specific seller, including title, price, brand, size, condition, and photo URL. Browse a seller's full catalogue after finding them.

Instructions

List all items currently for sale by a specific seller, paginated. Returns the same fields as search_items (title, price, brand, size, condition, photo URL, item URL). Useful for browsing a seller's full catalogue after finding them via search_items or get_seller.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sellerIdYesNumeric Vinted user ID
countryNoCountry site where the seller is registeredfr
limitNoItems per page, 1–100
pageNoPage number starting at 1

Implementation Reference

  • Tool schema definition: name, description, and inputSchema for 'get_seller_items'
      name: 'get_seller_items',
      description: 'List all items currently for sale by a specific seller, paginated. Returns the same fields as search_items (title, price, brand, size, condition, photo URL, item URL). Useful for browsing a seller\'s full catalogue after finding them via search_items or get_seller.',
      inputSchema: {
        type: 'object',
        properties: {
          sellerId: { type: 'integer', description: 'Numeric Vinted user ID' },
          country: { type: 'string', enum: COUNTRIES, default: 'fr', description: 'Country site where the seller is registered' },
          limit: { type: 'integer', default: 20, description: 'Items per page, 1–100' },
          page: { type: 'integer', default: 1, description: 'Page number starting at 1' },
        },
        required: ['sellerId'],
      },
    },
  • src/mcp.ts:14-14 (registration)
    Import of the opSellerItems handler function
    import { opSellerItems } from './ops/seller-items.js';
  • src/mcp.ts:222-222 (registration)
    Dispatcher case that routes 'get_seller_items' tool calls to opSellerItems handler
    case 'get_seller_items': result = await opSellerItems(c, a as any); break;
  • Handler (opSellerItems) that delegates to the endpoint function with defaults
    export async function opSellerItems(
      client: VintedClient,
      args: { sellerId: number; country?: Country; limit?: number; page?: number },
    ): Promise<SearchResult> {
      return getSellerItems(client, args.sellerId, args.country ?? 'fr', args.limit ?? 20, args.page ?? 1);
    }
  • Actual endpoint helper: calls Vinted API /api/v2/catalog/items with seller_id filter, maps response to SearchResult format
    export async function getSellerItems(
      client: VintedClient,
      sellerId: number,
      country: Country = 'fr',
      perPage = 20,
      page = 1,
    ): Promise<SearchResult> {
      const qs = new URLSearchParams();
      qs.set('seller_id', String(sellerId));
      qs.set('per_page', String(Math.min(perPage, 100)));
      qs.set('page', String(page));
      qs.set('order', 'newest_first');
      const data = await client.apiGet<{ items: any[]; pagination?: { total_entries?: number } }>(
        country,
        `/api/v2/catalog/items?${qs.toString()}`,
      );
      const items: Item[] = (data.items ?? []).map((i) => ({
        id: Number(i.id),
        title: String(i.title ?? ''),
        price: String(i.price?.amount ?? i.price ?? ''),
        currency: String(i.price?.currency_code ?? i.currency ?? ''),
        brand: i.brand_title ?? i.brand,
        size: i.size_title ?? i.size,
        condition: i.status,
        url: i.url ?? `https://${DOMAIN[country]}/items/${i.id}`,
        favouriteCount: i.favourite_count,
        photoUrl: i.photo?.url ?? i.photos?.[0]?.url,
        seller: { id: sellerId, username: String(i.user?.login ?? '') },
      }));
      return { totalCount: data.pagination?.total_entries ?? items.length, page, items };
    }
Behavior3/5

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

No annotations exist, so the description must cover behavioral traits. It mentions pagination and dynamic data ('currently for sale'), but lacks details on auth needs, rate limits, or nondestructive nature.

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 concise sentences with no wasted words, front-loaded with the primary purpose.

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?

With complete schema coverage and no output schema, the description sufficiently explains the tool's return structure (same as search_items) and pagination. Additional details about pagination behavior are not necessary given the schema.

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 coverage is 100%, and the description adds marginal value by noting the return fields match search_items. Parameters are adequately explained in the 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 the verb 'list' and resource 'items for sale by a specific seller', includes pagination, and distinguishes from siblings by specifying it returns the same fields as search_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?

Description explicitly mentions it is useful after finding a seller via search_items or get_seller, but does not provide explicit when-not-to-use or alternative scenarios.

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