Skip to main content
Glama

list_layers

Read-onlyIdempotent

List available geo layers. Use to discover what data bharatlas has. Returns layer IDs, names, row counts, categories, realm (below, ground or air) and, for the layers the point lookups read, lookups ({ground: section, surface: section}: the section of ground_at or surface_at that reads the layer). Filter by category (boundaries, city-wards, environment, water, agriculture, transport, etc.), realm, admin level (state, district, block, village, etc.), source, or text search.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_layers"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoText search across layer IDs, sources, and descriptions
levelNoFilter by admin level: state, district, subdistrict, block, village, etc.
limitNoMax results (default 20)
realmNoFilter by realm: below (rocks, faults, minerals, aquifers, groundwater), ground (boundaries, wards, rivers, forests, roads, places), air (cyclone tracks)
offsetNoSkip N results for pagination
sourceNoFilter by data source: LGD, SOI, Bhuvan, OpenCity, DataMeet, etc.
categoryNoFilter by category: boundaries, city-wards, people, environment, water, agriculture, transport, infrastructure, health-edu, economy

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / realm
      Added value: +{
      +  "description": "Filter by realm: below (rocks, faults, minerals, aquifers, groundwater), ground (boundaries, wards, rivers, forests, roads, places), air (cyclone tracks)",
      +  "enum": [
      +    "below",
      +    "ground",
      +    "air"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"Filter by category: boundaries, city-wards, people, environment, water, agriculture, transport, infrastructure, health-edu"New value: +"Filter by category: boundaries, city-wards, people, environment, water, agriculture, transport, infrastructure, health-edu, economy"
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description earns credit for adding response-shape detail: row counts per layer, realm classification, and especially the `lookups` map showing which section of ground_at or surface_at reads each layer. That cross-tool behavior is real context an agent could not infer from structured fields. It does not discuss pagination limits or ordering, keeping it below a 5.

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?

The purpose is front-loaded in the first sentence, followed by return-shape and filters. It is dense but every clause carries information; the parenthetical `lookups` explanation is long but genuinely needed given there is no output schema. Minor redundancy with the schema's filter descriptions keeps it from a 5.

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?

With seven optional params, no output schema, and a discovery role, the description covers purpose, return fields, and filter surface adequately. What is missing is pagination/limit behavior and any hint about result ordering or total counts, which matter for a list tool with a default limit of 20.

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%, and the schema already enumerates realm values, category values, and source examples; the description largely restates these filter dimensions. The one addition is the gloss on realm ('below, ground or air'), which duplicates the enum description. Baseline 3 is appropriate since the schema does the semantic work.

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+resource ('List available geo layers') and frames the intent ('discover what data bharatlas has'). It then enumerates the returned fields (layer IDs, names, row counts, categories, realm, lookups), which clearly separates it from siblings like get_layer_detail or list_categories.

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?

Explicitly states the use case — discovery of available data — and lists the dimensions you can filter on, giving an agent a clear selection context. It stops short of naming alternatives or exclusions (e.g., 'use get_layer_detail once you know the ID'), so it is strong but not complete routing guidance.

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.