Skip to main content
Glama

India Search Judgments

india_search_judgments
Read-onlyIdempotent

Full-text search over the TEXT of Indian court judgments: the Supreme Court of India and 25 High Courts, about 32.6 million passages of judgment text (1950 onward). Finds the judgments that discuss a subject or quote a phrase, e.g. "adverse possession limitation", "anticipatory bail economic offences", "doctrine of basic structure". Returns one result per judgment: case title, court, decision date, citation, case number, CNR, disposal, an excerpt around the matched words and a ref for india_get_judgment. Filter by court (e.g. "delhi", "bombay", "supreme-court") and by year or from_year/to_year. Source: Open India Law (Vaquill AI), CC BY 4.0.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": 2019,
      "court": "delhi",
      "query": "adverse possession"
    },
    "name": "india_search_judgments"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoOptional: a single decision year
courtNoOptional: "supreme-court" or a High Court by name or slug, e.g. "delhi", "Bombay", "punjab-and-haryana", "kerala"
limitNoMax judgments, 1-25 (default 10)
queryYesWords to find in the judgment text, e.g. "adverse possession limitation"
to_yearNoOptional: last decision year
from_yearNoOptional: first decision year

Output Schema

NameRequiredDescriptionDefault
noteNo
countNo
foundNo
matchNo
queryNo
scopeNo
caveatNo
sourceNo
resultsNo
data_as_ofNo
attributionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds real value beyond that: corpus size, temporal coverage, source and license (Open India Law / CC BY 4.0), and the result-per-judgment granularity with an excerpt around matched terms. It does not discuss result ordering, relevance ranking, or what happens when a query returns nothing.

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 the core action and corpus, then return shape, then filters, then provenance — a sensible order for an agent scanning for eligibility. It is a single dense paragraph with no filler sentences, though the license/source sentence is the least load-bearing for invocation decisions.

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?

For a read-only search tool with a full output schema and complete parameter documentation, the description supplies everything an agent needs: scope, corpus, query style, filter options, result fields, and the handoff to india_get_judgment. Return-value detail is correctly left to the output schema.

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 documents query, court, year, from_year/to_year and limit. The description's court examples ('delhi', 'bombay', 'supreme-court') and year filtering largely restate what the schema properties say, adding little semantic meaning the agent could not get from the schema itself.

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 ('Full-text search over the TEXT of Indian court judgments') and pins the corpus precisely: Supreme Court plus 25 High Courts, ~32.6M passages, 1950 onward. The emphasis on 'TEXT of ... judgments' separates it from the sibling act/provision/section search tools without needing to name them, and the sample queries show the expected query shape.

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?

Explains the intended use case ('Finds the judgments that discuss a subject or quote a phrase') with three concrete query examples, and routes follow-up retrieval to india_get_judgment via the returned ref. It never states when to prefer india_search_acts/provisions/sections instead, so the exclusion half of the guidance is missing.

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.