Skip to main content
Glama
googlarz

Vinted MCP and CLI Server

get_seller_feedback

Fetch paginated buyer and seller feedback for a Vinted user to assess seller trustworthiness and reliability before making a purchase.

Instructions

Fetch paginated buyer and seller feedback reviews for a Vinted user. Each entry includes the review text, star rating (1–5), feedback type (1=negative, 2=neutral, 3=positive), reviewer username, timestamp, and the associated item ID. Use this to assess seller trustworthiness and reliability before making a purchase.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sellerIdYesNumeric Vinted user ID (visible in profile URLs: vinted.fr/member/12345-username)
countryNoCountry site where the seller is registeredfr
limitNoReviews per page, 1–100
pageNoPage number starting at 1

Implementation Reference

  • src/mcp.ts:146-158 (registration)
    Tool 'get_seller_feedback' is registered as an MCP tool with its name, description, and input schema (sellerId, country, limit, page).
      name: 'get_seller_feedback',
      description: 'Fetch paginated buyer and seller feedback reviews for a Vinted user. Each entry includes the review text, star rating (1–5), feedback type (1=negative, 2=neutral, 3=positive), reviewer username, timestamp, and the associated item ID. Use this to assess seller trustworthiness and reliability before making a purchase.',
      inputSchema: {
        type: 'object',
        properties: {
          sellerId: { type: 'integer', description: 'Numeric Vinted user ID (visible in profile URLs: vinted.fr/member/12345-username)' },
          country: { type: 'string', enum: COUNTRIES, default: 'fr', description: 'Country site where the seller is registered' },
          limit: { type: 'integer', default: 20, description: 'Reviews per page, 1–100' },
          page: { type: 'integer', default: 1, description: 'Page number starting at 1' },
        },
        required: ['sellerId'],
      },
    },
  • The MCP request dispatcher case for 'get_seller_feedback' calls opGetSellerFeedback.
    case 'get_seller_feedback': result = await opGetSellerFeedback(c, a as any); break;
  • The opGetSellerFeedback function is the ops-layer handler that delegates to the underlying API endpoint function getSellerFeedback.
    import { VintedClient } from '../client/session.js';
    import { getSellerFeedback } from '../client/endpoints.js';
    import type { Country } from '../client/types.js';
    import type { FeedbackResult } from '../client/endpoints.js';
    
    export async function opGetSellerFeedback(
      client: VintedClient,
      args: { sellerId: number; country?: Country; limit?: number; page?: number },
    ): Promise<FeedbackResult> {
      return getSellerFeedback(client, args.sellerId, args.country ?? 'fr', args.limit ?? 20, args.page ?? 1);
    }
  • FeedbackEntry interface defines structure of each feedback entry (id, createdAt, feedback, rating, feedbackRate, itemId, fromUsername, fromUserId, isSystem).
    export interface FeedbackEntry {
      id: number;
      createdAt: string;
      feedback: string;
      rating: number;          // 1–5 stars
      feedbackRate: number;    // 1=negative 2=neutral 3=positive
      itemId: number | null;
      fromUsername: string;
      fromUserId: number;
      isSystem: boolean;
    }
  • getSellerFeedback function makes the actual API call to /api/v2/feedbacks, maps the response into FeedbackEntry objects, and returns a FeedbackResult with pagination info.
    export interface FeedbackResult {
      totalCount: number;
      page: number;
      totalPages: number;
      entries: FeedbackEntry[];
    }
    
    export async function getSellerFeedback(
      client: VintedClient,
      userId: number,
      country: Country = 'fr',
      perPage = 20,
      page = 1,
    ): Promise<FeedbackResult> {
      const qs = new URLSearchParams({
        user_id: String(userId),
        per_page: String(Math.min(perPage, 100)),
        page: String(page),
      });
      const data = await client.apiGet<{
        user_feedbacks?: any[];
        pagination?: { total_entries?: number; total_pages?: number; current_page?: number };
      }>(country, `/api/v2/feedbacks?${qs.toString()}`);
    
      const entries: FeedbackEntry[] = (data.user_feedbacks ?? []).map((f) => ({
        id: Number(f.id),
        createdAt: String(f.created_at_ts ?? f.created_at ?? ''),
        feedback: String(f.feedback ?? ''),
        rating: Number(f.rating ?? 0),
        feedbackRate: Number(f.feedback_rate ?? 0),
        itemId: f.item_id != null ? Number(f.item_id) : null,
        fromUsername: String(f.user?.login ?? f.comment?.user?.login ?? ''),
        fromUserId: Number(f.feedback_user_id ?? 0),
        isSystem: Boolean(f.system_feedback),
      }));
    
      return {
        totalCount: data.pagination?.total_entries ?? entries.length,
        page: data.pagination?.current_page ?? page,
        totalPages: data.pagination?.total_pages ?? 1,
        entries,
      };
    }
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It mentions 'paginated' and describes the output fields, but it does not disclose error handling, rate limits, or authentication requirements. This is adequate but not thorough.

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: first defines the tool's action and output, second provides the use case. It is front-loaded and every sentence is informative with no fluff.

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?

Given there is no output schema, the description adequately lists the return fields. It is fairly complete for a list tool, though it could mention pagination limits or ordering. Sibling tools are distinct enough.

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 does not add additional parameter meaning beyond what the schema already provides; it focuses on output fields. No extra value for parameters.

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 'Fetch paginated buyer and seller feedback reviews for a Vinted user' with a specific verb and resource. It lists the fields included, making the output clear. It distinguishes itself from siblings like get_seller and get_seller_items by focusing on feedback.

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 a concrete use case: 'Use this to assess seller trustworthiness and reliability before making a purchase.' It does not explicitly mention when to avoid using it or alternative tools, but the context is clear enough for an AI agent.

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