Skip to main content
Glama

electional_search

Rank moments in a window for an electional aim. Samples the window and scores each instant by how closely a set of wanted body-to-body aspects is satisfied (tighter and applying aspects score higher), optionally penalizing a void-of-course Moon. Returns the top moments with the aspects that matched. Body-to-body only; for aspects to the angles, compute the chart at a candidate moment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYesUTC ISO end of the window
limitNomax moments to return (default 10)
startYesUTC ISO start of the window
wantedYesaspects to reward when close to exact
zodiacNotropical (default) or sidereal:<ayanamsa>tropical
step_hoursNosampling step in hours (default 6)
avoid_void_moonNopenalize a void-of-course Moon

TDQS

A4.5/5.0
Behavior4/5

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

Without annotations, the description fully discloses the tool's behavior: it samples the window, scores by closeness and applying aspects, optionally penalizes void-of-course Moon, and returns top moments with matched aspects. No side effects are expected, and the disclosure is sufficient for an agent to understand implications.

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 concise (4 sentences) and well-structured: it starts with the purpose, explains the mechanism, notes the return value, and ends with a crucial limitation. Every sentence serves a purpose without redundancy.

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?

Given the complexity of electional search and the absence of an output schema, the description adequately explains the return format (top moments with matched aspects) and the sampling step (step_hours). It also warns about angle aspects, making the tool's use context complete for an agent.

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 description adds meaning beyond the input schema by explaining that 'wanted' aspects must be body-to-body, and that scoring favors tighter and applying aspects. This contextualizes the parameters, especially the 'wanted' array, and clarifies the tool's scope beyond the schema's field 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 the tool ranks moments in a time window for electional purposes, sampling and scoring by aspect satisfaction. It distinguishes itself from sibling tools like 'find_aspect_dates' (which finds exact dates) and 'void_of_course' (which detects void Moon only), as it combines multiple criteria for electional selection.

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 explicitly notes that this tool handles body-to-body aspects only, directing users to compute charts for angle aspects separately. However, it does not explicitly contrast with other electional-related tools like 'aspect_patterns' or 'chart_signature', leaving some ambiguity about when to prefer this over them.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool has a highly specific and well-described purpose. Despite the large number, their functions are clearly distinct—e.g., natal_chart vs current_sky vs composite, or dasha vs firdaria vs profections vs releasing. The detailed descriptions prevent ambiguity.

Naming Consistency3/5

Names are consistently in snake_case but vary in style: some are noun phrases (natal_chart, cosmic_weather), some are verb-like (releasing, returns), and some are descriptive (aspect_patterns, find_aspect_dates). There is no strict verb_noun pattern, leading to moderate consistency.

Tool Count4/5

34 tools is high but appropriate for a comprehensive astrology API covering natal, transits, progressions, returns, synastry, time-lord techniques, sky events, and synthetic bodies. Each tool serves a specific niche, so the count feels justified rather than excessive.

Completeness5/5

The tool surface is extremely thorough, covering all major areas of astrology: chart generation, aspects, configurations, dignities, time-lord techniques (multiple systems), synastry, composite, progressions, returns, transits, sky events, rectification, electional, and synthetic bodies. No obvious gaps for the intended domain.