Skip to main content
Glama

Conectar cuenta de MercadoLibre

ml_conectar
Read-only

Connects a MercadoLibre account by returning an authorization URL, then completes the link when you provide the authorization code.

Instructions

Vincula una cuenta de MercadoLibre. Sin argumentos devuelve la URL para autorizar en el navegador; con code (el código que muestra la página al autorizar) completa la conexión. Requiere ML_APP_ID y ML_APP_SECRET configurados.

Input Schema

NameRequiredDescriptionDefault
codeNoCódigo que devolvió MercadoLibre al autorizar
sitioNoPaís: MCO (Colombia, default), MLA, MLB, MLM, MLC, etc.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.30.0-tyl.1

TDQS

A3.6/5.0
Behavior1/5

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

The description explicitly says the tool links an account and 'completa la conexión' — a credential/token write — while annotations declare readOnlyHint=true. That is a direct contradiction that could mislead an agent about side effects. Valuable context it does add (env-var prerequisites, browser-based flow) is overshadowed by the inconsistency.

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 short sentences: the two-mode behavior first, then the environment prerequisite. No filler, and the most decision-relevant information (no-arg vs. code) is front-loaded.

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 2-optional-parameter, no-output-schema tool it covers the essential flow and the return of the no-arg case (the URL). It leaves out the `sitio` option and what confirms a successful connection, small gaps given the low complexity.

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 both parameters are already documented in the schema; baseline 3 applies. The description adds flow-level meaning to `code` (it comes from the authorization page) but never mentions `sitio` at all, so it adds little beyond structured fields.

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?

States a specific verb+resource ('Vincula una cuenta de MercadoLibre') and immediately distinguishes its two operating modes (no-arg returns an auth URL; with `code` completes the link). An agent can tell it apart from siblings like ml_desconectar or ml_cuentas without opening the 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?

Clear conditional routing: call without arguments to obtain the browser authorization URL, call with `code` once the user has authorized. It also names the prerequisite (ML_APP_ID / ML_APP_SECRET must be configured). It does not name a sibling alternative to use instead when already connected, which keeps it short of a 5.

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