Skip to main content
Glama

Get store preview link

get_store_preview_link
Idempotent

Geheimer Vorschau-Link für einen (noch nicht veröffentlichten) Shop – zum Prüfen/Weitergeben ohne Konto. Gilt für den aktuellen Design-Entwurf; gibt es keinen, wird einer unverändert vom Live-Stand angelegt (Inhaber/Admins). Der Link endet, wenn der Design-Entwurf veröffentlicht (publish_design) oder verworfen wird – dann erneut aufrufen. Veröffentlichte Shops: normale Adresse.

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": {
      "store_id": "<store_id>"
    },
    "name": "get_store_preview_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
store_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: if no design draft exists, one is silently created from the live state (accounting for readOnlyHint=false), the action is owner/admin-scoped, and the link expires on publish or discard. A 5 is withheld only because the response shape (field name/format of the returned link) is never described.

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 what the tool returns, then scope, side effect, and lifetime. No filler, and the most decision-relevant caveats come first.

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?

With one parameter, no output schema, and annotations that already flag idempotence and non-destructiveness, the description covers the essentials: what is returned, whose scope, the implicit draft creation, and link lifetime. Only the concrete return format and behavior for already-published shops are left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for the single store_id parameter, so the description must carry the load; it only implies that store_id identifies the shop. There is no statement about whether an ID versus a domain or name is expected.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific artifact (a secret preview link) for a specific resource state (a not-yet-published store) and its purpose (reviewing/sharing without an account). It also contrasts this with published stores that use the normal address, though it never names a sibling tool it might be confused with.

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 clear context for use (previewing/sharing without an account, unpublished shop, current design draft) and a re-invocation rule: if the link is dead after publish_design or a discard, call again. It stops short of explicitly naming the alternative tool to use for published shops.

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