Skip to main content
Glama

transliterate

Convert text between Indic scripts and Latin using 9 supported scripts. Transliterates content for cross-script compatibility and accessibility.

Instructions

Convert text between any two Indic scripts or Latin (9 scripts supported). Cost: $0.001 USDC. Service: indic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
source_scriptYes
target_scriptYes

Implementation Reference

  • The tool handler dynamically fetches tools from a remote registry and executes them based on the request name. "transliterate" would be one of the tools fetched from this registry.
    server.setRequestHandler(CallToolRequestSchema, async (request) => {
      const { name, arguments: args } = request.params;
    
      let registry: Registry;
      try {
        registry = await fetchRegistry();
      } catch (error) {
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify({ error: "Failed to fetch tool registry", detail: String(error) }),
            },
          ],
        };
      }
    
      const tool = registry.tools.find((t) => t.name === name);
      if (!tool) {
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify({
                error: `Tool '${name}' not found`,
                available_tools: registry.tools.map((t) => t.name),
              }),
            },
          ],
        };
      }
    
      try {
        const result = await callTool(tool, args as Record<string, unknown>);
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(result, null, 2),
            },
          ],
        };
      } catch (error) {
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify({
                error: "Tool call failed",
                tool: name,
                service: tool.service,
                detail: String(error),
              }),
            },
          ],
        };
      }
    });
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds some context by mentioning the cost ('$0.001 USDC') and service ('indic'), which are useful for understanding operational aspects. However, it lacks details on rate limits, error handling, output format, or performance characteristics, leaving gaps in behavioral transparency.

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 description is appropriately sized and front-loaded, with the core purpose stated first. The additional cost and service details are concise and relevant. However, the lack of usage guidelines or parameter details slightly reduces efficiency, as more information could be included without sacrificing brevity.

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?

Given the complexity of a conversion tool with 3 parameters, 0% schema coverage, no annotations, and no output schema, the description is incomplete. It fails to explain parameter semantics, output format, error conditions, or detailed usage scenarios. The cost and service hints are helpful but insufficient for full contextual understanding.

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?

The schema description coverage is 0%, so the description must compensate for undocumented parameters. It implies the parameters ('text', 'source_script', 'target_script') through the action described but does not explain their semantics, allowed values (e.g., specific script names), or constraints. This adds minimal value beyond what can be inferred from the schema structure.

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?

The description clearly states the tool's purpose with specific verbs ('Convert text') and resources ('between any two Indic scripts or Latin'), and it distinguishes itself from siblings by specifying its unique domain (9 Indic scripts). It explicitly mentions the service ('indic') which further differentiates it from unrelated tools like 'convert_timezone' or 'analyze_call'.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention any prerequisites, constraints, or comparisons with similar tools (e.g., 'convert_timezone' for time-related conversions or other text processing tools). The cost information hints at a paid service but does not specify usage contexts or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yantrix-ai/yantrix-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server