Skip to main content
Glama

surface_at

Read-onlyIdempotent

What is on the ground at a point, in one call: the admin units, ward and pincode; land cover, elevation and slope, population density and block land use; climate zones; the river basin, nearest river, water body, dam and wetland, and flood history; hazards (seismic zone, landslides, cyclone tracks, coastal regulation zone); forests and protected areas with the nearest one; the nearest highway, railway and metro station, airport and bus stop; the nearest hospital (three sources) and school, and places within 1 km; the nearest power line, power plant and water-supply facility; distance to India's outline. Returns a one-line summary and sections, each with its credit, licence, scale, vintage and status; for the air above the point, air points to the mugilu MCP's conditions_at. Example: 'what is around this plot in Kolkata?' -> lat: 22.57, lng: 88.36. For a narrow question pass sections (or layers) so surface_at reads only those: one section takes about 0.1 to 0.3 s, against up to 2 s for everything, and the answer is only what was asked ('which ward is this?' -> sections: ["place"]; 'nearest railway station' -> layers: ["ir_stations"]; 'how high is it?' -> layers: ["dem"]). For a broad one ('what is at this point?', a site screening) pass neither and it reads everything. list_layers and get_layer_detail say which section reads a layer (lookups); an unknown section, or a layer the tool does not read, is an error naming the valid ones.

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": {
      "lat": "<lat>",
      "lng": "<lng>"
    },
    "name": "surface_at"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude (6 to 38, India bounding box)
lngYesLongitude (68 to 98, India bounding box)
layersNoRead only these layers (ids, e.g. dem, worldcover and worldpop (the rasters), ir_stations, gs_highways, or a ward layer such as wards_chennai), as well as any sections asked; default all
sectionsNoRead only these sections (an array, or one comma-separated string); default all
open_onlyNotrue leaves out the non-commercial layers (for commercial use); default false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / layers
      Added value: +{
      +  "description": "Read only these layers (ids, e.g. dem, worldcover and worldpop (the rasters), ir_stations, gs_highways, or a ward layer such as wards_chennai), as well as any sections asked; default all",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / sections
      Added value: +{
      +  "description": "Read only these sections (an array, or one comma-separated string); default all",
      +  "items": {
      +    "enum": [
      +      "place",
      +      "land",
      +      "climate",
      +      "water",
      +      "hazards",
      +      "protected",
      +      "access",
      +      "services",
      +      "infrastructure"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare a safe, idempotent, read-only, non-open-world read, so the description is free to add cost and failure context — roughly 0.1–0.3 s per section versus up to 2 s for everything. It also discloses the return shape (a one-line `summary` plus `sections` carrying credit, licence, scale, vintage and status) and the error naming valid sections. The only gap is that open_only's licensing implication is left to the schema.

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?

The purpose is front-loaded in the first clause, but the opening sentence then runs on through a very long semicolon-separated inventory of dozens of data types, which is denser than needed to pick or invoke the tool. The later guidance about sections/layers is well structured, so the excess is in the enumeration rather than the routing logic.

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?

For a broad geospatial aggregation tool with five parameters and no output schema, the description covers the domain, the cost trade-off of narrow versus broad calls, the shape of the returned object, error semantics, and where to hand off atmospheric queries. Nothing needed to call it correctly at either scope is missing.

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

Parameters4/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 climbs above that by mapping layers to sections (the lookup relationship), giving concrete lat/lng examples, and modeling the narrow-versus-broad call pattern. It stops short of explaining open_only or the per-section enum semantics, leaving those to 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 opening clause states a specific verb and resource — 'What is on the ground at a point, in one call' — and immediately names the full data domain (admin units, land cover, water, hazards, protected areas, access, services, infrastructure). It also distinguishes itself from siblings by routing atmospheric questions to the mugilu MCP's conditions_at, so an agent can separate this from ground_at, nearby or locate without opening a schema.

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?

It gives explicit when-to-use branches: narrow questions pass sections or layers, broad screening questions pass neither, and it supplies worked mappings ('which ward is this?' -> sections: ["place"]; 'nearest railway station' -> layers: ["ir_stations"]). It also names the supporting lookup tools (list_layers, get_layer_detail) and states that unknown sections or unread layers are errors, which is genuine routing guidance rather than inference.

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.