Skip to main content
Glama
dedero1985

MercadoLibre MCP Server

by dedero1985

Delete Item

delete_item

Close an active MercadoLibre listing to stop sales; item can be relisted later.

Instructions

Close/finish a MercadoLibre listing. Sets status to 'closed'. Items can be relisted later.

Important: site_id must match the country whose authenticated profile actually OWNS this item, or the API will reject the write (403).

Usage examples:

  • "Remove listing MLA1234567890" → site_id="MLA"

  • "Finish my ad for MLU987654321" → site_id="MLU"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It reveals that the operation is a write that sets status to 'closed', that items can be relisted later, and that a mismatched site_id causes a 403 rejection. This gives the agent a solid safety and reversibility picture, though it does not enumerate every possible side effect.

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 compact and front-loaded: purpose, status effect, reversibility, critical caveat, and examples. Every sentence earns its place, and the important site_id warning is bolded for prominence.

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 is sufficient for an agent to invoke the tool correctly: it explains the operation, the state change, reversibility, the ownership requirement, and provides usage examples. Since an output schema exists, return-value details are not needed. Minor omissions like behavior for already-closed items do not significantly hurt completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The top-level schema description coverage is 0%, but the child schema already documents item_id, site_id, and account. The description adds significant value by explaining the critical ownership constraint for site_id and by giving real examples that map item ID prefixes to the correct site_id values.

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 action with a specific verb and resource: 'Close/finish a MercadoLibre listing.' It further clarifies the misleading tool name by noting the item is set to 'closed' and can be relisted later, distinguishing it from permanent deletion and from the sibling relist_item.

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 gives clear context for when to use the tool: to close or finish a listing. It also provides critical operational guidance about site_id matching the owning authenticated profile, with concrete examples mapping item ID prefixes to site IDs. However, it does not explicitly name alternative tools or state when not to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.