Skip to main content
Glama
pakistan-mcp

pakistan-mcp

by mubasher1111

Format an amount in PKR

format_pkr
Read-onlyIdempotent

Formats Pakistani rupee amounts with lakh/crore grouping, short-form notation, and English/Urdu words for cheques and financial documents.

Instructions

Formats a rupee amount the Pakistani way: lakh/crore digit grouping (Rs 12,34,567), a short form ("12.35 lakh"), and the amount in words in English and Urdu (cheque style).

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": {
      "amount": "<amount>"
    },
    "name": "format_pkr"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount in PKR

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

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, closed-world behavior, so the safety profile is covered. The description earns credit by disclosing the actual output shape (grouping format, abbreviated form, bilingual words) in the absence of an output schema, which is the main behavioral unknown for a formatter. Minor gap: no statement about decimal rounding or how zero/large values render.

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?

One dense sentence, front-loaded with the core action, followed by concrete output examples that serve as specification rather than filler. Nothing is redundant.

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?

For a single-parameter pure formatter with no output schema, the description covers the essentials: input domain (PKR, bounded in schema) and all three output renderings. It lacks only edge-case behavior (rounding of paisa, treatment of 0 or values near the maximum).

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% with a single parameter already described as 'Amount in PKR' with min/max bounds, so the schema carries the load. The description adds no extra parameter meaning such as whether fractional paisa are accepted or how they are rounded. Baseline 3 is appropriate here.

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 (format a rupee amount) and enumerates the exact outputs produced: lakh/crore grouping (Rs 12,34,567), short form ("12.35 lakh"), and cheque-style words in English and Urdu. An agent knows precisely what comes back. It stops short of 5 because the overlapping sibling amount_in_words is never acknowledged or differentiated.

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 mention of 'cheque style' hints at display/cheque-prep scenarios, but there is no explicit when-to-use, when-not-to-use, or alternative. In particular, nothing tells the agent whether to pick this or amount_in_words for word rendering.

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