Skip to main content
Glama

Crear publicación

ml_crear_publicacion

Creates a real MercadoLibre Colombia listing, can clone an existing item and override title, price, or stock, and prompts for missing SKU cost before publishing.

Instructions

CREA una publicación real en la tienda. Con copiar_de clona una publicación existente (título, categoría, atributos, fotos, descripción) y permite pisar título/precio/stock — ideal para duplicar entre tus propias cuentas. Usar solo con confirmación explícita del usuario. COSTO POR SKU: si la publicación tiene SKU (parámetro sku, o el que trae copiar_de) y ese SKU ya tiene costo en el cerebro, la nueva publicación usa ese costo sola. Si no hay costo para ese SKU, la herramienta NO publica y pide el costo: preguntárselo al vendedor y volver a llamar con costo=… (o sin_costo=true si no lo quiere cargar).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ml_crear_publicacion"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuNoSKU del producto (se carga en la publicación). Las publicaciones con el mismo SKU comparten el costo
tipoNolisting_type_id, ej gold_special (Clásica)
costoNoCosto del producto (lo que te sale a vos). Solo si el SKU no tiene costo guardado o el vendedor lo quiere cambiar
stockNo
cuentaNouser_id de la cuenta de ML si hay varias conectadas (ver ml_cuentas)
precioNo
tituloNoTítulo (≤60 caracteres). Obligatorio si no hay copiar_de
imagenesNoURLs de fotos propias
categoriaNoID de categoría ML (obligatorio sin copiar_de)
condicionNo
copiar_deNoitem_id a clonar (ej MLA123...). Solo copiar fotos/textos si son propios
sin_costoNotrue = publicar sin cargar costo (el vendedor no lo quiere dar ahora)
descripcionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.30.0-tyl.1

TDQS

A4.5/5.0
Behavior5/5

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

With only readOnlyHint=false in annotations, the description carries the behavioral load and does so well: it discloses the COSTO POR SKU gating logic, the fact that the tool refuses to publish and returns a request for cost, and the retry contract ("volver a llamar con costo=…"). That non-obvious failure/retry behavior is exactly what an agent cannot infer from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The essential constraint (real creation, confirmation required) is front-loaded, followed by clone mode and the cost gate. Dense but every clause carries information; the parenthetical asides are slightly heavy but not wasteful.

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?

For a 13-parameter mutation tool with no output schema, it covers the critical decision paths (clone vs. build, cost gate, confirmation). It does not say what the call returns on success (e.g., the new item_id) or what `cuenta`/`tipo` defaults are when multiple accounts are connected.

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?

At 69% schema coverage the description meaningfully supplements it: it explains that SKU and cost are shared across publications, that `copiar_de` supplies título/categoría/atributos/fotos/descripción, and that título/precio/stock can override the clone. It leaves several params (stock, precio, tipo, condicion, imagenes) without added semantics, so not a 5.

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?

Opens with a specific verb and resource ("CREA una publicación real en la tienda") and immediately distinguishes two modes: creation from scratch vs. cloning via `copiar_de`. This separates it cleanly from siblings like ml_actualizar_publicacion, ml_publicacion, and ml_publicaciones without needing to open any schema.

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?

Explicitly states the confirmation requirement ("Usar solo con confirmación explícita del usuario") and the condition selecting clone mode ("ideal para duplicar entre tus propias cuentas"). It also routes between `costo` and `sin_costo`. It stops short of naming a sibling tool as the alternative for the non-create path, so it's not a full 5.

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