Skip to main content
Glama

Bd Law Search

bd_law_search
Read-onlyIdempotent

Search the Laws of Bangladesh (Ministry of Law, Justice and Parliamentary Affairs) for Acts and Ordinances by words in the title or text, in English or Bangla (e.g. "penal code", "labour", "দণ্ডবিধি", "বাংলাদেশ শ্রম আইন"). Returns act_id, title, whether the register marks it repealed, and a text snippet; section-level hits are included unless scope is "acts". Use act_id with bd_law_get.

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": "penal code",
      "scope": "acts"
    },
    "name": "bd_law_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoResult page, 20 per page (default 1).
queryYesWords from the Act title or text, English or Bangla, e.g. "Labour Act".
scopeNo"all" (default) for Acts and section hits, or "acts" for Acts only.

Output Schema

NameRequiredDescriptionDefault
noteNo
pageNo
foundNo
queryNo
sourceNo
resultsNo
returnedNo
publisherNo
data_as_ofNo
empty_reasonNo
total_matchesNo

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, openWorld, non-destructive), so the description focuses on behavior: which fields come back (act_id, title, repealed flag, snippet) and the non-obvious default that section-level hits are merged into results. It does not mention result caps or pagination limits beyond what the schema states, keeping it just below the top mark.

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 front-loaded and information-dense: identity and query surface first, then return shape, scope caveat, and the follow-up call. No filler or redundant restatement of the tool name.

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 an output schema present, the description need not describe return values in detail, and it still names the key fields and the repealed flag. Combined with rich annotations and fully documented parameters, an agent has everything needed to select and call this tool 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 3 is the floor, and the description earns extra credit by clarifying that queries work in both English and Bangla with concrete transliterated and Bangla-script examples, and by restating how scope changes result composition. Page-size and paging semantics are left entirely to the schema, which is acceptable given full coverage.

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?

The description names a specific verb (Search) and resource (the Laws of Bangladesh register of Acts and Ordinances), states the searchable fields (title or text) and languages, and explicitly separates this tool from the sibling retrieval tool by pointing to bd_law_get.

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 gives clear invocation context — search here by keyword, then use the returned act_id with bd_law_get — plus a scope-based condition (section hits are included unless scope is "acts"). It stops short of stating exclusions or when a different search tool (e.g. company_register_search) would be appropriate, but the search-vs-fetch workflow is unambiguous.

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.