Skip to main content
Glama
lumile

MercadoLibre MCP Server

by lumile

seller_reputation

Retrieve seller reputation insights for MercadoLibre using the seller ID, enabling better decision-making for buyers and sellers.

Instructions

Obtiene la reputación de un vendedor

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sellerIdNoID del vendedor

Implementation Reference

  • Core implementation of the seller_reputation tool: fetches seller data (reputation) from MercadoLibre API endpoint /users/{sellerId}.
    async sellerReputation (sellerId: string) { const headers = await this.getHeaders() const response = await fetch(`${this.baseURL}users/${sellerId}`, { headers }) if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`) } const data = await response.json() return data }
  • Registers the seller_reputation tool in the listTools() method, including name, description, and input schema.
    { name: 'seller_reputation', description: 'Obtiene la reputación de un vendedor', inputSchema: { type: 'object', properties: { sellerId: { type: 'string', description: 'ID del vendedor' } } } },
  • Defines the input schema for seller_reputation tool: requires sellerId as string.
    inputSchema: { type: 'object', properties: { sellerId: { type: 'string', description: 'ID del vendedor' } } }
  • Helper in callTool method: handles tool invocation by calling apiService.sellerReputation and formatting the JSON response.
    case 'seller_reputation': { const { sellerId } = args as { sellerId: string } const reputation = await this.apiService.sellerReputation(sellerId) return { content: [{ type: 'text', text: JSON.stringify(reputation, null, 2) }] } }

Other Tools

Related 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/lumile/mercadolibre-mcp'

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