Skip to main content
Glama

AstroWay Astrology API (full catalogue)

Translate (astro-aware)

astroway_content_localization_translate_astro
Read-onlyIdempotent

Translate one text into any of 21 languages with astrology-domain glossary pinning. Source defaults to English; pass source_lang to override. Credits: 15 + ceil(chars/40). Max 3000 chars.

[Group: Content Localization] [Endpoint: POST /v1/translate/astro] [Required: text, target_lang] [Cost: 16 credits (Tier 1)]

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": {
      "text": "<text>",
      "target_lang": "<target_lang>"
    },
    "name": "astroway_content_localization_translate_astro"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
domainNo
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
precisionNoRound numbers to this many decimals.
source_langNo
target_langYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / fields / description
      Previous value: -"Compact mode: comma-separated dotted paths to keep, relative to `data`, e.g. \"planets.name,planets.longitude,houses.cusp\". Omit for the whole response."New value: +"Comma-separated paths inside `data` to keep, e.g. \"planets.name,houses.cusp\"."
    • changedInput schema / properties / precision / description
      Previous value: -"Compact mode: round fractional numbers to this many decimals. Longitudes carry 14 by default; 2 is finer than any chart is drawn."New value: +"Round numbers to this many decimals."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "properties": {
      -    "chars": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "credits": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "domain": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "provider": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "source_lang": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "target_lang": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "translated": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed14 schema fields changed
    • removedOutput schema / properties / chars / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / chars / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / credits / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / credits / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / domain / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / domain / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / provider / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / provider / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / source_lang / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / source_lang / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / target_lang / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / target_lang / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / translated / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / translated / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds the credit formula and 3000-char ceiling, which is real value, but the two cost statements conflict ("15 + ceil(chars/40)" vs "16 credits (Tier 1)") and nothing is said about what comes back or how glossary pinning actually behaves.

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?

The prose is tight and front-loaded, leading with what it does and the language scope. The bracketed metadata block partly repeats itself (char limit and cost appear in both the prose and the footer, with mismatched credit figures).

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, so the description should indicate the return shape (translated string? per-field results?) but does not. Six parameters at 33% coverage also leave precision and fields unexplained, making it only minimally sufficient for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 33% schema coverage, the description meaningfully compensates: it explains source_lang's default and override behavior and characterizes domain as glossary pinning. It still says nothing about precision, fields, or the domain enum values, so gaps remain.

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 and resource ("Translate one text") plus language breadth (21 languages) and the astrology-glossary specialization that separates it from a generic translator. The phrase "one text" implicitly scopes it against the batch sibling, though it never names translate_batch explicitly.

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?

Gives one concrete usage fact (source defaults to English, pass source_lang to override) but offers no when-to-use vs the batch or glossary-language siblings, and no exclusions or preconditions. Usage must be inferred from the word "one".

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