Skip to main content
Glama

Search cities on my AstroMap lines

search_astromap_cities
Read-only

Cities near a few of the user's OWN Global AstroMap lines (a planet on the MC, IC, ASC or DSC at the birth moment, from the birth data in their AstroProcessor profile), for the body-angle pairs in lines (1 to 8) and the countries in countryCodes (ISO two-letter codes): each line's nearest city and then its most populous ones within the radius, with the distance to the line and whether the city is within the line's orb (withinOrb). A SAMPLE ordered by city size, not a ranking of places; lineCoverage says how many cities each line matched, and a line with no city within orb gives no support for those countries. Used for where in the world a planet's line falls. Needs a known birth time. A profile with no birth data answers no_birth_data. With chart (the name or the id of a natal chart saved in the user's AstroProcessor dashboard, as list_charts lists them), the same for that saved chart instead of the profile's, named in the result's savedChart. Each call counts toward one metered message (unlimited on a paid plan; on the Free plan a daily free message, then credits, as get_balance shows) and toward the account's per-minute and per-hour call limits; a call refused for either returns an error result, runs nothing and charges nothing.

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": {
      "lines": "<lines>"
    },
    "name": "search_astromap_cities"
  }
}

Input Schema

NameRequiredDescriptionDefault
chartNoOptional. A natal chart saved in the user's AstroProcessor dashboard, read instead of the user's own: its name as the user calls it ("Anna"), or its `id` from list_charts. Omitted: the user's own chart, from their profile. A name that matches several saved charts is refused with the candidates (chart_ambiguous).
linesYesREQUIRED. The body-angle pairs the question is about, 1 to 8, each once, e.g. [{"body":"jupiter","angle":"MC"},{"body":"venus","angle":"DSC"}]. Body: sun, moon, mercury, venus, mars, jupiter, saturn, uranus, neptune, pluto or north_node. Angle: MC, IC, ASC or DSC.
perLineNoCities returned per line, 1 to 10. Default 6.
countryCodesNoISO 3166 two-letter country codes to search in ("ES", "PT"), up to 20. Omitted: the whole world.
maxDistanceKmNoSearch radius around each line, in km, 10 to 350. Default 250.
minPopulationNoSmallest city population to include. Default 100000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / chart
      Added value: +{
      +  "description": "Optional. A natal chart saved in the user's AstroProcessor dashboard, read instead of the user's own: its name as the user calls it (\"Anna\"), or its `id` from list_charts. Omitted: the user's own chart, from their profile. A name that matches several saved charts is refused with the candidates (chart_ambiguous).",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the read-only annotations it discloses the things an agent actually needs: results are a size-ordered SAMPLE rather than a ranking, `lineCoverage` reports per-line match counts, a line with no city in orb gives no support, and cost/limits are spelled out (one metered message, per-minute and per-hour caps, refused calls charge nothing and run nothing). That is a rich behavioral contract an agent cannot get from the annotations.

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 purpose comes first and each subsequent clause carries real information (orb semantics, birth-data prerequisite, chart substitution, metering). It is dense, however, with a single long opening sentence heavy in parentheticals, so a reader must parse carefully to extract the return shape.

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 six-parameter read tool with no output schema, the description covers error modes (`no_birth_data`, `chart_ambiguous`), result fields (`withinOrb`, `lineCoverage`, `savedChart`), and cost behavior. The remaining gap is the precise shape of each returned city entry beyond distance and orb, which an agent must discover empirically.

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?

Schema coverage is 100%, so the baseline is 3; the description goes slightly beyond by framing `lines` as 1–8 body-angle pairs, `countryCodes` as ISO two-letter codes, and explaining that `chart` accepts a name or an id as list_charts lists them and is echoed back in `savedChart`. It adds understanding of what the parameters select, though not new syntax detail beyond 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?

States a specific verb and resource and pins down the mechanics: cities near the user's OWN Global AstroMap lines, defined as a planet on MC/IC/ASC/DSC at the birth moment, filtered by `lines` body-angle pairs and `countryCodes`. That definition plus the 'own profile vs saved `chart`' scope makes it clearly distinguishable from a generic city lookup like find_city.

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?

'Used for where in the world a planet's line falls' gives the question type that should route here, and the prerequisite (a known birth time, else `no_birth_data`) is stated explicitly. It stops short of naming the sibling it replaces or any when-not condition, so an agent still has to infer the boundary against tools like find_city or get_relocation_place.

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.

Resources