Skip to main content
Glama

Fulfillbot: China Sourcing & Dropshipping

Map your SKU to one of your products

create_sku_mapping

Map your SKU to one of your products. Adds your SKU to a product in My products, like adding a SKU on the portal's My products page. Orders that need attention because of this SKU are matched again right away. A product that isn't in My products returns 422 library_not_in_library. Needs the catalog:write permission.

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": {
      "customerSku": "<customerSku>",
      "productId": "<productId>"
    },
    "name": "create_sku_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
moveNoYour SKU is already mapped to another product: send true to move it to this product. Otherwise you get 409 library_sku_taken.
productIdYesOur product id from your product list (a product in My products)
customerSkuYesYour SKU, as it appears on your orders
idempotencyKeyNoMake up a new unique value for each new action; reuse the same value only when retrying the same action.

Output Schema

NameRequiredDescriptionDefault
dataYes
replayedNotrue when this is the saved result of an earlier call with the same idempotencyKey

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / productId / description
      Previous value: -"Our product id from the list_products tool (a product in My products)"New value: +"Our product id from your product list (a product in My products)"
    • changedOutput schema / properties / data / properties / moreOrders / description
      Previous value: -"More waiting orders use this SKU than we updated now; save them again with the update_order tool to match them"New value: +"More waiting orders use this SKU than we updated now; save them again with an order change to match them"
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly=false, destructive=false, idempotent=false, openWorld=false). The description adds meaningful behavior beyond that: matching of affected orders happens 'right away' as a side effect, a specific 422 library_not_in_library failure mode with its cause, and a required catalog:write permission scope. Those are exactly the mutation side effects and auth prerequisites an agent can't get from the annotations.

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?

Four short sentences, front-loaded with the action, then side effect, then failure mode, then permission. Nothing is redundant with the title, and each sentence supplies a distinct fact.

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?

Return values are covered by the output schema and error/permission behavior is covered in prose, so the definition is nearly complete for a 4-parameter mapping mutation. The one gap is reversibility: it never says whether a mapping can be removed or how to un-map a SKU, which matters for a tool whose siblings show no unmapping counterpart.

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 description coverage is 100%, so the baseline is 3 and the schema already documents all four parameters including the move/409 conflict semantics. The description still adds value by explaining the constraint behind productId ('A product that isn't in My products returns 422 library_not_in_library'), tying the parameter to a hard failure condition rather than just a label.

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?

The description names a specific verb ('Map') and resource ('your SKU to one of your products') and grounds it in a concrete analogy ('like adding a SKU on the portal's My products page'). An agent immediately knows this is a catalog-mapping write operation, clearly distinct from list_products / get_product siblings.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent can infer this is the tool for attaching a customer SKU to a known product, and the 422 condition ('A product that isn't in My products') plus the catalog:write requirement set a precondition. There is no explicit when-to-use/when-not-to-use guidance or named alternative (e.g., for moving an existing mapping), so it stops at implied.

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.