bd_law_get

Pack: bangladesh · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/bd_law_get for the schema, then POST the same URL with its arguments for the data.

Read a Bangladesh Act or Ordinance from the Laws of Bangladesh: title, Act number, date, repealed status as the register states it (null when it states none) and the contents list; with section (e.g. “302” of the Penal Code 1860), the text of that section. Give act_id from bd_law_search, or act (title words).

Parameters

NameTypeRequiredDescription
act_idstringnoact_id from bd_law_search, e.g. “11” for the Penal Code 1860.
actstringnoAct title words, e.g. “Penal Code, 1860” (first Act match is used). Prefer act_id.
sectionstringnoSection number, e.g. “302” or “7A”. Omit for the Act overview.

Example call

Arguments

{
  "act_id": "11",
  "section": "302"
}

curl

curl -X POST https://gateway.pipeworx.io/bangladesh/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bd_law_get","arguments":{"act_id":"11","section":"302"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('bd_law_get', {
  "act_id": "11",
  "section": "302"
});

Response shape

FieldTypeDescription
foundboolean
reasonstring
act_idstring
titlestring
act_numberstring | null
date_of_assentstring | null
statusstring | null
status_statementstring | null
citationstring
urlstring
sectionstring
section_headingstring
textstring
truncatedboolean
section_countnumber
sectionsarray
notestring
publisherstring
sourcestring
data_as_ofstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "reason": {
      "type": "string"
    },
    "act_id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "act_number": {
      "type": [
        "string",
        "null"
      ]
    },
    "date_of_assent": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": [
        "string",
        "null"
      ]
    },
    "status_statement": {
      "type": [
        "string",
        "null"
      ]
    },
    "citation": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "section": {
      "type": "string"
    },
    "section_heading": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "truncated": {
      "type": "boolean"
    },
    "section_count": {
      "type": "number"
    },
    "sections": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "note": {
      "type": "string"
    },
    "publisher": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the bangladesh pack
{
  "mcpServers": {
    "bangladesh": {
      "url": "https://gateway.pipeworx.io/bangladesh/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026