Skip to main content
Glama

Wesalna Islamic MCP

Convert Hijri and Gregorian dates

convert_hijri_date
Read-onlyIdempotent

Convert a Gregorian date to the Umm al-Qura Hijri calendar, or a Hijri date back to Gregorian. Omit both to get today's date in both calendars.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hijriNoHijri date to convert to Gregorian.
gregorianNoGregorian date as YYYY-MM-DD to convert to Hijri.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare this a read-only, idempotent operation, so the bar for additional behavioral disclosure is lower. The description adds useful context by specifying the Umm al-Qura calendar system and the behavior when both parameters are omitted. It does not mention error handling for invalid inputs, but the annotation safety profile is well covered.

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 compact sentences contain all essential information with no filler. The primary conversion behavior is front-loaded, and the no-argument behavior is appended efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with two optional parameters and no output schema, the description covers both conversion directions and the default return behavior. The main gap is that it does not specify whether supplying both parameters is invalid or how the system handles that case, leaving room for ambiguous calls.

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 description coverage is 100%, so the schema already documents each parameter's meaning, type, and constraints. The description clarifies which conversion direction each parameter serves but adds no syntax or edge-case semantics beyond the schema. The baseline of 3 is appropriate.

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 names the specific verb 'Convert' and the resource 'date', states both conversion directions, and identifies the Umm al-Qura calendar system. It also clearly distinguishes itself from the sibling tools, none of which perform date conversion.

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?

The description defines two modes of use and a sensible no-argument default, so an agent knows when to call the tool for a date conversion. However, it does not state that the 'hijri' and 'gregorian' parameters should not both be supplied, nor does it provide explicit exclusions or alternative-tool routing.

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