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

india-gov-data-mcp

Get Citation

get_citation

Generate an official citation block for a data.gov.in dataset, including title, resource ID, portal URL, applied filters, and retrieval timestamp, so reports and answers can attribute government data properly.

Instructions

Generate an official citation for a data.gov.in dataset.

Returns a citation block including the dataset title, resource_id, portal URL, any applied filters, and the UTC timestamp of retrieval. Use this to attribute data properly in reports and answers.

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": "get_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
filtersNoFilters that were applied when the data was queried.
resource_idYesDataset ``resource_id``.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the return payload in detail: dataset title, resource_id, portal URL, applied filters, and the UTC retrieval timestamp. That tells the agent this is a non-destructive, self-contained generation step whose output is a rendered citation block. What it does not state is failure behavior, e.g. whether an unknown resource_id errors or produces a citation with missing fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Roughly three short lines with no filler. The action is stated first, the return contents second, the motivation last, which is the right ordering for an agent to decide quickly.

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?

An output schema exists, so the description need not enumerate return values — yet it still summarizes them helpfully. For a two-parameter, read-only citation tool this is close to sufficient; only edge-case behavior (invalid resource_id, empty filters) is left unaddressed.

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 already 100%, so the baseline is 3. The description earns a bump by explaining why the optional filters parameter exists: whatever filters are passed are echoed into the citation, making the citation accurately reflect how the data was queried. That is meaning beyond the schema's terse "Filters that were applied when the data was queried."

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?

The description opens with a specific verb+resource: "Generate an official citation for a data.gov.in dataset." That is unambiguous and clearly distinct in kind from data-querying siblings like query_records or aggregate_dataset. It stops short of naming which sibling to use first, but the operation is unique enough that no confusion arises.

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?

The closing line "Use this to attribute data properly in reports and answers" gives a concrete use case, but it is the only usage cue. There is no guidance on prerequisites (must the dataset already have been queried?), on when not to use it, or on any alternative tool for provenance/attribution needs.

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