Skip to main content
Glama

India Get Judgment

india_get_judgment
Read-onlyIdempotent

Fetch the stored text of one Indian court judgment found by india_search_judgments, by its ref (e.g. "delhi:2019:123456"). Returns the case title, court, date, citation, CNR and the judgment text with the passage overlaps removed; long judgments are returned from start_chunk in pieces of max_chars (default 20000) with next_start_chunk to continue. 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": {
      "ref": "supreme-court:2007:18041",
      "max_chars": 3000
    },
    "name": "india_get_judgment"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThe ref from india_search_judgments, e.g. "delhi:2019:123456"
max_charsNoApproximate max characters to return, 500-200000 (default 20000)
start_chunkNoContinue from this passage number (next_start_chunk of the previous call); default 0

Output Schema

NameRequiredDescriptionDefault
cnrNo
refNo
textNo
courtNo
foundNo
caveatNo
sourceNo
citationNo
truncatedNo
case_titleNo
data_as_ofNo
source_urlNo
attributionNo
case_numberNo
dispositionNo
start_chunkNo
chunks_totalNo
decision_dateNo
chunks_returnedNo
next_start_chunkNo

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 cover read-only/idempotent/no-destructive, so the description's added value is the chunking contract: long judgments come back from start_chunk in pieces of max_chars with next_start_chunk to continue, and overlapping passages are removed. It also discloses provenance and licensing (Open India Law, CC BY 4.0). It does not mention rate limits or what happens with an invalid ref, so it stops short of a 5.

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?

Three information-dense sentences, front-loaded with the action and identifier, then returns, then pagination, then attribution. Every clause carries signal, though the final source/licence sentence is housekeeping that could be trimmed for an agent-facing definition.

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 single-document fetch with 3 parameters and full schema coverage, the description covers the prerequisite, the pagination loop, deduplication of overlapping passages, and provenance. The enumerated return fields are slightly redundant given the output schema exists, but nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so the schema already documents ref, max_chars (range and default) and start_chunk. The description's contribution is mainly relational — that next_start_chunk from the previous response feeds start_chunk and that max_chars sets piece size — which is useful but largely restates the field descriptions, so baseline 3 is appropriate.

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 ("Fetch the stored text of one Indian court judgment") and pins down the identifying argument ("by its ref (e.g. \"delhi:2019:123456\")"). It explicitly names india_search_judgments as the tool that produces the ref, distinguishing it from the search siblings without opening either schema.

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?

It clearly implies the prerequisite workflow: a ref "found by india_search_judgments" must exist before calling this. There are no explicit when-not conditions or named alternatives for other retrieval tools (e.g. india_get_provision), but for a single-record fetch that is a minor gap rather than a missing one.

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.