Skip to main content
Glama

Shop layout options

shop_layout_options
Read-only

Before build_shop (HTML sites) or build_react_shop (React sites): show the owner how the shop can look, so they choose instead of every shop looking the same. Returns ready-made styles (presets) and, per part (product list, product details, cart, categories, phone menu bar), the options with what each looks like and what it suits, plus pictures (phone above desktop, numbered left to right) and a picker page link with the same pictures and names. Then STOP and ask the owner which style or options they want, separately for phones and desktop if they like.

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": {
      "site": "<site>"
    },
    "name": "shop_layout_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite slug (e.g. "kopitiam-muar") or id
picturesNoInclude the pictures as images in this result

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, closed-world behavior, so the safety profile is covered. The description goes beyond that by describing the shape of the return: presets, per-part option lists with what each looks like and suits, pictures ordered phone-above-desktop and numbered left to right, plus a picker page link. It does not mention size limits or volume of output, but the disclosure is solid for a read-only listing tool.

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?

The critical precondition is front-loaded in the first clause, and the workflow instruction lands last where it will be acted on. A few phrases ("so they choose instead of every shop looking the same") are motivational rather than operational, keeping it just short of maximally tight.

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 two-parameter read-only options tool with no output schema, the description covers the call trigger, the returned content structure, and the required next step, leaving nothing an agent would need to guess.

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 adds real meaning for the pictures flag by explaining what the pictures contain and how they are ordered/annotated. The site parameter is left entirely to the schema (slug or id), which is acceptable given full coverage.

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 states a specific action (show the owner how the shop can look), the resource (ready-made style presets plus per-part layout options for product list, product details, cart, categories, phone menu bar), and distinguishes itself from build_shop and build_react_shop by naming them as the tools it precedes.

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?

It gives explicit timing ("Before build_shop ... or build_react_shop"), an explicit follow-up action ("STOP and ask the owner which style or options they want"), and even the nuance of asking separately for phones and desktop. An agent knows exactly when to call this and what to do after.

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