Skip to main content
Glama

Translate section

translate_section

AI-translate a section's content into another language and save it as that language's variant on the same section.

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": {
      "section_id": "<section_id>",
      "target_language": "<target_language>"
    },
    "name": "translate_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
section_idYes
target_languageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false and openWorld=true. The description adds genuinely useful behavior beyond them: the translation is persisted as a language variant attached to the same section, implying a create/attach side effect rather than a return-only call. It still omits what happens when a variant for that language already exists (important given idempotentHint=false), whether the original is preserved, and any cost/approval gating for AI generation.

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 well-formed sentence that front-loads the action and follows with the outcome; nothing is wasted. It could carry one more short clause of operational detail without becoming bloated.

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

Completeness2/5

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

For a mutating, non-idempotent, open-world tool with no output schema and no parameter documentation, the description is thin. It does not state whether translated content is returned, how an existing variant is handled, or what a caller should expect on failure, so an agent cannot fully predict the effect of invocation.

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%, so the description carries the full burden, and it only loosely maps its wording onto the two parameters ('section's content' implies section_id, 'into another language' implies target_language). It gives no format guidance for target_language — whether a code like 'es' or a display name like 'Spanish' is expected — which is exactly the ambiguity a 0%-covered schema needs the description to resolve.

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?

Names a specific verb (AI-translate) and a specific resource scope (a section's content), plus the outcome (saved as a language variant on the same section). The section-vs-page scope implicitly separates it from the sibling translate_page, but the description never explicitly contrasts the two.

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?

There is no when-to-use / when-not-to-use guidance, no prerequisites, and no named alternative such as translate_page for page-level translation. Only a vague usage direction is inferable from the verb itself, which leaves the agent to guess at routing.

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