Skip to main content
Glama

India Public APIs MCP

ogd_dataset_query

Read-onlyIdempotent

Query any data.gov.in OGD resource by resource_id (cached 6h, 500 uncached calls/day cap).

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": {
      "resource_id": "<resource_id>"
    },
    "name": "ogd_dataset_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
filtersNo
resource_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/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, open-world), so the description's job is additional context — and it delivers real operational facts: a 6-hour cache and a 500 uncached calls/day cap. It does not say what happens when the cap is exhausted (error vs. throttle) or how results are paginated.

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?

A single front-loaded sentence with no wasted words; the operational facts are compactly parenthesized. It is efficient, though the terseness contributes to the gaps in parameter and usage guidance.

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

Completeness2/5

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

For a query tool with a nested object parameter, no output schema, and no documented return shape, the description omits filter syntax, response structure, and rate-limit failure behavior. The cache and quota note is useful but insufficient for correct invocation beyond the simplest resource_id-only call.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, but it only clarifies resource_id. The nested 'filters' object (arbitrary string key/value pairs) and 'limit' (1-100, default 10) are completely unexplained — an agent cannot infer filter syntax or whether limit applies before or after filtering.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Query') and a specific resource ('any data.gov.in OGD resource'), plus the keying parameter (resource_id). This clearly distinguishes it from siblings like digipin_encode or pincode_lookup, though it does not explicitly contrast with get_api or search_apis.

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

Usage Guidelines3/5

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

Usage is only implied: the agent can infer it is for fetching records from a known resource_id, and that search_apis or get_api would come first to obtain that id. There is no explicit when-to-use statement, no exclusions, and no mention of which sibling to prefer for discovery.

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.