Skip to main content
Glama

Put the shop on the site

place_shop

Puts the shop on the site in one go, the same as "Put the shop on your site" on the Online shop in Xodia (the "What's next" step of add_feature online-shop). React sites: the shop kit (and the Products collection and the Content kit when missing), the cart button in the header's menu and the cart once in the layout, a /shop page with the products (in the menu; or productsPath, an existing page that gets the products added at its end), the product page for each product, and a /thanks page (noindex). Plain HTML sites: /shop with a card per product written from the products now (place it again after the products change), a cart button in each page's header, a /thanks page, and the site helper. pieces: any of products, product, cart, thanks (default all). Nothing the owner wrote is rewritten: a piece already there is kept, and a changed page or layout is left with a note saying what to place by hand. Then check with run_check (typecheck, links) and take_screenshot, and restyle the pieces in the site's look (skill shop).

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": {
      "projectId": "<projectId>"
    },
    "name": "place_shop"
  }
}

Input Schema

NameRequiredDescriptionDefault
piecesNo
projectIdYesProject id from list_projects
productsPathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnly=false, destructive=false, openWorld=false) by disclosing exactly which artifacts are created per site type, that the /thanks page is noindex, and the key non-destructive guarantee that owner-written content is never rewritten and changed pages receive a manual-placement note. It does slightly undercut the destructive=false hint by implying edits to layouts/menus, but it clarifies those edits are additive, so no contradiction. It does not state failure or partial-success behavior if a piece already exists mid-run, which keeps it at 4.

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?

Front-loaded with the core action, but the remainder is a single dense run-on paragraph mixing React behavior, HTML behavior, parameter defaults, safety caveats, and follow-up steps. Nearly all content is useful, yet the lack of any structure or separation forces the agent to parse a wall of text to find the param defaults and the post-steps.

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 mutation tool with no output schema, the description covers everything an agent needs: what gets created, per-site-type differences, idempotency/re-run rules, preservation of owner content, and the verification tools to call afterwards. Sibling tools for checking results are named, so no behavioral gap remains.

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 only 33%, and the description compensates: 'pieces: any of products, product, cart, thanks (default all)' documents the enum's semantics and default, and productsPath is explained as 'an existing page that gets the products added at its end'. Only the productsPath path-format constraint (the regex pattern) is left to the schema.

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?

States a specific verb and resource ('Puts the shop on the site in one go') and immediately anchors it to the equivalent UI action and to add_feature online-shop, so an agent can tell it apart from sibling scaffolding tools like create_page or create_products. It further splits behavior by site type (React vs Plain HTML), which makes the scope concrete.

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?

Explicitly places the tool in a workflow: it is the 'What's next' step after add_feature online-shop, must be re-run on HTML sites after the products change, and should be followed by run_check and take_screenshot. The 'pieces' selector is also framed as a way to run a subset, which is implicit when-to-use guidance for partial invocations.

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