Skip to main content
Glama

Find boreholes, wells, CPTs, soil profiles or groundwater permits in Flanders

search_subsurface
Read-only

Find DOV records by area and attributes, e.g. the deepest boreholes in a municipality, geothermal boreholes since 2020, groundwater wells in the Brussel sand with quality data, electric CPTs near an address, soil profiles with lab data, or the largest groundwater abstraction permits in a municipality (with the licensed total per aquifer). Area: a municipality (official 2025 boundary; old pre-merger names work), or an address/coordinates with radius_m, or nothing for all of Flanders. Filtering and sorting run on DOV's server, so counts cover every matching record. Use get_subsurface_record with a result id for details. Examples: The deepest boreholes in Leuven → {"record_type":"boreholes","municipality":"Leuven","limit":3}; Geothermal boreholes drilled in Flanders since 2020 → {"record_type":"boreholes","purpose":"geothermal","date_from":"2020","limit":5}; The largest groundwater abstraction permits in Ghent → {"record_type":"groundwater_permits","municipality":"Gent","sort":"largest","limit":5}.

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": {
      "record_type": "<record_type>"
    },
    "name": "search_subsurface"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoDefault: nearest with a location; otherwise deepest (boreholes, CPTs), newest (wells), largest (permits), most_described (soil profiles).
limitNoResults to list, default 10.
addressNoAddress in Flanders, as an alternative to municipality (then radius_m applies).
aquiferNoWells and permits: exact four-digit HCOV code (A0620), explicit prefix (A06 for the whole system, A062 for a subgroup) or words from the unit name ('Brussel', 'Krijt').
date_toNoSame formats as date_from.
purposeNoBoreholes: why it was drilled.
latitudeNoWGS84 latitude, e.g. 51.0453 (use with longitude instead of address).
radius_mNoRadius around the address or coordinates, default 1000 m.
date_fromNoYYYY, YYYY-MM or YYYY-MM-DD: drilling/test date, last water-level date for wells, permit start, survey date.
longitudeNoWGS84 longitude, e.g. 3.7275.
cpt_methodNoCPTs: electric CPTs also measure sleeve friction.
max_depth_mNoMaximum depth, same fields.
min_depth_mNoMinimum depth (borehole or CPT depth, well screen bottom, permitted well depth).
record_typeYesWhat to find.
x_lambert72NoBelgian Lambert 72 (EPSG:31370) x in metres, as an alternative to latitude/longitude.
y_lambert72NoBelgian Lambert 72 (EPSG:31370) y in metres.
municipalityNoMunicipality in Flanders, e.g. 'Leuven' or 'Merelbeke-Melle'.
min_annual_m3NoPermits: minimum licensed annual volume in m³.
with_lab_dataNoSoil profiles: only those with lab samples.
with_quality_dataNoWells: only screens with groundwater quality samples.
with_stratigraphyNoBoreholes: only those with a formal, hydrogeological or Quaternary stratigraphy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / aquifer / description
      Previous value: -"Wells and permits: HCOV code (A0620, or A06 for the whole system) or words from the unit name ('Brussel', 'Krijt')."New value: +"Wells and permits: exact four-digit HCOV code (A0620), explicit prefix (A06 for the whole system, A062 for a subgroup) or words from the unit name ('Brussel', 'Krijt')."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description's job is to add nuance — which it does: filtering and sorting happen server-side so counts cover every matching record, and the 2025 boundary applies while pre-merger municipality names still work. It stops short of describing result shape or pagination behavior beyond the schema's limit cap.

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?

Front-loaded with purpose and area scoping before the examples, and the examples are compact JSON rather than prose. It is on the long side — the opening enumeration of use cases and the three examples overlap somewhat — but no sentence is filler.

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 21-parameter search tool with no output schema, the description covers area scoping, per-record-type filtering, sorting defaults and the hand-off to the detail tool. The one gap is that it never indicates what a result row contains or that results are id-bearing records, though the get_subsurface_record pointer implies it.

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 the baseline is 3; the description's added value is mainly the example payloads that demonstrate how record_type pairs with municipality, purpose, date_from and sort. It does not add semantics beyond the schema for the remaining ~15 parameters (aquifer codes, Lambert 72 coordinates, depth fields are all fully documented in the schema already).

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?

Opens with a specific verb and resource ("Find DOV records by area and attributes") and immediately enumerates the five record types it covers. It is clearly a discovery/search tool, and the pointer to get_subsurface_record separates it from the detail-retrieval sibling.

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?

Explicitly states the three ways to scope a search (municipality, address/coordinates with radius_m, or nothing for all of Flanders) and names the alternative tool for details. The three worked examples show exactly which parameter combinations to use for realistic questions, which is stronger than generic when-to-use prose.

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.