Skip to main content
Glama

Get marketplace

get_marketplace
Read-only

Fetch one connected marketplace in detail: every adapter on it with its setup state, last poll, last poll error, last catalog-sync outcome (sync, whose lastSuccessAt is the last run without a connection error — it survives failures, so it says how long a channel has been broken) and last product import, a classified problem (kind, needsReconnect, platformMessage, whatToDo) when anything failed, partialFailure ({ failed, sent, sample, whatToDo }) when the last run connected fine but the marketplace refused some products (health stays active), and for google_merchant sync.failedSample (up to 5 refused products with Google's own message; the reason for those only, not every refused one), plus the channel sales, leads and product counts. For google_merchant each adapter also has moderation — what Google decided about the products the CRM sent, as the hourly check stored it (approved, pending, limited, rejected, missing, otherTarget, offChannel, topIssues, lastCheckedAt, complete, lastError; null before the first check; complete false means only part of the catalog was read) — and setup: setupBlock (what stands in the way: not_connected, no_account, no_country, no_terms, not_armed — owner setup, not an outage), armed, lastPreviewAt, feedLabel, currency, termsAccepted, productUrlTemplate and contentLanguageOverride. Reads stored state only, never calls the marketplace. Use list_marketplaces first to see which platforms are connected, list_channel_products for the products on the channel and check_channel_readiness for what would be refused.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "platform": "<platform>"
    },
    "name": "get_marketplace"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformYesThe marketplace slug returned by list_marketplaces (prom, rozetka, woocommerce, shopify, olx, amazon, ebay, google_merchant, vinted, etsy).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / platform / description
      Previous value: -"The marketplace slug returned by list_marketplaces (prom, rozetka, woocommerce, shopify, olx, amazon, ebay, google_merchant)."New value: +"The marketplace slug returned by list_marketplaces (prom, rozetka, woocommerce, shopify, olx, amazon, ebay, google_merchant, vinted, etsy)."
  2. Changed1 schema field changed
    • changedInput schema / properties / platform / description
      Previous value: -"The marketplace slug returned by list_marketplaces (prom, rozetka, olx, amazon, ebay, shopify, woocommerce)."New value: +"The marketplace slug returned by list_marketplaces (prom, rozetka, woocommerce, shopify, olx, amazon, ebay, google_merchant)."
  3. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, non-destructive, closed-world), and the description adds real operational context beyond them: 'Reads stored state only, never calls the marketplace,' the semantics of lastSuccessAt surviving failures, null-before-first-check for moderation, complete=false meaning a partial catalog read, and setupBlock being owner setup rather than an outage. These are exactly the interpretations an agent would otherwise get wrong.

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

Conciseness3/5

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

The dense field enumeration is front-loaded and every element is informative, but it is delivered as one enormous run-on sentence with nested parentheses, making it hard to scan. Restructuring into a short purpose sentence plus a compact field list would preserve content and improve readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the full burden of describing the return payload, and it does so thoroughly: adapters, problem classification, partialFailure, moderation fields, and platform-specific setup state, including edge cases like null and partial reads. An agent has enough to interpret the response without guessing.

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?

Schema coverage is 100% and the single platform parameter is documented in the schema, so the baseline is 3. The description earns an extra point by explaining how the response varies by platform — google_merchant gains moderation, setup, and sync.failedSample — which materially informs platform choice beyond the enum list.

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+resource+scope: 'Fetch one connected marketplace in detail.' It immediately distinguishes itself from list_marketplaces and enumerates exactly what the detail payload contains, so an agent knows this is the single-marketplace drill-down rather than the enumeration.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names the prerequisite ('Use list_marketplaces first to see which platforms are connected') and routes two adjacent needs to explicit alternatives: list_channel_products for products and check_channel_readiness for what would be refused. That covers when-to-use and when-to-use-something-else.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources