Skip to main content
Glama

AstroWay Astrology API (full catalogue)

Place search

astroway_geo_search
Read-onlyIdempotent

A place name to candidates with coordinates and the IANA zone, for a birthplace field. Matches a prefix, ignores case, accents and punctuation (krakow finds Kraków, St. Petersburg finds Saint Petersburg), and knows the names GeoNames carries in our 21 languages and older ones such as Kiev. Ranked by population, an exact name counting ten times its size, so an ambiguous name such as Springfield lists every town largest first; q=Springfield, Illinois or Springfield, MA narrows by region or country after the comma.

[Group: Astro-Geography] [Endpoint: GET /v1/geo/search] [Required: q] [Cost: 5 credits (Tier ½)]

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": {
      "q": "<q>"
    },
    "name": "astroway_geo_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesPlace name or its beginning, in any of our languages and scripts. Case, accents and punctuation are ignored. Text after the first comma narrows by region or country instead: `Springfield, Illinois`, `Springfield, MA`, `Paris, US`.
langNoLanguage for `name`, `admin1` and `country`. Where GeoNames has no name in it, the GeoNames name stays. Matching always covers every language.
limitNoHow many candidates to return.
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
countryNoRestrict to these ISO 3166-1 alpha-2 codes, comma separated, up to 20.
precisionNoRound numbers to this many decimals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / fields / description
      Previous value: -"Compact mode: comma-separated dotted paths to keep, relative to `data`, e.g. \"planets.name,planets.longitude,houses.cusp\". Omit for the whole response."New value: +"Comma-separated paths inside `data` to keep, e.g. \"planets.name,houses.cusp\"."
    • changedInput schema / properties / precision / description
      Previous value: -"Compact mode: round fractional numbers to this many decimals. Longitudes carry 14 by default; 2 is finer than any chart is drawn."New value: +"Round numbers to this many decimals."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "properties": {
      -    "attribution": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "licence": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "licenceUrl": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "notice": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "source": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "sourceUrl": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "count": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "dataset": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "count": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "downloaded": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "licence": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "namesUrl": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "source": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "url": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "lang": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "note": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "query": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "results": {
      -      "anyOf": [
      -        {
      -          "items": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "admin1": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "admin1Code": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "country": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "countryCode": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "exact": {
      -                    "type": [
      -                      "boolean",
      -                      "null"
      -                    ]
      -                  },
      -                  "featureCode": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "id": {
      -                    "type": [
      -                      "number",
      -                      "null"
      -                    ]
      -                  },
      -                  "latitude": {
      -                    "type": [
      -                      "number",
      -                      "null"
      -                    ]
      -                  },
      -                  "longitude": {
      -                    "type": [
      -                      "number",
      -                      "null"
      -                    ]
      -                  },
      -                  "matchedName": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "name": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "originalName": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "population": {
      -                    "type": [
      -                      "number",
      -                      "null"
      -                    ]
      -                  },
      -                  "timezone": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "type": "array"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description then adds real behavioral detail the annotations cannot: prefix matching with case/accent/punctuation folding, coverage of GeoNames names across 21 languages plus legacy names like Kiev, and a population ranking where an exact match counts ten times its size, explaining why ambiguous names list largest-first. Return shape and pagination are not described, but a 4 is fair given the substantial additions.

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

Conciseness3/5

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

Density is high with no filler, and the matching rules are front-loaded. However, the opening clause 'A place name to candidates with coordinates' is a broken fragment that costs a moment of parsing, and the single run-on sentence packs matching, ranking and disambiguation into one block, hurting scannability.

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 6-parameter lookup with full schema coverage and no output schema, the description covers the input contract's tricky part (name matching and narrowing) well enough to call the tool correctly. The unaddressed gaps are the inherited `fields` and `precision` parameters, whose example value ('planets.name,houses.cusp') is clearly foreign to a geography endpoint and would benefit from a note.

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 all six parameters are already documented, and the description largely restates the `q` semantics (accents, prefix, comma narrowing) rather than adding new meaning. It does tie the ranking behavior to the returned ordering, which is mild added value. The generic `fields` and `precision` response-shaping parameters go unmentioned in both places, but the schema baseline keeps this at 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific resource and return content: place-name input mapped to candidates with coordinates and an IANA zone, scoped to a birthplace field. An agent can identify this as geocoding without reading the schema. It stops short of naming any sibling to distinguish against (e.g. astroway_geo_timezone, which also surfaces zone data), so differentiation is left implicit.

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 phrase 'for a birthplace field' anchors when to use it, and the comma-syntax examples (`Springfield, Illinois`, `Paris, US`) show how to disambiguate rather than leaving the agent to guess. There is no explicit when-not-to-use or named alternative, which keeps it below a 5.

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