Skip to main content
Glama

Machine-translate missing entries

verbaly_translate

Fill missing i18n translations as drafts for human review using the configured provider; list gaps without calling it via dryRun.

Instructions

Fill missing translations with the configured provider (default: Claude, needs @anthropic-ai/sdk and ANTHROPIC_API_KEY). New translations are saved as drafts awaiting human review (verbaly review), which no tool here can approve. A batch the provider never answers is reported in failed and leaves everything else written, so a retry only asks for what is left. dryRun lists what would be translated without calling the provider.

Input Schema

NameRequiredDescriptionDefault
rootNoProject root holding verbaly.config (defaults to the server working directory)
dryRunNoList missing entries per locale, call no provider
localesNoTarget locales (default: all)

Output Schema

NameRequiredDescriptionDefault
keptYesWritten on disk by someone else while the provider worked, so left as they were
dryRunYes
failedYesBatches the provider never answered, safe to retry
invalidYesRejected: params or tags were not preserved
pendingYesdryRun only: what would be translated
translatedYesSaved as drafts, a human still has to approve them

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the external dependency (@anthropic-ai/sdk + ANTHROPIC_API_KEY), that output lands as drafts needing human review, partial-failure semantics (unanswered batches appear in failed while other writes persist), and retry economy ('only asks for what is left'). These are exactly the traits an agent cannot infer from structured fields.

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?

Four sentences, each contributing distinct information, with purpose front-loaded and the dryRun caveat last. Dense but every sentence earns its place; minor cost is that the dependency and review caveats are packed into the opening sentence.

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?

An output schema exists, so return values need not be explained, yet the description still clarifies the `failed` field's meaning and the retry contract. Combined with dependency and draft-review disclosure, an agent has everything needed to call this correctly and interpret failure.

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 description coverage is 100%, so root, dryRun, and locales are already documented in the schema. The description restates dryRun's effect but adds no syntax, defaults, or format detail beyond it; the baseline of 3 is appropriate when the schema does the heavy lifting.

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 verb+resource ('Fill missing translations') and names the configured provider, making the action unambiguous. It does not explicitly distinguish itself from the closest siblings such as verbaly_missing or verbaly_write_drafts, so an agent must infer that this is the provider-calling variant.

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?

Clear context is given: use it to fill missing translations, and dryRun lists candidates without calling the provider, which effectively contrasts the two modes. The note that drafts go to `verbaly review` and 'no tool here can approve' them prevents a wrong tool choice. It stops short of naming sibling tools as alternatives for listing (e.g. verbaly_missing).

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