Skip to main content
Glama

Indian-Legal-MCP

indian_legal_mcp_get_section_range

Get all sections between a start and end number (inclusive) with full text. Numeric comparison handles letter-suffixed numbers (like '108A'). If start and end are provided in reverse order, it silently corrects them and includes a note in the response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
act_codeYese.g. 'BNS'.
end_sectionYese.g. '110'.
start_sectionYese.g. '100'.

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?

With no annotations, the description carries the full behavioral burden and does disclose two non-obvious traits: numeric comparison that tolerates letter-suffixed identifiers ('108A') and silent auto-correction of reversed start/end with a note in the response. It stops short of stating the operation is read-only or describing result size/pagination behavior.

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?

Three sentences, each earning its place: purpose first, then the letter-suffix comparison rule, then the reverse-order behavior. Front-loaded and free of 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?

For a simple 3-parameter read tool with no output schema, the description covers the core operation and two boundary behaviors, and even alludes to a response note. Minor gaps remain around result scope and what act_code formats are accepted.

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 adds real meaning by explaining that start/end are compared numerically and that reversed ordering is tolerated instead of erroring. It adds no detail on act_code, which the schema only illustrates with 'BNS'.

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 gives a specific verb and resource ('Get all sections between a start and end number (inclusive) with full text'), which implicitly separates it from the single-section sibling indian_legal_mcp_get_section and from get_chapter/get_full_act. It never names an alternative, so the differentiation is inferential rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no sibling is referenced, so an agent must decide on its own between this range tool and get_section/get_full_act/list_sections. The tolerance behaviors described are edge-case handling, not routing guidance.

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.

Resources