Skip to main content
Glama
zmanim-mcp

zmanim-mcp

by jonyteubal

Shabbat candle-lighting and Havdalah

get_shabbat_times
Read-onlyIdempotent

Calculate candle-lighting and Havdalah times for the coming Shabbat or a date's week, including the parasha and any holiday, from a location or coordinates.

Instructions

Candle-lighting and Havdalah for the coming Shabbat (or the Shabbat of the week containing a given date), with the parasha and any holiday that falls on it. The result states the candle-lighting and Havdalah offsets that were applied.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_shabbat_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoAny civil date (YYYY-MM-DD) in the week wanted. Defaults to now; on Saturday night after Havdalah it moves to next week.
latitudeNoDecimal degrees. Use with longitude and timezone instead of location.
locationNoCity name, optionally with country or region: "Panama City, Panama", "Jerusalem", "Lakewood, New Jersey". Matched against a built-in list of about 34,000 cities; add the region when several cities share a name.
timezoneNoIANA time zone such as "America/Panama". Required with coordinates.
longitudeNoDecimal degrees, negative for west.
candle_minutesNoMinutes before Friday's sunset. Default 18. Jerusalem's custom is 40, Haifa 30.
havdalah_minutesNoMinutes after Saturday's sunset. Default 40. Use 0 for the sun 8.5 degrees below the horizon; 72 for Rabbenu Tam.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds that returned times reflect the applied candle-lighting and Havdalah offsets and include parasha/holiday data, which is useful return-content context, but it remains brief and omits edge-case behavior around missing locations or ambiguous city matches.

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 front-loaded sentences with no filler. The scope and default behavior are stated immediately, followed by a concise note on what the result includes.

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?

The tool is moderately simple, all parameters are optional and well documented, and annotations cover the safety profile. The description supplies the missing high-level return context (offsets, parasha, holidays), leaving only minor gaps such as handling of unresolved or ambiguous locations.

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 all seven optional parameters thoroughly, including defaults and examples. The prose adds no parameter meaning beyond the schema baseline.

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?

The description states a specific resource (candle-lighting and Havdalah times for Shabbat) plus supporting output (parasha, holidays). It is clearly distinct from date-conversion and prayer-list siblings, though it does not explicitly contrast itself with get_zmanim.

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?

It explains default date behavior and the Saturday-night rollover to next week, which is useful context. It does not state when to prefer this over get_zmanim or other time-related siblings, so usage guidance is only implied.

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