Skip to main content
Glama

Get Translation Available Languages

get_translation_available_languages
Read-onlyIdempotent

Lists the languages with available translations for a specified surah and ayah, so you can choose a suitable translation before retrieving it.

Instructions

List the languages that have translations available for a specific ayah.

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": {
      "surah_id": "<surah_id>",
      "ayah_number": "<ayah_number>"
    },
    "name": "get_translation_available_languages"
  }
}

Input Schema

NameRequiredDescriptionDefault
surah_idYes
ayah_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description only adds the constraint that results are scoped to one ayah; it says nothing about ordering, completeness, pagination, or what a 'language' entry actually is (code vs. name).

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 front-loaded sentence with no filler or repetition. It is efficient, though its brevity comes at the cost of the parameter and return-value detail noted elsewhere.

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?

With no output schema and 0% schema description coverage, the description should explain at minimum what is returned (language identifiers or display names) and how to interpret the two numeric keys. For an ayah-scoped lookup tool, those gaps leave an agent guessing about the result format.

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 burden for both parameters, yet it only gestures at 'a specific ayah' without explaining that surah_id (1-114) and ayah_number (1-286) are required. The valid ranges and the surah/ayah relationship are left entirely to the raw schema constraints.

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 uses a specific verb ('List') on a specific resource ('languages that have translations available') scoped to 'a specific ayah', so an agent can tell it apart from get_translation, which returns translation text. It stops short of naming a sibling or clarifying how it differs from the *_books / *_by_book lookups.

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?

Usage is only implied: the phrasing suggests this is a discovery step to run before requesting an actual translation for an ayah. There is no explicit when-to-use, no when-not-to-use, and no mention of an alternative sibling such as get_translation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.