Skip to main content
Glama

analysis_area

Find dark, accessible stargazing spots in any area by analyzing light pollution, elevation, and road proximity. Supports fast mode to skip road checks.

Instructions

Analyze a geographic area for suitable stargazing locations.

This tool searches for dark, accessible locations with good viewing conditions. Results are cached based on search parameters.

Fast mode: Set road_radius_km=0 to skip road connectivity checks. This avoids OSMnx network downloads from Overpass API and is much faster — use it when you only need candidate locations with light pollution and elevation data, without road distance analysis.

Args: south, west, north, east: Bounding box coordinates. max_locations: Maximum number of candidate locations to find (before pagination). min_height_diff: Minimum elevation difference for prominence. road_radius_km: Search radius for road access. Set to 0 to skip road checks. network_type: Type of road network ('drive', 'walk', etc.). db_config_path: Optional path to database config. page: Page number (1-based). page_size: Number of results per page.

Returns: Dict with keys "data", "_meta". "data" contains: - items: List of location results for the current page. - total: Total number of locations found. - page: Current page number. - page_size: Current page size. - resource_id: Cache key for the non-pagination search parameters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eastYes
pageNo
westYes
northYes
southYes
page_sizeNo
network_typeNodrive
max_locationsNo
db_config_pathNo
road_radius_kmNo
min_height_diffNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description bears full burden. It discloses caching behavior, the effect of fast mode (skipping OSMnx downloads), and the return structure. It could mention database interactions or rate limits, but the provided information is sufficient for safe usage.

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?

The description is well-structured with sections (main description, caching note, fast mode, Args, Returns). It is front-loaded with the main purpose. However, the fast mode paragraph contains some repetition (e.g., 'skip road connectivity checks' appears twice), making it slightly less concise.

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 11 parameters, no schema descriptions, and no annotations, the description provides comprehensive coverage: parameter semantics, return format (including keys), caching behavior, and a performance optimization tip. It is fully adequate for an agent to use the tool correctly.

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?

Schema description coverage is 0%, so the description must fully compensate. The Args section provides clear, detailed explanations for all 11 parameters, including purpose, defaults, and special values (e.g., road_radius_km=0 to skip). This adds significant value beyond the schema's type/default entries.

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's purpose: 'Analyze a geographic area for suitable stargazing locations.' It specifies the verb (analyze), resource (geographic area), and domain (stargazing), which distinguishes it from sibling tools that handle celestial data, weather, or planning.

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 includes specific guidance on when to use 'fast mode' (road_radius_km=0) for scenarios without road connectivity needs. However, it lacks explicit comparison to sibling tools or conditions when not to use this tool, though the fast mode advice provides clear context for a common alternative.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/StarGazer1995/mcp-stargazing'

If you have feedback or need assistance with the MCP directory API, please join our Discord server