Skip to main content
Glama

Torah Library

Convert dates (Gregorian ↔ Hebrew)

convert_date
Read-onlyIdempotent

Convert between Gregorian and Hebrew (Jewish) calendar dates.

  • Gregorian → Hebrew: pass gregorian_date (YYYY-MM-DD). Add end_date to convert a whole range (max ~180 days).

  • Hebrew → Gregorian: pass hebrew_year, hebrew_month, hebrew_day. Set after_sunset=true when the Gregorian time is after sunset (the Hebrew date advances at nightfall). Returns the Hebrew date in English and Hebrew letters plus any holidays/events on that day.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateNoOptional end of a Gregorian range to convert every day in it.
hebrew_dayNoDay of the Hebrew month.
hebrew_yearNoHebrew year, e.g. 5787.
after_sunsetNoTreat the Gregorian date as after sunset (Hebrew date = next day).
hebrew_monthNoHebrew month name.
gregorian_dateNoGregorian date YYYY-MM-DD. Defaults to today (US Eastern) if nothing else is given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the tool as read-only and idempotent, and the description adds valuable behavioral context beyond that: the ~180-day range limit, the fact that the Hebrew date advances after sunset, and the return contents (Hebrew date in English and Hebrew letters plus holidays/events). No contradiction with annotations.

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 compact and front-loaded with the core purpose, then uses clear arrow-style usage lines. Every sentence adds necessary operational detail without repetition or fluff.

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

Completeness5/5

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

Despite having no output schema and six optional parameters, the description covers both conversion directions, input formats, the range cap, the sunset edge case, and the return payload. An agent has enough information to invoke the tool correctly in either mode.

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?

The input schema already covers 100% of parameter documentation, so the baseline is 3. The description adds meaning by grouping parameters into conversion directions, explaining the end_date range behavior, and clarifying the after_sunset effect, which goes beyond the schema's individual 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?

Description states a specific verb and resource: 'Convert between Gregorian and Hebrew (Jewish) calendar dates.' It clearly distinguishes this tool from calendar-related siblings by emphasizing bidirectional date conversion rather than schedules, zmanim, or calendar listings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit direction on when to use which parameters: 'Gregorian → Hebrew: pass gregorian_date' and 'Hebrew → Gregorian: pass hebrew_year, hebrew_month, hebrew_day.' It also explains when to set after_sunset. However, it does not explicitly name alternative sibling tools or state exclusions, so it stops short of full alternative 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