tx_admin_rule
Pack: texas-code · 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/tx_admin_rule for the schema, then POST the same URL with its arguments for the data.
Get the verbatim text of a Texas Administrative Code rule (agency regulation, NOT a statute) by citation, with subsection structure intact. “16 TAC 26.420(f)(3)(B)” is title 16 (Public Utility Commission), rule 26.420, subsection (f)(3)(B); pass it as citation, or as title “16” + rule “26.420” (+ optional subsection). Returns the rule heading, its place in the Code, the text of the requested subsection and everything under it, and the TexReg amendment history. A rule that does not exist answers found:false. Use for “text of 16 TAC 26.420”, “what does 22 TAC 153.1 say”, or any “Texas Administrative Code” / “TAC” / “Tex. Admin. Code” ask.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
citation | string | no | Full citation, e.g. “16 TAC 26.420(f)(3)(B)” or “22 Tex. Admin. Code 153.1”. Replaces title/rule/subsection. |
title | string | no | TAC title number, e.g. “16” (Economic Regulation), “22” (Examining Boards), “30” (Environmental Quality). |
rule | string | no | Rule as cited, chapter.rule, e.g. “26.420”. The chapter is the part before the dot. |
chapter | string | no | Chapter, only needed when rule is given without it (e.g. rule “420”, chapter “26”). |
subsection | string | no | Optional subsection path, e.g. “(f)(3)(B)”. Returns just that subsection and its clauses. |
Example call
Arguments
{
"citation": "16 TAC 26.420(f)(3)(B)"
}
curl
curl -X POST https://gateway.pipeworx.io/texas-code/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tx_admin_rule","arguments":{"citation":"16 TAC 26.420(f)(3)(B)"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tx_admin_rule', {
"citation": "16 TAC 26.420(f)(3)(B)"
});
More examples
{
"title": "22",
"rule": "153.1"
}
Response shape
| Field | Type | Description |
|---|---|---|
source | string | |
note | string | |
hint | string | |
found | boolean | |
reason | string | |
message | string | |
citation | string | |
heading | string | |
place_in_code | array | |
text | string | |
text_chars | number | |
subsections | array | |
history | string | null | |
data_as_of | string | null | |
subsections_present | array | |
requested_subsection | string | |
title | string | |
chapter | string | |
rule | string |
Full JSON Schema
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"note": {
"type": "string"
},
"hint": {
"type": "string"
},
"found": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"message": {
"type": "string"
},
"citation": {
"type": "string"
},
"heading": {
"type": "string"
},
"place_in_code": {
"type": "array",
"items": {
"type": "string"
}
},
"text": {
"type": "string"
},
"text_chars": {
"type": "number"
},
"subsections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"designator": {
"type": "string"
},
"text": {
"type": "string"
}
},
"additionalProperties": true
}
},
"history": {
"type": [
"string",
"null"
]
},
"data_as_of": {
"type": [
"string",
"null"
]
},
"subsections_present": {
"type": "array",
"items": {
"type": "string"
}
},
"requested_subsection": {
"type": "string"
},
"title": {
"type": "string"
},
"chapter": {
"type": "string"
},
"rule": {
"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 texas-code pack
{
"mcpServers": {
"texas-code": {
"url": "https://gateway.pipeworx.io/texas-code/mcp"
}
}
}
See Getting Started for client-specific install steps.