Skip to main content
Glama

India Search Sections

india_search_sections
Read-onlyIdempotent

Search section headings across Indian acts by words, e.g. "murder" finds BNS s.103 "Punishment for murder". Optionally restrict to one act via act_id. Returns section number, heading and a text preview; use india_get_section for full text.

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": {
      "query": "murder"
    },
    "name": "india_search_sections"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax sections, 1-25 (default 10)
queryYesWords in the section heading or text
act_idNoRestrict to one act (act_id from india_search_acts)
jurisdictionNoCENTRAL (default) or a state name

Output Schema

NameRequiredDescriptionDefault
noteNo
foundNo
queryNo
sourceNo
sectionsNo
total_matchesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the non-obvious trait that results are a 'text preview' rather than full content, which signals a two-step retrieve pattern. It does not discuss pagination or how limit interacts with result ordering, so it stops short of full disclosure.

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 short clauses, front-loaded with purpose and example, then the narrowing option, then the escalation path. No filler and no repetition of annotation data.

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?

An output schema exists, so return values need not be spelled out, and the description still gives the useful preview caveat. The main omission is jurisdiction scope (CENTRAL vs state names), which materially changes results but is left entirely to the schema. Otherwise complete for a four-parameter search tool.

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 query, act_id, jurisdiction and limit are already documented with defaults. The description restates the act_id narrowing and clarifies that the query matches words in 'heading or text', but adds no syntax, format, or matching-rule detail beyond the schema. 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 ('Search section headings across Indian acts') and immediately grounds it with a concrete example ('"murder" finds BNS s.103'). It also distinguishes itself from the full-text sibling by naming india_get_section, so an agent can separate the two without opening a schema.

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

Usage Guidelines5/5

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

Explains the lookup pattern (word search on headings), states the optional narrowing path via act_id, and routes the agent to india_get_section when full text is needed. This is explicit when-to-use plus a named alternative with its selecting condition.

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.