Skip to main content
Glama

Search castles by name

search_castles

Search the atlas’s 9,079 castles, fortresses, palaces and ruins by name (accent- and case-insensitive substring match). Optionally filter by country (name or ISO code) and category. Results come best-match-first, then by fame; each has coordinates, founding century, fame rank and links to its atlas page and Wikipedia. If nothing matches, retry with a shorter fragment of the name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default 10)
queryYesName or part of a name, e.g. "neuschwanstein" or "himeji"
countryNoCountry name or 2-letter ISO code (optional)
categoryNoLandmark type (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the accent/case-insensitive matching, the sort order (best-match then fame), the returned fields, and empty-result behavior. It omits any statement about rate limits, permissions, or pagination behavior beyond the limit parameter.

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?

Three tight sentences, front-loaded with the verb and scope, then filters, then results and fallback. No filler sentences; every clause earns its place.

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 4-parameter read tool with no output schema, the description compensates by enumerating the returned fields (coordinates, founding century, fame rank, atlas/Wikipedia links) and the result ordering. It is nearly complete, missing only error/rate-limit guidance.

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 100%, so all four parameters are already documented in the schema; the baseline is 3. The description adds marginal value by restating the country-name-or-ISO and category filtering behavior and implying query is a partial name, but adds no format details 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 (search), resource (9,079 castles/fortresses/palaces/ruins), and matching semantics (accent- and case-insensitive substring). This clearly separates it from siblings like get_castle (single lookup) and castles_near (proximity).

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?

Gives clear usage context: optional country and category filters, plus a concrete recovery action when nothing matches ('retry with a shorter fragment'). It stops short of explicitly naming sibling alternatives (e.g., use get_castle for full detail, castles_near for geography), so it is clear but not exhaustive.

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.