Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MDN_CONTENT_ROOTNoAbsolute path to the mdn/content repository root. If set, MDN_TRANSLATED_CONTENT_ROOT must also be set.
MDN_TRANSLATED_CONTENT_ROOTNoAbsolute path to the mdn/translated-content repository root. If set, MDN_CONTENT_ROOT must also be set.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
mdn_trans_startA

Wiki 定義: content の files/en-us//<slug...>/index.md を、同じ階層の translated-content 側 files/ja//<slug...>/index.md にコピーするのみ(URL 側の /docs/ セグメントはファイルパスには現れない)。翻訳・_redirects・他ファイル編集は行わない。

mdn_trans_commit_getA

content リポジトリで該当原文の最新コミットを取得し、翻訳ファイルのフロントマターに l10n.sourceCommit を書き込みます。

mdn_trans_replace_glossaryA

指定した翻訳ファイル内の {{glossary("id")}} を、用語データに基づき {{glossary("id", "表示")}} に置換します。

mdn_trans_reviewA

.agents/skills 由来の機械チェック(表記・文体・l10n メタデータ・glossary マクロ等)を翻訳ファイルに対して実行します。サーバーは対象ファイルへ一切書き込みません(readOnlyHint)。エージェントはレビュー結果を理由に当該ファイルを編集・整形・追記してはならない。ユーザーが「修正して」等と明示した場合のみ編集してよい。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a distinct purpose: start copies files, commit_get updates metadata, replace_glossary edits glossary macros, and review runs checks. There is no overlap or ambiguity between them.

Naming Consistency4/5

All tools share the 'mdn_trans_' prefix and mostly use verb-like names (start, replace_glossary, review). However, 'commit_get' reverses the verb_noun order, making it inconsistent with the others.

Tool Count5/5

With only 4 tools, the server is well-scoped for the specific MDN translation workflow it supports. Each tool serves a necessary step without unnecessary bulk.

Completeness5/5

The tools cover the full intended workflow: starting a translation, syncing the source commit, replacing glossary terms, and running reviews. The server is deliberately limited to these helper actions, and no obvious gaps exist within that scope.

Maintenance

ActivityMaintained
ResponsivenessResponsive