Skip to main content
Glama
bartest5
by bartest5

convert_gregorian_to_hijri

Convert a Gregorian date (year, month, day) to its corresponding Hijri date. Get the exact Islamic calendar equivalent for any input date.

Instructions

Convert a Gregorian calendar date to its Hijri equivalent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dayYes
yearYes
monthYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It states the conversion action but gives no details about side effects, validation, or return format. For a pure conversion tool, this is minimally acceptable but offers no additional context beyond the name. The description does not contradict any annotations (none exist).

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, concise sentence with no wasted words. It is front-loaded with the verb 'Convert' and immediately specifies the source and target calendars. This is an example of efficient, minimal prose.

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?

Given the tool's simplicity (3 integer parameters, no output schema), the description covers the core purpose and implies the output ('its Hijri equivalent'). However, it omits potentially useful context such as the output format, date range handling, and the distinction from similar tools like 'get_hijri_date'. It is adequate but not complete for an agent that needs to handle edge cases or format expectations.

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?

Schema description coverage is 0%, and the description does not elaborate on the parameters. The only semantic hint is 'Gregorian calendar date,' implying year/month/day are Gregorian components. This provides minimal guidance but lacks critical details such as valid ranges (e.g., month 1-12, day 1-31) or whether the year is CE/AD. The description fails to compensate for the schema's lack of parameter descriptions.

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 a specific action: 'Convert a Gregorian calendar date to its Hijri equivalent.' The verb 'convert' plus the resource pair (Gregorian to Hijri) unambiguously identifies the tool's function. It naturally distinguishes from the sibling 'convert_hijri_to_gregorian' by specifying the conversion direction.

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 usage is implied by the description: use this when you have a Gregorian date and need the Hijri equivalent. However, there is no explicit guidance on when to choose this over alternatives like 'get_hijri_date' (which likely returns the current date) or what edge cases to consider. No exclusions or alternatives are named.

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/bartest5/ahmedeltaher_azan-mcp'

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