Skip to main content
Glama

Muhurat by Devalok

Next eclipses

get_next_eclipse
Read-onlyIdempotent

Upcoming eclipses (grahana) for a location, soonest first. For each: date, kind (solar/lunar) + type (Total/Partial/Annular), the nakshatra it falls in, and whether it is VISIBLE from this place. Muhurta meaning: where an eclipse is visible, its hours AND the sutak before them (about 12h solar / 9h lunar) are a hard block - no new work, the time given to japa/dana/snana; visible or not, the days bracketing it (a few each side, more for solar) and its nakshatra stay unsettled for major beginnings. Answers 'when is the next eclipse?' / 'surya grahan kab hai?'.

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_next_eclipse"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNo
countNo
location_latNo
location_lonNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, non-destructive, openWorldHint=false), so the description's job is to add domain behavior — and it does: eclipse hours plus the preceding sutak (about 12h solar / 9h lunar) are a hard block, and bracketing days stay unsettled. That is substantive interpretive context an agent cannot derive from structured fields, though it stops short of explaining location-dependence of the visibility flag.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence, which is good, but the muhurta paragraph is a dense run-on that packs several distinct rules into one block. The closing question examples partly restate the opening, so a little trimming and structure would help.

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?

Return values are richly described even though an output schema exists, and the muhurta semantics are a genuine bonus. The gap is parameters: for a tool with 0% schema coverage and location-dependent visibility, the absence of any parameter guidance leaves a real hole in call correctness.

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 none of the four parameters (tz, count, location_lat, location_lon) is named or explained in the description. Only the vague phrase 'for a location' hints at lat/lon; count and tz are entirely undocumented, so the description fails to compensate for the schema gap.

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?

States a specific verb and resource ('Upcoming eclipses (grahana) for a location, soonest first') plus the exact per-item fields returned: date, kind (solar/lunar), type (Total/Partial/Annular), nakshatra, and visibility. No sibling in the list deals with eclipses, so the resource alone differentiates it cleanly.

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?

Usage is implied through the concrete question patterns ('when is the next eclipse?' / 'surya grahan kab hai?'), which tell an agent what user intent maps here. However, it never states when NOT to use it or routes to alternatives (e.g. get_inauspicious_periods for general blocked windows), so the agent must infer boundaries.

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.