Skip to main content
Glama

shop_tool

Internet shop on the selected site (call select_site first). Categories, goods, images, variations, stock, basket, checkout, orders, currencies, balance, product comments. Not content_tool, modules_tool, or templates_tool. Proxies to /uapi/shop/* with a server-minted Bearer key. Image slots accept inline bytes (_base64 with _filename), a file already on the site (_site_path), or a local MCP server path (_path); remote agents must use *_base64, *_upload_id, or *_site_path because they cannot write to the MCP server host.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoGoods, category, comment, or basket line id.
artNoSKU / article.
cntNoBasket quantity.
delNo1 = delete category image.
idsNoComma-separated ids (invoice_*, stock_remove).
imgNoImage slot number.
nowNo1 = buy now.
optNoSelected options OPTION_ID-VALUE_ID:… for basket/order.
pidNoParent category id.
posNoCategory position.
urlNoCustom URL slug.
consNo
dateNoinvoices_list created period date1|date2.
dscrNoFull description; pass html_dscr=1 when HTML.
hideNoHide flag or invoices_list group.
modeNoSub-action mode (category, basket, checkout, variation_dict).
nameNoGoods or category name.
noteNo
pageNoList page (orders / goods).
pnumNoGoods list page.
prosNo
sortNoGoods list sort field.
tagsNo
typeNoGoods type: 0 material, 1 file, 2 e-code, 3 service.
unitNo
warrNo
brandNoBrand.
briefNoShort description.
cdateNoinvoices_list delivery period date1|date2.
clearNo1 = clear wishlist (get).
f_artNo
orderNoList asc/desc or order hash.
priceNoPrice (goods or variation_update).
soldsNo
stockNoStock count.
viewsNo
actionYesShop action. Destructive actions need confirm: true after user approval.
amountNoBalance amount.
cat_idNoGoods category id (add/update).
f_nameNoGoods name filter (plain; MCP encodes Base64).
f_warrNo
fieldsNoExtra form keys (checkout field_N, stock_*, var_*, cnt_REC_ID, …).
imagesNoFiles for img_add (remote upload). Each item is { filename, content_base64 }, { upload_id }, or { site_path }. Appended as file_add_N after the image_*/file_* slots.
methodNoUsually submit for add/update goods.
statusNoOrder status code.
undiscNo
valuesNovariation_dict values comma-separated (S,M,L).
weightNo
confirmNoRequired for destructive actions after user approval.
del_allNo1 = delete all images (img_del).
f_brandNo
f_priceNoPrice filter MIN|MAX|CUR.
f_stockNo
inv_sumNoinvoices_list sum1|sum2.
messageNoComment text.
opt_selNoOption set for stock_add (e.g. 2-3:4).
orderedNo
stock_qNo
user_idNoUser id filter or balance target.
cats_addNoExtra category ids [ID1, ID2, …].
entry_idNoGoods id for comments_add.
f_statusNo
f_weightNo
goods_idNoWishlist goods id (get).
price_inNoPurchase price.
rate_numNo
rate_sumNo
ch_addcatNo1 when cats_add is passed.
curr_codeNo
curr_rateNo
file_pathNoSynonym for image_path (local MCP server path).
html_dscrNo1 = dscr is HTML.
meta_dscrNo
parent_idNoSynonym for pid / category_list parent.
price_oldNoOld price.
add_groupsNo
global_catNo
image_pathNoLocal MCP server path for image upload. Missing files are an error; remote agents must use image_base64, image_upload_id, or image_site_path.
meta_titleNo
payment_idNo
promo_codeNo
delivery_idNo
file_base64NoSynonym for image_base64.
get_globalsNo1 = global categories in category_list.
image_pathsNoComma-separated local MCP server paths (img_add). Missing files are an error.
view_groupsNo
file_add_cntNo
image_base64NoBase64 image body with image_filename (remote upload). Wins over image_upload_id, image_site_path, and image_path.
file_filenameNoSynonym for image_filename.
group_courierNo
variation_crcNoVariation hash from variations_list.
file_site_pathNoSynonym for image_site_path.
file_upload_idNoSynonym for image_upload_id.
files_sequenceNoImage order after single img_del.
image_filenameNoFile name for image_base64, with extension.
image_site_pathNoFile already on the site (img/x.jpg or its full site URL). Wins over image_path.
image_upload_idNoupload_id from upload_direct. Wins over image_site_path and image_path.
image_site_pathsNoComma-separated site files for img_add (img/x.jpg or full site URLs).
image_upload_idsNoComma-separated upload_id values from upload_direct for img_add.
custom_delivery_taxNo
subscribe_to_repliesNo
exclude_from_discountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • addedInput schema / properties / file_base64
      Added value: +{
      +  "description": "Synonym for image_base64.",
      +  "type": "string"
      +}
    • addedInput schema / properties / file_filename
      Added value: +{
      +  "description": "Synonym for image_filename.",
      +  "type": "string"
      +}
    • changedInput schema / properties / file_path / description
      Previous value: -"Synonym for image_path."New value: +"Synonym for image_path (local MCP server path)."
    • addedInput schema / properties / file_site_path
      Added value: +{
      +  "description": "Synonym for image_site_path.",
      +  "type": "string"
      +}
    • addedInput schema / properties / file_upload_id
      Added value: +{
      +  "description": "Synonym for image_upload_id.",
      +  "type": "string"
      +}
    • addedInput schema / properties / image_base64
      Added value: +{
      +  "description": "Base64 image body with image_filename (remote upload). Wins over image_upload_id, image_site_path, and image_path.",
      +  "type": "string"
      +}
    • addedInput schema / properties / image_filename
      Added value: +{
      +  "description": "File name for image_base64, with extension.",
      +  "type": "string"
      +}
    • changedInput schema / properties / image_path / description
      Previous value: -"Server path for image upload."New value: +"Local MCP server path for image upload. Missing files are an error; remote agents must use image_base64, image_upload_id, or image_site_path."
    • changedInput schema / properties / image_paths / description
      Previous value: -"Comma-separated local paths (img_add)."New value: +"Comma-separated local MCP server paths (img_add). Missing files are an error."
    • addedInput schema / properties / image_site_path
      Added value: +{
      +  "description": "File already on the site (img/x.jpg or its full site URL). Wins over image_path.",
      +  "type": "string"
      +}
    • addedInput schema / properties / image_site_paths
      Added value: +{
      +  "description": "Comma-separated site files for img_add (img/x.jpg or full site URLs).",
      +  "type": "string"
      +}
    • addedInput schema / properties / image_upload_id
      Added value: +{
      +  "description": "upload_id from upload_direct. Wins over image_site_path and image_path.",
      +  "type": "string"
      +}
    • addedInput schema / properties / image_upload_ids
      Added value: +{
      +  "description": "Comma-separated upload_id values from upload_direct for img_add.",
      +  "type": "string"
      +}
    • addedInput schema / properties / images
      Added value: +{
      +  "description": "Files for img_add (remote upload). Each item is { filename, content_base64 }, { upload_id }, or { site_path }. Appended as file_add_N after the image_*/file_* slots.",
      +  "items": {
      +    "properties": {
      +      "content_base64": {
      +        "description": "Base64 file body.",
      +        "type": "string"
      +      },
      +      "filename": {
      +        "description": "File name with extension (content_base64 items).",
      +        "type": "string"
      +      },
      +      "site_path": {
      +        "description": "File already on the site (img/x.jpg or its full site URL).",
      +        "type": "string"
      +      },
      +      "upload_id": {
      +        "description": "upload_id from upload_direct.",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.