Skip to main content
Glama
surgical-context-mcp

surgical-context-mcp

by erayerturk

check_translations

Validate i18n graphs to detect missing or unused translation keys, raw non-key strings, and placeholder %d mismatches across .json/.po locale files.

Instructions

Validate the i18n graph (tr(...), noticeT(...) vs .json/.po locales) for missing keys, raw non-key strings, placeholder %d mismatches, and unused keys.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_translations"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_pathNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the specific validation categories well, which is genuine behavioral detail, but it never states whether the tool is read-only or mutates locale files, nor what permissions or configuration it needs. The 'check'/'Validate' naming strongly implies a non-mutating audit, but that is left to inference.

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?

One dense sentence with the action and all four check categories front-loaded and no filler. The parenthetical is slightly heavy but each clause earns its place by naming a distinct validation category.

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?

An output schema exists, so return structure needn't be explained, and the description covers the validation semantics well for a one-parameter tool. The remaining gap is the unaddressed `project_path` argument and the unstated read-only nature, which are modest but real for a definition with no annotations.

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

Parameters2/5

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

Schema description coverage is 0% and the single `project_path` parameter is never mentioned in the description. An agent cannot tell from the text whether the path is optional, what it defaults to (the schema's null default suggests cwd or auto-detection), or whether it should point at a repo root or a specific locale directory.

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?

Uses a specific verb ('Validate') against a named resource (the i18n graph), then enumerates the exact checks: missing keys, raw non-key strings, placeholder `%d` mismatches, and unused keys. The `tr(...)`/`noticeT(...)` vs `.json`/`.po` framing makes the scope unmistakable and clearly distinct from any sibling tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The described checks imply when the tool is useful (auditing localization coverage), but there is no explicit when-to-use or when-not statement and no reference to an alternative. Nothing in the sibling list overlaps, so the risk of misrouting is low, but the guidance is inferred rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.