Skip to main content
Glama

Find castles near a point

castles_near

List landmarks within a radius of a WGS84 coordinate, nearest first, each with distance_km. Radius defaults to 100 km (max 2,000). For "castles near ", geocode the place yourself, then call this with its latitude/longitude.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default 10)
categoryNo
latitudeYes
longitudeYes
radius_kmNoSearch radius in km (default 100)

TDQS

A4.2/5.0
Behavior4/5

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

Without annotations, the description discloses key behaviors: results are sorted by distance, include 'distance_km', and the radius defaults/max are specified. It doesn't mention idempotency or side effects, but the listing nature implies read-only operation.

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 concise sentences with essential information front-loaded. No filler or redundancy.

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?

Given no output schema, the description adequately describes the output format (distance_km, sorted). It mentions the default/max radius and provides usage guidance. Minor omission: no mention of the 'limit' parameter's default behavior.

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 coverage is 40% (limit and radius_km have descriptions; latitude, longitude, category do not). The description adds radius defaults but does not clarify the missing parameters. It provides marginal value 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?

The description specifies the verb 'List' and the resource 'landmarks within a radius of a WGS84 coordinate', and clarifies the ordering ('nearest first'). It provides a concrete usage example ('For "castles near <place>"...'), which distinguishes the tool from siblings like 'search_castles' that likely use text-based queries.

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 gives explicit instructions for the common use case ('geocode the place yourself, then call this'), which aids selection. While it doesn't explicitly state when not to use this tool, the guidance is clear and actionable.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: geospatial search (castles_near), single-record retrieval (get_castle), aggregate statistics (get_statistics), country overviews (list_countries), random discovery (random_castle), name-based search (search_castles), and fame-based rankings (top_castles). The only slight overlap between list_countries and get_statistics is minimal and both descriptions clearly separate them.

Naming Consistency4/5

All tool names use lowercase snake_case and are self-explanatory, but they mix verb-first patterns (get_, list_, search_) with adjective or noun-first patterns (random_castle, top_castles, castles_near). This is a minor deviation from a fully consistent verb_noun convention, though the inconsistency does not hinder readability.

Tool Count5/5

With 7 tools, the set is well-scoped for a castle atlas. Each tool covers a distinct need—search, get, near, top, random, stats, countries—without redundancy or bloat.

Completeness4/5

The toolset covers most read-oriented workflows: finding, retrieving, ranking, and statistics. A notable gap is the lack of a way to list all castles in a country or category without a name search term; search_castles requires a name substring and top_castles returns only the most famous. This is a workaround by using search with a broad term, but it's not a first-class operation.