Skip to main content
Glama

Translate store content

translate_store_content

Shop-Inhalte automatisch in die Zweitsprache übersetzen (KI; Quelle = Standardsprache). Voraussetzung: update_store sprachen=["de","en"]. bereiche: produkte, kategorien (→ uebersetzungen.), seiten (→ eigene Seite je Sprache mit gleichem Slug, als Entwurf; veroeffentlichen=true sofort), startseite (→ Startseite der Sprache, aus dem Design-Entwurf bzw. live), menue (→ theme.navigationSprachen). Nur Texte werden übersetzt; HTML, Links, Bilder und Struktur bleiben. nur_fehlende=true (Vorgabe) lässt vorhandene Übersetzungen stehen. Vorgabe dry_run=true: zeigt, was übersetzt würde. Je Aufruf höchstens limit Einträge je Bereich (Vorgabe 10) – Antwort nennt offene Reste, dann erneut aufrufen. Übersetzungen danach prüfen (get_page/list_products) und bei Bedarf mit update_page/update_product (uebersetzungen) korrigieren. Nur Inhaber/Admins.

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>",
      "sprache": "<sprache>"
    },
    "name": "translate_store_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNomax. Einträge je Bereich und Aufruf, Vorgabe 10, max 50
dry_runNoVorgabe true (Probelauf)
spracheYes
bereicheNo
store_idYes
nur_fehlendeNo
veroeffentlichenNoübersetzte Seiten sofort veröffentlichen (Vorgabe false = Entwurf)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say it writes, is not idempotent, and is open-world. The description adds what actually matters: dry_run defaults to true (a safe preview), nur_fehlende defaults to true so existing translations survive, seiten become drafts unless veroeffentlichen=true, and only text is touched while HTML, links, images and structure are preserved. It also discloses the owner/admin permission gate.

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?

Front-loaded with purpose, then prerequisites, then per-area behavior, then defaults and follow-up loop — a logical order. It is dense to the point of being a single wall of clauses, but nearly every clause adds operational information rather than filler.

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 mutating, batch-limited tool with 7 parameters and no output schema, the definition covers the prerequisite, per-area side effects, destructive-scope limits (only text, drafts unless published), pagination behavior, and the post-call verification loop. An agent has everything needed to call it safely without opening another tool.

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 43%, so the description must carry the weight, and it largely does: it explains what each bereiche value maps to (uebersetzungen.<sprache>, per-language draft page, theme.navigationSprachen) and sets defaults for dry_run, nur_fehlende, veroeffentlichen and limit. It stops short of clarifying the sprache enum or the interaction of limit with the schema's max of 50.

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 — AI translation of shop content into the secondary language, with source defined as the default language. A reader can immediately distinguish it from update_store or update_product, and the scope (which content areas are covered) is enumerated.

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?

Gives the hard prerequisite (update_store sprachen=["de","en"]), the full workflow (translate → verify via get_page/list_products → correct via update_page/update_product), and the batching loop when the response reports remaining entries. Alternatives are named with their exact conditions.

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