Skip to content

Ask Mercado Libre visits for one listing, cap Printify product pages at 50 - #1578

Merged
helpcodeai merged 2 commits into
mainfrom
fix/adapter-hints-1108
Nov 8, 2026
Merged

helpcodeai merged 2 commits into
mainfrom
fix/adapter-hints-1108

Conversation

@helpcodeai

Copy link
Copy Markdown
Contributor

Summary

Two catalog tool definitions told the model something the vendor no longer accepts. Found in the Cloud tool errors of 7-8 Nov 2026.

  • mercado_libre_get_item_visits said "one or more listings" and gave a comma-separated example. Mercado Libre now answers 400 "maximum amount of items to query is 1" (2 calls, 1 workspace).
  • printify_list_products said "1-50" in the text but had no bounds in the schema. Printify answered 400 "limit may not be greater than 50" (1 call).

Changes

  • br/mercado-libre.json: description and ids now say one listing id per call, with the vendor's wording.
  • intl/printify.json: limit gets minimum: 1, maximum: 50, so clients see the bound in the schema.

Description-only for Mercado Libre (auto-synced at boot); the Printify schema bound reaches installed connectors with "Apply update". Same on Cloud and self-hosted.

Type

  • Bug fix

Testing

  • Added/updated unit tests: no new test; the static adapter specs cover both files.

From the repository root and packages/backend:

  • node scripts/validate-adapters.mjs --warn: no warning for either adapter.
  • node scripts/regenerate-catalog.mjs: no diff in catalog.ts.
  • node scripts/adapter-count.mjs --check: OK (714 adapters, unchanged).
  • npx jest --maxWorkers=4 src/adapters/catalog src/adapters/intl/printify src/adapters/br/mercado-libre src/mcp-server/error-hints: 8 suites passed, 15,727 tests passed, 3 skipped (live tests).

Checklist

  • My code follows the existing code style
  • I have tested my changes locally
  • I have updated documentation (if applicable): not applicable
  • All existing tests pass: full suite in CI
  • This PR has a descriptive title

Related Issues

Found in the 2026-11-08 daily check (Cloud tool errors).

@helpcodeai
helpcodeai requested a review from D3nisty as a code owner November 8, 2026 08:23
@helpcodeai
helpcodeai enabled auto-merge (squash) November 8, 2026 08:44
@helpcodeai
helpcodeai merged commit 7dbfa6c into main Nov 8, 2026
14 of 15 checks passed
@helpcodeai
helpcodeai deleted the fix/adapter-hints-1108 branch November 8, 2026 08:56
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant