Skip to main content
Glama

India Get Section

india_get_section
Read-onlyIdempotent

Fetch the text of one section of an Indian act from India Code. Pass the act title (or act_id) and the section number, e.g. act "Indian Contract Act, 1872", section "73". For the repealed Indian Penal Code (e.g. "Section 302 IPC") it returns the current Bharatiya Nyaya Sanhita successor section (IPC 302 -> BNS 103) with the text, clearly marked as the successor, for a curated list of well-known offences.

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": {
      "act": "Indian Penal Code",
      "section": "302"
    },
    "name": "india_get_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYesAct title ("Indian Contract Act, 1872"), "Indian Penal Code"/"IPC", or an act_id from india_search_acts
sectionYesSection number, e.g. "302", "73", "498A"
jurisdictionNoCENTRAL (default) or a state name

Output Schema

NameRequiredDescriptionDefault
noteNo
foundNo
sourceNo
statusNo
requestedNo
bns_successorNo
text_is_successorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, and non-destructive behavior, so the description adds useful context by explaining the IPC-to-BNS successor mapping and that the successor is clearly marked. It still leaves some behavioral gaps, such as what happens when a section is not found or outside the curated list.

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?

The description is front-loaded with the core action and supported by concrete examples. It is reasonably concise, though the IPC successor sentence is dense and could be separated more cleanly.

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 rich annotations and an output schema, the description does not need to explain return formatting. It sufficiently covers the main invocation pattern and the notable IPC successor case, with only minor gaps around failure behavior and jurisdiction handling.

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 all three parameters. The description reinforces accepted act formats with examples, but it adds little parameter meaning beyond what the schema provides.

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 states a specific verb and resource: fetch the text of one section of an Indian act from India Code. It is clear what the tool returns, though it does not explicitly differentiate itself from siblings such as india_get_provision or india_search_sections.

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?

It tells the caller what to pass and gives a concrete example, which implies the intended use case. However, it provides no explicit when-to-use or when-not-to-use guidance relative to alternative section or provision lookup tools.

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.