Skip to main content
Glama

sarvam_transliterate

Convert text between scripts, such as Roman to Devanagari, to normalize input and support search. Provide input plus source and target language codes for transliteration.

Instructions

Convert text between scripts (e.g. Roman → Devanagari). Useful for input normalization and search.

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": {
      "input": "<input>",
      "source_language_code": "<source_language_code>",
      "target_language_code": "<target_language_code>"
    },
    "name": "sarvam_transliterate"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
spoken_formNoIf true, expand acronyms/numbers into spoken form.
numerals_formatNointernational
source_language_codeYes
target_language_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It identifies the transformation and one use case but omits error behavior, unsupported-script handling, return format, and whether this is purely script conversion rather than meaning translation.

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 short sentences, front-loaded with the core action and followed by a use case. No filler or redundant wording.

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 five-parameter tool with three required enum-backed language parameters and no annotations or output schema, the description leaves critical call semantics unexplained. It does not clarify what source/target language codes mean for script conversion or how optional forms affect output.

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 only 20%; spoken_form is described in the schema, but input, source_language_code, target_language_code, and numerals_format lack descriptions. The description gives a Roman → Devanagari example but never maps parameters to script or language codes or clarifies the optional formatting 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?

States a specific verb ('Convert') and resource ('text between scripts'), with a concrete Roman → Devanagari example. It does not explicitly distinguish itself from sarvam_translate beyond the script-versus-language implication.

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 a usage context ('input normalization and search') but does not state when to choose this over sarvam_translate or sarvam_detect_language, nor when not to use it.

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