Skip to main content
Glama

Seller Labs Amazon MCP

cogs_upload

Bulk-update COGS (cost of goods sold) and related product fields for one venue, then recompute historic COGS transactions. This MUTATES seller data and is gated: the first call returns a summary of what will change and does nothing. The confirmation is a HUMAN checkpoint — present the returned summary and warnings to the seller and get their explicit approval before re-calling with confirmed=true. Never set confirmed=true without the seller's approval.

venueId is required. Provide rows, each with an msku plus the values to set. Rows whose msku does not exist in the venue are skipped (reported, never written).

The columns list declares which fields you are writing — ONLY listed columns are touched; any column you do not list is left completely untouched for every SKU (this prevents wiping data you did not intend to change). Allowed columns: "COGS", "LEAD TIME", "SL PRODUCT GROUP". If omitted, columns defaults to ["COGS"].

Clearing: for "LEAD TIME" and "SL PRODUCT GROUP", a listed column with a null/blank value in a row CLEARS that field for that SKU. So only list a column if you intend to write it for every row. "COGS" cannot be cleared — a null cost of goods is ignored (left unchanged).

When COGS is written, up to 3 years of historic COGS transaction amounts are recomputed for the affected SKUs. Aggregated profit reports that read pre-computed pivot data refresh on the next settlement import, so they may reflect the old COGS until then (same behavior as the web app's bulk upload page).

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": {
      "rows": "<rows>",
      "venueId": "<venueId>"
    },
    "name": "cogs_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesRows to update. Each row needs an msku plus the values for the columns being written.
columnsNoWhich columns to write: any of "COGS", "LEAD TIME", "SL PRODUCT GROUP". Columns not listed are left untouched. Defaults to ["COGS"].
venueIdYesVenue ID whose products are being updated (required).
confirmedNoSet to true to apply the changes. When false/omitted, the tool returns a summary of what would change and applies nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it declares the tool mutates seller data, that the first call is a no-op preview, that unknown mskus are skipped and reported, that unlisted columns are untouched, that LEAD TIME/SL PRODUCT GROUP can be cleared while COGS cannot, and that up to 3 years of historic transactions are recomputed with pivot reports stale until the next settlement import.

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?

Front-loaded with the purpose and the gating rule, then organized into short labeled blocks for rows, columns, clearing, and recompute. It is long but nearly every sentence carries a distinct rule; some clearing/default wording duplicates the schema descriptions and could be trimmed.

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?

For a destructive, unannotated, no-output-schema mutation tool this covers what an agent needs: prerequisite confirmation flow, required venueId, row semantics, skip behavior, column scoping, clearing hazards, and downstream side effects. Nothing material about correct invocation is left unstated.

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%, so the baseline is 3. The description nevertheless adds cross-parameter meaning the schema does not: the columns list interacts with each row's values such that listing a column writes it for every row and may clear fields, so only list columns you intend to write. That interaction rule exceeds the per-property schema text.

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: "Bulk-update COGS and related product fields for one venue, then recompute historic COGS transactions." It also implicitly contrasts with the single-purpose sibling cogs_download by emphasizing bulk write plus recompute, so an agent can distinguish read/download from write/bulk upload.

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?

Gives unusually explicit procedural guidance: the first call must be unconfirmed and only returns a preview, and re-calling with confirmed=true requires an explicit human checkpoint with the seller. It does not name a sibling alternative or say when not to use this tool, which keeps it from a 5.

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