Skip to main content
Glama

AgentX402: Pay-per-Call AI, Web Render, Search & DeFi Tools

translate_json_preserve_schema

Read-onlyIdempotent

Translate JSON/i18n values to any language while keeping all keys intact ($0.02 USDC or free trial).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "data": "<data>"
    },
    "name": "translate_json_preserve_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesJSON object to translate
toneNonatural, professional
target_languageNoSpanish

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety behavior is covered. The description adds genuinely new context beyond them: the guarantee that keys are preserved (only values change) and the price ($0.02 USDC or free trial), which matters for a paid/open-world call. It does not say what is returned or how nested structures and non-string values are handled.

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?

A single sentence, front-loaded with the action and the key-preservation guarantee, with pricing appended as a parenthetical. Nothing is redundant. The pricing aside arguably distracts from the core behavior statement but is short and useful.

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?

No output schema exists, and the input contains a nested free-form object, so the description should say more about the return shape and nested-value handling. Pricing and key preservation are covered, but for a paid open-world tool with a nested payload and two undocumented parameters, the definition is only adequate.

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 only 33% – 'data' is documented, but 'tone' and 'target_language' have no schema descriptions. The description partially compensates: 'any language' characterizes target_language and 'keeping all keys intact' characterizes how data is treated. It says nothing about tone semantics or accepted language formats (names vs BCP-47 codes), leaving a real gap.

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 ('Translate JSON/i18n values') plus two scoping constraints: any target language and keys kept intact. This is clearly distinguishable from the sibling extraction/audit/render tools, which do not overlap with translation. It falls short of 5 only because it does not explicitly contrast with any named alternative.

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?

Usage is implied by the resource ('JSON/i18n values') rather than stated: an agent can infer it applies to localizing structured JSON payloads. There is no explicit when-to-use, no when-not-to-use, and no named alternative, so the agent must infer selection from the resource alone.

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