Localization Resource Integrity
Checks the structural integrity of translated resource dictionaries against a source dictionary y...
我該用這個嗎
品質與安全性
發現項目(4)
- HIGH
- MEDIUM在 localization_resource_integrity 中
- LOW在 localization_resource_integrity 中
- INFO在 localization_resource_integrity 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"localization-resource-integrity": {
"url": "https://mcp-factory.bowling-anthony.workers.dev/localization-resource-integrity/mcp"
}
}
}遠端端點
https://mcp-factory.bowling-anthony.workers.dev/localization-resource-integrity/mcpstreamable-http它能做什麼
工具清單
工具(1)
🟢localization_resource_integrity(source_locale, source, translations, syntax, allow_empty)
Checks the structural integrity of translated resource dictionaries against a source dictionary you supply: missing keys, extra keys, disallowed empty strings, and exact placeholder integrity (name and, for printf_named, conversion type, matched by exact multiplicity, order-independent) under an explicitly declared placeholder syntax (double_brace `{{name}}` or printf_named `%(name)s`/`%(name)d`/`%(name)f`). Malformed placeholder syntax is reported as a per-key issue in a completed report, never silently dropped. Requests containing likely ICU MessageFormat plural/select constructs are refused outright rather than partially validated. Never translates anything and never estimates translation quality, tone, or correctness -- this is a structural integrity check only, scoped to exactly the resources you provide. Price: 0.03 USDC per completed bounded job on Base.
輸入結構描述
{
"type": "object",
"properties": {
"source_locale": {
"type": "string",
"minLength": 1,
"maxLength": 35
},
"source": {
"type": "object",
"additionalProperties": {
"type": "string",
"maxLength": 4096
},
"minProperties": 1,
"maxProperties": 500
},
"translations": {
"type": "object",
"minProperties": 1,
"maxProperties": 20,
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "string",
"maxLength": 4096
},
"maxProperties": 500
}
},
"syntax": {
"type": "string",
"enum": [
"double_brace",
"printf_named"
]
},
"allow_empty": {
"type": "boolean"
}
},
"required": [
"source_locale",
"source",
"translations",
"syntax"
],
"additionalProperties": false
}社群
證據