Skip to main content
Glama

MySaaS Blog

Propose translation

post_translate
Read-onlyIdempotent

Use this when the user wants a faithful FR/EN translation of a post. It returns a proposal without saving it. An explicit request to translate and replace a named locale authorizes that edit; otherwise present the proposal for approval. Save existing posts with post_update, preserving their publication status.

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": {
      "sourceLocale": "<sourceLocale>",
      "targetLocale": "<targetLocale>"
    },
    "name": "post_translate"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
postIdNo
excerptNo
contentHtmlNo
sourceLocaleYes
targetLocaleYes

Output Schema

NameRequiredDescriptionDefault
translationYes
sourceLocaleYes
targetLocaleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, and the description reinforces this with "returns a proposal without saving it" while adding the non-obvious authorization nuance for locale replacement. It stops short of describing the proposal's shape or what happens on invalid locale pairs, but the safety profile is well covered.

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?

Four short sentences, front-loaded with the trigger condition and progressing to authorization and the save alternative. Every sentence carries information, though the post_update sentence could be trimmed slightly since it partly restates the no-save guarantee.

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?

With an output schema present, return values need no explanation, and the description covers trigger, safety, and the handoff to post_update. The remaining deficiency is parameter-level meaning, which is the one thing an agent cannot infer here.

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 coverage is 0%, so all six parameters rely on the description, which only indirectly implies postId and the FR/EN locales. It never explains the roles of title, excerpt, contentHtml (overrides vs. source content), or what happens when postId is omitted — a significant gap for a translation tool where those distinctions change behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("faithful FR/EN translation of a post") plus the crucial scope fact that it only returns a proposal. It also names the sibling that persists changes (post_update), so the agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Explicit trigger ("when the user wants a faithful FR/EN translation"), an explicit authorization rule (an explicit request to replace a named locale permits the edit, otherwise present for approval), and an explicit alternative for saving (post_update). When-to-use, when-to-ask, and what-to-use-instead are all present.

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