Skip to main content
Glama

Translate page

translate_page

AI-translate a page's title into another language and save it as that language's variant.

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": {
      "page_id": "<page_id>",
      "target_language": "<target_language>"
    },
    "name": "translate_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYes
target_languageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false, so the write/AI-call profile is stated. The description adds that the translated title is persisted as a 'language variant,' which is useful beyond the annotations, but it omits critical behavior: whether an existing variant's title is overwritten, whether the original language title is preserved, and whether the AI translation is reviewable or applied immediately.

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?

A single front-loaded sentence with the action and its persistence effect in order; nothing redundant or wasted.

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, AI-driven tool with no output schema and zero schema description coverage, the description should disclose the overwrite/preservation rules and the language-code format. It covers only what happens at the highest level, leaving the risky side-effect semantics unspecified.

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 must carry parameter meaning, but it adds only that page_id refers to a page and target_language is a language. It gives no format for target_language (ISO code vs. name) and no indication of which page_id namespace is expected. An agent is left to guess on both required parameters.

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?

Uses a specific verb+resource: 'AI-translate a page's title' plus the side effect 'save it as that language's variant.' It is clearly distinct from translate_section because it names the title specifically, though it never explicitly contrasts with sibling tools.

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?

No when-to-use or when-not-to-use guidance, and no alternative is named (e.g., translate_section for section bodies). An agent must infer the use case entirely from the purpose sentence. There is also no prerequisite context such as required permissions or whether the source page may be the same language.

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