Skip to main content
Glama

Search bare acts

search_bare_acts
Read-onlyIdempotent

Keyword search across the sections of the Indian Acts in this dataset — titles, keywords, the library’s section text and plain-English explanations — and across every enacted section heading of the BNS and BNSS. Returns the closest-matching sections with a one-line summary and a link. Use when the user describes a topic but does not know the Act or section number.

Input Schema

NameRequiredDescriptionDefault
actNoLimit the search to one Act: constitution = Constitution; bns = BNS 2023; bnss = BNSS 2023; ipc = IPC 1860; crpc = CrPC 1973; sarfaesi = SARFAESI Act 2002; ni-act = NI Act 1881; contract-act = Contract Act 1872; companies-act = Companies Act 2013; ibc = IBC 2016; cpc = CPC 1908; consumer-protection = CPA 2019; rera = RERA 2016; tpa = TPA 1882; arbitration-act = Arbitration Act 1996; bsa = BSA 2023; it-act = IT Act 2000; rti-act = RTI Act 2005; limitation-act = Limitation Act 1963; specific-relief = Specific Relief Act 1963
limitNoNumber of results, 1–10 (default 5)
queryYesWords to search for, e.g. "anticipatory bail", "cheque dishonour notice", "possession of secured asset", "section 17 SARFAESI"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-open-world), so the description's added value is the indexed corpus and the result format. Disclosing that it searches library editorial text and BNS/BNSS headings (not just statutes) is meaningful behavioral context. It doesn't mention ranking/pagination behavior, which keeps it at a 4.

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?

Two sentences, both load-bearing: the first defines the search surface, the second defines when to reach for it. Scope is front-loaded and there is no filler.

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?

With no output schema, the description still communicates the return format (sections, one-line summary, link) and the search surface. Combined with a fully documented 3-parameter schema and complete annotations, an agent has everything needed to select and invoke it correctly.

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 100%, so baseline is 3, but the description goes further by enumerating what the 'query' string actually matches against (titles, keywords, section text, explanations, enacted headings), which constrains how an agent should phrase queries. The act and limit params are left entirely to the schema.

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 (keyword search) and resource scope: titles, keywords, section text, plain-English explanations, plus BNS/BNSS section headings. It also describes the return shape (closest-matching sections with a one-line summary and a link), so the agent knows exactly what this tool produces versus a section-lookup tool.

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?

Explicitly says 'Use when the user describes a topic but does not know the Act or section number', which cleanly separates it from the sibling lookup_bare_act_section. It does not name that sibling or state the inverse condition (known section number ⇒ use the other tool), so it stops just short of a 5.

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