Skip to main content
Glama

Resolve Indian Citation

resolve_india_citation
Read-only

The provision named by an Indian legal citation, accepting common abbreviations and flexible element order. Use when a user provides a citation rather than a research topic, such as s.302 IPC, O. 39 R. 1 CPC or Art. 21 of the Constitution. Subsection and clause references are supported. Malformed citations are rejected rather than reported as not found. Cost: 2 credits.

Input Schema

NameRequiredDescriptionDefault
citeYesOne citation string.
stateNoNarrow to one jurisdiction. Required for a State-universal title, where the same short title names a different act in each State.
asAtDateNoThe date the conduct or document belongs to, as YYYY-MM-DD. This is how a caller says which side of the 2023 recodification they mean: without it, a criminal section number resolves to BOTH the old code and its replacement, because both are live law.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / state / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "andaman-and-nicobar-islands",
      +      "andaman-nicobar",
      +      "andhra-pradesh",
      +      "arunachal-pradesh",
      +      "assam",
      +      "bihar",
      +      "central",
      +      "chandigarh",
      +      "chhattisgarh",
      +      "dadra-and-nagar-haveli-and-daman-and-diu",
      +      "dadra-nagar-haveli",
      +      "delhi",
      +      "goa",
      +      "gujarat",
      +      "haryana",
      +      "himachal-pradesh",
      +      "jammu-and-kashmir",
      +      "jammu-kashmir",
      +      "jharkhand",
      +      "karnataka",
      +      "kerala",
      +      "ladakh",
      +      "lakshadweep",
      +      "madhya-pradesh",
      +      "maharashtra",
      +      "manipur",
      +      "meghalaya",
      +      "mizoram",
      +      "nagaland",
      +      "odisha",
      +      "puducherry",
      +      "punjab",
      +      "rajasthan",
      +      "sikkim",
      +      "tamil-nadu",
      +      "telangana",
      +      "tripura",
      +      "uttar-pradesh",
      +      "uttarakhand",
      +      "west-bengal"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / state / enum
      Removed value: -[
      -  "andaman-and-nicobar-islands",
      -  "andaman-nicobar",
      -  "andhra-pradesh",
      -  "arunachal-pradesh",
      -  "assam",
      -  "bihar",
      -  "central",
      -  "chandigarh",
      -  "chhattisgarh",
      -  "dadra-and-nagar-haveli-and-daman-and-diu",
      -  "dadra-nagar-haveli",
      -  "delhi",
      -  "goa",
      -  "gujarat",
      -  "haryana",
      -  "himachal-pradesh",
      -  "jammu-and-kashmir",
      -  "jammu-kashmir",
      -  "jharkhand",
      -  "karnataka",
      -  "kerala",
      -  "ladakh",
      -  "lakshadweep",
      -  "madhya-pradesh",
      -  "maharashtra",
      -  "manipur",
      -  "meghalaya",
      -  "mizoram",
      -  "nagaland",
      -  "odisha",
      -  "puducherry",
      -  "punjab",
      -  "rajasthan",
      -  "sikkim",
      -  "tamil-nadu",
      -  "telangana",
      -  "tripura",
      -  "uttar-pradesh",
      -  "uttarakhand",
      -  "west-bengal"
      -]
  2. Changed3 schema fields changed
    • changedInput schema / properties / asAtDate / description
      Previous value: -"Which side of the 2023 recodification you mean, as YYYY-MM-DD."New value: +"The date the conduct or document belongs to, as YYYY-MM-DD. This is how a caller says which side of the 2023 recodification they mean: without it, a criminal section number resolves to BOTH the old code and its replacement, because both are live law."
    • addedInput schema / properties / asAtDate / format
      Added value: +"date"
    • changedInput schema / properties / state / description
      Previous value: -"Narrow to one jurisdiction."New value: +"Narrow to one jurisdiction. Required for a State-universal title, where the same short title names a different act in each State."
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, and the description adds real value beyond them: abbreviation/element-order tolerance, the error contract ('malformed citations are rejected rather than reported as not found'), and the explicit 2-credit cost. It does not address rate limits or whether resolution is deterministic across recodification boundaries beyond what the asAtDate param says.

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?

Front-loads purpose, then usage context, then behavioral edge cases, then cost — each sentence carries distinct, non-redundant information with no filler.

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 an output schema present, return values need no explanation, and the description covers usage, failure mode, and cost. The only gap is not routing multi-citation callers to the batch sibling, which an agent might otherwise attempt one at a time.

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 description coverage is 100%, so the schema already justifies the parameters, including the rich state and asAtDate explanations. The description adds only generic input-flexibility commentary and says nothing specific about state or asAtDate, so the baseline 3 applies.

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?

Identifies a specific resource (the provision named by an Indian legal citation) and behavior (accepts abbreviations, flexible element order), with concrete input examples like 's.302 IPC' and 'Art. 21 of the Constitution'. The scope is distinct from siblings such as resolve_india_citations_batch (singular input) and get_act_section (which requires structured act/section identifiers). Minor nit: the opening is a verbless fragment, but it still conveys purpose unambiguously.

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 when to use it ('when a user provides a citation rather than a research topic'), steering the agent away from search-style siblings. It does not, however, mention the obvious alternative for multiple citations (resolve_india_citations_batch), which is the most likely sibling confusion point.

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.