Skip to main content
Glama
india-gov-data-mcp

india-gov-data-mcp

Search Catalog

search_catalog

Search data.gov.in by keyword to find matching datasets and retrieve their resource IDs, titles, ministries, and descriptions. Use it first to discover the resource ID needed for queries and exports.

Instructions

Search data.gov.in for datasets by keyword.

Returns up to limit matching datasets with their resource_id, title, ministry/sector, and description. Use this FIRST to discover the resource_id you need before calling other tools.

Examples of good queries:

  • "mandi prices agricultural commodities"

  • "air quality AQI pollution"

  • "census population state wise"

  • "electricity generation power"

  • "rural roads PMGSY"

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": {
      "query": "<query>"
    },
    "name": "search_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return (default 10, max 50).
queryYesKeywords to search for (e.g. ``"rainfall crop production"``).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the disclosure burden. It does well on output shape (resource_id, title, ministry/sector, description) and the limit cap, but says nothing about result ranking, auth/rate-limit behavior, or that there is no pagination offset to page beyond the limit.

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, then return shape, then usage order, then examples — a sensible hierarchy. The five-query example block is a little long but each example covers a distinct domain and earns its place for query formulation.

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?

An output schema exists, so return values need not be spelled out, and the description still summarizes them usefully. For a two-parameter discovery search, purpose, ordering, and query-shaping guidance are all present; nothing an agent needs to invoke it correctly 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, but the five worked query examples ("mandi prices agricultural commodities", "air quality AQI pollution", etc.) teach keyword style in a way the one-line schema example does not. That is real added meaning for the required query parameter.

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 and resource ("Search data.gov.in for datasets by keyword") and adds what the result set contains. The line "Use this FIRST to discover the resource_id you need before calling other tools" explicitly positions it against the query/aggregate siblings.

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 a clear ordering rule: call this before the other tools to obtain a resource_id, which is genuine workflow guidance. It stops short of naming a specific alternative or stating a when-not condition, so it lands just below the top of the scale.

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