Skip to main content
Glama
IBM

chuk-mcp-her

Official
by IBM

her_cross_reference

Cross-reference candidate locations against known heritage assets to classify each as match, near, or novel based on proximity.

Instructions

Cross-reference candidate locations against known heritage assets.

Takes a list of candidate locations (e.g. from LiDAR survey) and classifies each as match, near, or novel based on proximity to known NHLE records, AIM aerial mapping features, and optionally Heritage Gateway records.

Args: candidates: JSON array of {"easting": x, "northing": y} dicts match_radius_m: Distance threshold for "match" (default 50m) near_radius_m: Distance threshold for "near" (default 200m) designation_types: Comma-separated NHLE designation types to match against (e.g. "scheduled_monument,listed_building") include_aim: Include AIM aerial mapping features in known assets (adds monument_type, period, form from aerial archaeology) gateway_sites: JSON array of Gateway records with easting/northing (output of her_enrich_gateway) to merge into known sites output_mode: Response format — "json" (default) or "text"

Returns: Classification of each candidate as match, near, or novel

Tips for LLMs: - Input candidates as BNG easting/northing coordinates - "match" means the candidate is within match_radius_m of a known asset - "near" means within near_radius_m but not a match - "novel" means no known asset within near_radius_m - Set include_aim=true for LiDAR workflows to include aerial features - Use her_enrich_gateway first to resolve Gateway record coordinates, then pass the output as gateway_sites for richer cross-referencing - Use her_export_for_lidar to get known sites in the same area

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
candidatesNo[]
include_aimNo
output_modeNojson
gateway_sitesNo[]
near_radius_mNo
match_radius_mNo
designation_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A4.8/5.0
Behavior4/5

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

Despite having no annotations, the description discloses the core algorithm: it classifies each candidate based on proximity thresholds (match_radius_m, near_radius_m), explains the meaning of match/near/novel, and notes optional inclusion of AIM and Gateway data. It doesn't mention error handling or side effects, but the tool's read-only nature is implied.

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?

The description is structured with Args, Returns, and Tips sections. All information is relevant; the tips provide actionable workflow guidance without redundancy. It's longer than some but efficient for a 7-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and 7 parameters, the description covers all inputs, defines the output classification, and provides integration context with sibling tools. It gives enough to invoke the tool correctly without further research.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description thoroughly documents all 7 parameters with types, defaults, and examples (e.g., candidates as JSON array with easting/northing, designation_types as comma-separated values). This fully compensates for the schema gap.

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 uses a specific verb 'Cross-reference' with a clear object 'candidate locations against known heritage assets', and defines the output classification (match/near/novel), distinguishing it from sibling search tools by its proximity-classification behavior.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Tips for LLMs' section explicitly instructs when to use complementary tools: 'Use her_enrich_gateway first', 'Use her_export_for_lidar to get known sites in the same area', and recommends include_aim for LiDAR workflows. This provides clear workflow context and alternatives.

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