Skip to main content
Glama

Localize money, tax, dates and legal wording

localizer_render
Read-only

Localize money, tax, date, disclaimers and refund wording into an approved locale pack. (5 credits per successful call; a failed upstream call is not charged.)

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": "localizer_render"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoTarget locale, e.g. ja, en, ko.
surfaceNoWhere the copy appears, e.g. general, checkout, email.
documentNoDocument to localize. Example: {"title":"Pricing","price":{"amount_minor":2900,"currency":"USD"}}
message_keysNoMessage keys to render.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the billing disclosure ('5 credits per successful call; a failed upstream call is not charged') is genuine value beyond the structured fields, telling the agent the operation can fail upstream and how cost accrues. It still leaves error behavior and validation of locale/surface undocumented.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, purpose front-loaded, with the cost caveat placed second in a parenthetical. Nothing is redundant and nothing needs to be cut.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a nested document object and no output schema, the definition should at least characterize what a 'rendered locale pack' looks like or whether output is deterministic. It covers inputs and cost but leaves the return shape and failure modes to inference.

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 coverage is 100% and each of the four parameters carries its own description with examples, so the baseline is 3. The description's list of content categories hints at what 'document' may contain but adds no semantics for locale, surface, or message_keys beyond the schema.

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 concrete verb ('Localize') plus an enumerated resource set (money, tax, dates, disclaimers, refund wording) and the destination ('an approved locale pack'). It is far more specific than the title alone, though it does not relate itself to the sibling tools disclosure_inspect or pg_scan.

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

Usage Guidelines2/5

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

Nothing says when to choose this over another rendering path, nor what preconditions exist (e.g., how a locale becomes 'approved' or what happens for an unapproved locale). The only implied constraint is that targets must be approved locale packs.

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