Skip to main content
Glama

Plan Stargazing Session

plan_stargazing_session
Read-onlyIdempotent

Plan stargazing sessions across one to seven nights by comparing locations and selecting viable observing targets from weather, sky, and equipment data.

Instructions

Preferred end-to-end planning entry point for choosing when, where, and what to observe across one to seven nights.

Use when: you need a complete observing decision or comparisons of places and nights. Do not use when: you only need raw weather, celestial facts, or task status. Requires: request.location (place name, center/radius, or exact bounds) and start_date; timezone, one-to-seven nights, observing goal, equipment preset/overrides, and supported preference fields have explicit defaults or are optional. A center/radius is a regional search, not a plan locked to the center point. The radius becomes an approximate search box, not a strict circular distance filter. Quietness/popularity adjustments require the corresponding preference flags. Pass request as a JSON object, not a JSON string; inspect resolved_location before describing a candidate as the exact user-specified site. Returns: normalized request, decision, alternatives, evidence, uncertainties, missing inputs, ranking-change conditions, and next actions in the standard envelope. Weather evidence uses dated night-hour forecasts. Missing weather or no usable window excludes a candidate from decision and alternatives; unranked_planning_reference evidence retains known location/sky facts with weather_unknown or no_usable_window status. If none qualify, decision=null. Partial coverage remains provisional. The night_window remains civil darkness. For deep_sky, observation windows require at least two continuous astronomical-dark hours, cloud <=25%, rain probability <=20%, and wind <=20 km/h, with known rain/wind fields. These are heuristic screening limits, not verified imaging success probabilities. Interpretation: recommendation_score is a relative ranking, not a probability or an absolute go/no-go threshold. _meta.status=success means execution succeeded; decision=null means no selected session. A null observation_window means no usable window was established, not an all-night opening. Inspect evidence, uncertainties, missing_inputs and next_actions even on success. nightly_weather_unavailable and no_usable_observation_window are high-uncertainty warnings; long_range_forecast requires a forecast recheck near departure. Never replace missing night hours with summary.current or summary.daily, or infer a provider from weather wording. Civil darkness means Sun below -6 degrees, not astronomical darkness at -18 degrees; its duration is not guaranteed exposure time. Popularity/quiet scores are heuristics, not measured noise or calibrated crowd probabilities. When equipment is supplied, decision.targets already contains equipment-matched targets; use that list to answer the selected session's target question without a second lookup. Read selected_target_window_check evidence before claiming shootability: complete equipment curves with no 25-degree, 30-minute model slot in the selected weather window are excluded. Missing or partial curves and generic targets remain unknown references. Altitude-only checks have unknown Moon constraints; independent slots may overlap and do not verify per-slot Moon separation, tracking or actual exposure. Keep the returned target order; do not compare scores across generic and equipment rankings. This is a synchronous call and can exceed a client default deadline; a timeout does not establish that a background planning task exists. Follow-up: get_shooting_plan for an imaging schedule at the selected place/night; get_weather_by_position for updated weather facts. Inspect missing inputs and next actions before treating a degraded decision as final.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "request": "<request>"
    },
    "name": "plan_stargazing_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds substantial behavior beyond that: heuristic screening thresholds (cloud <=25%, rain <=20%, wind <=20 km/h, two astronomical-dark hours), exclusion of candidates with missing weather, decision=null semantics, provisional partial coverage, and the fact that a client timeout does not imply a background task exists. However, several of these disclosures drift into return-value interpretation that the output schema and the description's own interpretive caveats partially duplicate, and the heuristic limits are asserted without noting they are region- or season-invariant — a minor gap, but the added context is genuinely useful.

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

Conciseness4/5

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

It is front-loaded well: purpose, when/when-not, required inputs, and return shape all appear before the dense interpretation paragraphs. The length is defensible given the tool's behavioral complexity, but some material repeats — "inspect evidence, uncertainties, missing_inputs and next_actions" appears twice in slightly different phrasing — and the middle block on weather evidence and deep_sky thresholds is a single dense paragraph that is harder to scan than the rest.

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?

Complete for a complex multi-night planning tool: it covers inputs, exclusion rules, interpretation of decision/alternatives/_meta.status, null-vs-missing distinctions, ranking caveats, target-ordering constraints, and follow-up tools. Since an output schema exists, the description does not need to enumerate return fields, and its additional interpretation guidance is a bonus rather than a filler.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the reported schema description coverage is 0%, the description compensates heavily: it names the required inputs (request.location as place name, center/radius, or exact bounds; start_date), states that timezone, one-to-seven nights, observing goal, equipment, and preference fields have explicit defaults or are optional, and clarifies that center/radius becomes an approximate search box rather than a strict circular filter. It also warns to pass request as a JSON object rather than a JSON string, a gotcha absent from the schema. Only target_limit, candidate_limit, and popularity_radius_km are left to the schema.

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?

Opens with a specific verb and scope: "Preferred end-to-end planning entry point for choosing when, where, and what to observe across one to seven nights." It also draws the boundary against siblings that return only raw weather, celestial facts, or task status, so an agent can distinguish it from get_weather_by_position, get_celestial_pos, and get_shooting_plan without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit "Use when" and "Do not use when" clauses naming the excluded capabilities, plus concrete alternatives in the Follow-up section (get_shooting_plan for a schedule, get_weather_by_position for updated weather). The selection conditions are stated rather than inferred.

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