Skip to main content
Glama

search_locations

Find observing sites in Stellarium's location database or list valid country and planet names for set_location; use a filter to narrow the thousands of site entries.

Instructions

Search Stellarium's location database for observing sites, or list the valid country and planet names accepted by set_location. The site list holds thousands of entries, so pass a filter.

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": "search_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoWhat to list: observing sites, countries, or planets (default: locations)locations
limitNoMaximum number of results to return (default: 50)
filterNoCase-insensitive substring to match (e.g. 'lisbon', 'brazil'). Strongly recommended for 'locations'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the large size of the site database and recommends filtering, which matters operationally. However, it does not explicitly state that this is a read-only operation, nor does it describe result ordering or pagination behavior.

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 efficient sentences with the primary purpose front-loaded and the filter recommendation placed after the scale warning. Every sentence adds useful information without repetition.

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?

For a simple three-parameter search/list tool with fully documented schema fields and no output schema, the description covers the main modes, the set_location dependency, and the large-result-set caveat. It is nearly complete, with only minor gaps around return behavior and read-only semantics.

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 input schema already documents kind, limit, and filter in detail. The description reinforces the filter recommendation and the country/planet lookup use case, but adds little semantic detail beyond the schema's own 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 states a specific verb and resource: searching Stellarium's location database for observing sites, or listing valid country and planet names. It also ties one mode to the sibling set_location, so an agent can distinguish this lookup tool from location-setting behavior.

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?

It gives clear when-to-use context: search sites here, or list valid country/planet names accepted by set_location. It also recommends passing a filter because the site list is large. It stops short of explicit when-not-to-use or alternative-tool exclusions, so it is strong but not complete.

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