Skip to main content
Glama

gregorian_to_hijri

Convert a Gregorian date to its Hijri (Islamic) equivalent by specifying the day, month, and year.

Instructions

Convert a Gregorian date to a Hijri (Islamic) date.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dayYesGregorian day, 1 to 31.
yearYesGregorian year (e.g., 2026).
monthYesGregorian month, 1 to 12.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description must convey behavioral traits. It only states the conversion action, without mentioning date range limits, calendar basis (e.g., Umm al-Qura), or any side effects. This is minimal but not misleading.

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?

The description is a single, short sentence that conveys the core purpose without any extraneous words. It is front-loaded and efficient.

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 simple conversion tool with three parameters and an existing output schema, the description is adequate but could be improved by hinting at the output format (e.g., returns Hijri day, month, year). The presence of an output schema reduces the need for detailed return value explanation, but a brief mention would enhance completeness.

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?

The input schema has 100% description coverage, with each parameter (day, month, year) already well-defined (e.g., 'Gregorian day, 1 to 31'). The description adds no additional semantic information beyond what the schema provides.

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 action ('Convert') and the resource ('Gregorian date to Hijri date'), making the tool's purpose immediately understandable. It is distinct from the sibling 'hijri_to_gregorian' which performs the reverse 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?

No explicit guidance on when to use this tool vs alternatives. The sibling 'hijri_to_gregorian' implies the reverse use case, but the description does not provide context or prerequisites.

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/mahdi-salmanzade/MCP-Dubai'

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