Skip to main content
Glama
pakistan-mcp

pakistan-mcp

by mubasher1111

Roman Urdu to Urdu script

roman_to_urdu
Read-onlyIdempotent

Convert Roman Urdu typed in English letters into Urdu script using a dictionary for common words and phonetic conversion for rare words that may need correction.

Instructions

Converts Roman Urdu (Urdu typed in English letters, e.g. "aap kaise hain?") into Urdu script. Common words come from a dictionary and are reliable; rare words are converted phonetically and may need correction because Roman Urdu does not show which Urdu letter is meant.

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>"
    },
    "name": "roman_to_urdu"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesRoman Urdu text
dictionaryNoOptional extra words, e.g. {"zexcart": "زیکس کارٹ"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered. The description adds real behavioral context beyond that: a two-tier conversion model (dictionary lookup for common words vs. phonetic fallback for rare ones) and the honest caveat that phonetic output may be wrong because Roman Urdu is ambiguous. It omits the 20,000-character input ceiling and does not state the return shape, which keeps it from a 5.

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 sentences, front-loaded with the core transformation, then the reliability caveat, with an inline example that costs few tokens and removes ambiguity. Nothing is redundant or restated from the schema.

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 no output schema, the description should clarify the return value; it implies the result is the Urdu script text but does not say whether anything else (e.g., confidence or word-level flags) is returned. Otherwise it is complete for a simple two-parameter, non-destructive conversion tool, including the nested dictionary object's purpose.

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?

Schema coverage is 100%, so the baseline is 3, but the description earns a bump by explaining the mechanism the optional dictionary parameter feeds into: dictionary entries are the reliable path, with phonetic conversion as the fallback. That gives the agent a reason to supply extra words rather than treating the parameter as opaque.

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?

States a specific transformation verb plus both source and target representations (Roman Urdu in Latin letters to Urdu script), and includes a concrete input example ("aap kaise hain?"). An agent knows exactly what comes in and what comes out without opening the schema.

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 conversion description rather than stated: there is no explicit when-to-use, when-not-to-use, or routing to an alternative. The reliability caveat (dictionary words trustworthy, phonetic fallback may need correction) indirectly signals when to trust vs. verify output, which is useful but not framed as guidance.

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