Skip to main content
Glama

translate_batch

Read-only

$0.01 via x402: Translate up to 20 strings (each up to 1,000 characters) in one call: POST JSON {texts: [...], from, to}; returns the translations in order. Pay 0.01 USDC through https://store.agentexchange.work/gw/translate/batch Via the Agent Exchange store gateway; settled by Coinbase.

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

Input Schema

NameRequiredDescriptionDefault
x_paymentNoSigned x402 payment payload (optional; without it the answer is the price)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial context beyond that: a $0.01 USDC x402 charge, the gateway endpoint, settlement via Coinbase, hard input limits, and ordered output. What it omits is failure behavior (insufficient payment, over-limit batches, error responses) and whether languages must be ISO codes, which keeps it below 5.

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?

Price and capability are front-loaded before the request body and payment routing details, so the most decision-relevant facts come first. The trailing gateway/settler clause is somewhat promotional and could be trimmed, but no sentence is purely redundant.

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?

For a single-parameter, no-output-schema tool, the description covers cost, limits, request body, and ordering of results. Remaining gaps are language-code format and error/refund behavior on a paid call, which an agent would want before spending 0.01 USDC.

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?

The input schema only declares x_payment at 100% coverage, yet the description describes a POST body with texts, from, and to that the schema does not model at all. That composition detail is genuinely useful and maps the real request shape, but it is not presented as parameter guidance for anything the agent can see in the schema, so credit is limited and the mismatch creates ambiguity about how to supply those values.

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?

The description opens with a specific verb and resource ('Translate up to 20 strings ... in one call') and quantifies scope (20 strings, 1,000 characters each) plus the return shape ('returns the translations in order'). It never names or contrasts with the sibling translate_text, so an agent must infer that batch-vs-single is the dividing line, which keeps it at 4 rather than 5.

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?

Batch size and per-string limits imply when this tool is appropriate, and the price/payment detail signals it is a paid call, but there is no explicit when-to-use or when-not-to-use statement and no named alternative for single-string translation. Usage is inferable rather than stated.

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.