Skip to main content
Glama

Get languages

get_languages
Read-onlyIdempotent

Return languages detected for a product version on a platform (from languages.json, with path-prefix fallback). Each language lists its code, sources and urlCount; pass includeUrls=true for the full URL lists.

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": {
      "product": "<product>",
      "platform": "<platform>",
      "version": "<version>"
    },
    "name": "get_languages"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYesProduct key, for example finance-ozon-ru
versionYesExact capture version returned by list_versions. Pin the same version across related calls; do not use latest as an alias.
platformYesPlatform type ID from list_platforms.options.platforms[].id (backend CatalogPlatform.view). Use backend IDs verbatim; desktop/mobile are current examples. Environment is selected separately.
environmentNoEnvironment ID from the selected backend platform type in list_platforms.options.platforms[].environments[].id (backend implementation). Omit only when the version has one captured environment. Use captured pairs from list_platforms/list_versions for actual availability.
includeUrlsNoInclude every URL per language. Default false returns urlCount only; full lists can be megabytes on large sites.

Output Schema

NameRequiredDescriptionDefault
primaryYes
productYesproduct
versionYesversion
platformYesplatform
languagesYesResult entries
environmentYesenvironment

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / description
      Previous value: -"Structured result. Existing text or image content remains available in content."New value: +"Detected locales and evidence sources"
    • addedOutput schema / properties / environment
      Added value: +{
      +  "description": "environment",
      +  "type": "string"
      +}
    • addedOutput schema / properties / languages
      Added value: +{
      +  "description": "Result entries",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "Detected language",
      +    "properties": {
      +      "code": {
      +        "description": "Text value",
      +        "type": "string"
      +      },
      +      "sources": {
      +        "description": "Result entries",
      +        "items": {
      +          "description": "Text value",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "urlCount": {
      +        "description": "Number of URLs detected for this language",
      +        "type": "integer"
      +      },
      +      "urls": {
      +        "anyOf": [
      +          {
      +            "description": "Every URL for this language (includeUrls=true)",
      +            "items": {
      +              "description": "URL",
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "sources",
      +      "urlCount",
      +      "urls"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / platform
      Added value: +{
      +  "description": "platform",
      +  "type": "string"
      +}
    • addedOutput schema / properties / primary
      Added value: +{
      +  "anyOf": [
      +    {
      +      "description": "Text value",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / product
      Added value: +{
      +  "description": "product",
      +  "type": "string"
      +}
    • removedOutput schema / properties / result
      Removed value: -{
      -  "additionalProperties": true,
      -  "description": "Detected locales and evidence sources",
      -  "properties": {
      -    "environment": {
      -      "description": "environment",
      -      "type": "string"
      -    },
      -    "languages": {
      -      "description": "Result entries",
      -      "items": {
      -        "additionalProperties": true,
      -        "description": "Detected language",
      -        "properties": {
      -          "code": {
      -            "description": "Text value",
      -            "type": "string"
      -          },
      -          "sources": {
      -            "description": "Result entries",
      -            "items": {
      -              "description": "Text value",
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "urlCount": {
      -            "description": "Number of URLs detected for this language",
      -            "type": "integer"
      -          },
      -          "urls": {
      -            "anyOf": [
      -              {
      -                "description": "Every URL for this language (includeUrls=true)",
      -                "items": {
      -                  "description": "URL",
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "sources",
      -          "urlCount",
      -          "urls"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "platform": {
      -      "description": "platform",
      -      "type": "string"
      -    },
      -    "primary": {
      -      "anyOf": [
      -        {
      -          "description": "Text value",
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "product": {
      -      "description": "product",
      -      "type": "string"
      -    },
      -    "version": {
      -      "description": "version",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "product",
      -    "platform",
      -    "environment",
      -    "version",
      -    "primary",
      -    "languages"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / properties / version
      Added value: +{
      +  "description": "version",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "result"
      -]New value: +[
      +  "product",
      +  "platform",
      +  "environment",
      +  "version",
      +  "primary",
      +  "languages"
      +]
  2. Changed7 schema fields changed
    • addedInput schema / properties / includeUrls
      Added value: +{
      +  "default": false,
      +  "description": "Include every URL per language. Default false returns urlCount only; full lists can be megabytes on large sites.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / result / properties / languages / items / properties / urlCount
      Added value: +{
      +  "description": "Number of URLs detected for this language",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / result / properties / languages / items / properties / urls / anyOf
      Added value: +[
      +  {
      +    "description": "Every URL for this language (includeUrls=true)",
      +    "items": {
      +      "description": "URL",
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / properties / languages / items / properties / urls / description
      Removed value: -"Result entries"
    • removedOutput schema / properties / result / properties / languages / items / properties / urls / items
      Removed value: -{
      -  "description": "Text value",
      -  "type": "string"
      -}
    • removedOutput schema / properties / result / properties / languages / items / properties / urls / type
      Removed value: -"array"
    • changedOutput schema / properties / result / properties / languages / items / required
      Previous value: -[
      -  "code",
      -  "sources",
      -  "urls"
      -]New value: +[
      +  "code",
      +  "sources",
      +  "urlCount",
      +  "urls"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / properties / version / description
      Added value: +"Exact capture version returned by list_versions. Pin the same version across related calls; do not use latest as an alias."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "description": "Structured result. Existing text or image content remains available in content.",
      +  "properties": {
      +    "result": {
      +      "additionalProperties": true,
      +      "description": "Detected locales and evidence sources",
      +      "properties": {
      +        "environment": {
      +          "description": "environment",
      +          "type": "string"
      +        },
      +        "languages": {
      +          "description": "Result entries",
      +          "items": {
      +            "additionalProperties": true,
      +            "description": "Detected language",
      +            "properties": {
      +              "code": {
      +                "description": "Text value",
      +                "type": "string"
      +              },
      +              "sources": {
      +                "description": "Result entries",
      +                "items": {
      +                  "description": "Text value",
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "urls": {
      +                "description": "Result entries",
      +                "items": {
      +                  "description": "Text value",
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "sources",
      +              "urls"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "platform": {
      +          "description": "platform",
      +          "type": "string"
      +        },
      +        "primary": {
      +          "anyOf": [
      +            {
      +              "description": "Text value",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "product": {
      +          "description": "product",
      +          "type": "string"
      +        },
      +        "version": {
      +          "description": "version",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "product",
      +        "platform",
      +        "environment",
      +        "version",
      +        "primary",
      +        "languages"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "result"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety bar is low; the description adds real value with the path-prefix fallback resolution behavior and the warning that full URL lists can be megabytes. It does not describe error or empty-result behavior, keeping it at a 4.

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?

Two tight sentences, front-loaded with purpose and scoping, then the resolution caveat and the opt-in cost flag. Every clause carries information and nothing is padding.

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 and full parameter documentation in the schema, the description only needs to cover provenance and the expensive-flag tradeoff, which it does. Minor gaps remain around multi-environment selection and empty results, but nothing an agent needs to call it correctly is missing.

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

Parameters3/5

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

Schema coverage is 100%, so all five parameters are already documented in detail. The description's mention of includeUrls=true and urlCount restates the schema rather than adding syntax or format meaning; baseline 3 is appropriate.

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 ('Return languages detected') scoped to product version and platform, and even names the underlying source (languages.json) plus fallback behavior. It does not explicitly contrast itself with related siblings like get_technology_stack or get_themes, so it falls short of a 5.

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 implied by the resource scope (fetch detected languages for a given version/platform) and the description tells you when to flip includeUrls. There is no explicit when-not guidance or pointer to an alternative tool for a nearby need, leaving selection largely to inference.

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