Skip to main content
Glama

Pa Code Section

pa_code_section
Read-onlyIdempotent

Get the FULL TEXT of a section of the Pennsylvania Code (the state's administrative REGULATIONS, not the Consolidated Statutes) by citation, e.g. "25 Pa. Code section 105.13" or "55 Pa. Code section 3270.1". Returns the current text with subsection structure, the Authority and Source notes, and the date through which the Code is current. Pass citation ("25 Pa. Code section 105.13") or title + section. Optional subsection (e.g. "d") returns just that subsection. Keyless.

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": {
      "citation": "25 Pa. Code § 105.13"
    },
    "name": "pa_code_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoPennsylvania Code title number, e.g. "25" (Environmental Protection), "55" (Human Services), "52" (Public Utilities).
sectionNoSection number as cited, e.g. "105.13" or "3270.1". The part before the dot is the chapter.
citationNoFull citation, e.g. "25 Pa. Code section 105.13" or "55 Pa. Code 3270.1". Alternative to title + section.
subsectionNoOptional lettered subsection to return alone, e.g. "d" or "(d)".

Output Schema

NameRequiredDescriptionDefault
urlNo
textNo
foundNo
titleNo
reasonNo
sourceNo
headingNo
messageNo
sectionNo
citationNo
authorityNo
data_as_ofNo
subsectionNo
text_charsNo
source_noteNo
subsectionsNo
current_throughNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / citation / description
      Previous value: -"Full citation, e.g. \"25 Pa. Code § 105.13\" or \"55 Pa. Code 3270.1\". Alternative to title + section."New value: +"Full citation, e.g. \"25 Pa. Code section 105.13\" or \"55 Pa. Code 3270.1\". Alternative to title + section."
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered. The description adds real value beyond that: it discloses the return payload (subsection structure, Authority and Source notes, currency date) and that access is keyless, which an agent cannot infer from annotations.

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?

Front-loads the core action and corpus disambiguation, then moves to invocation forms, then to return contents. Every sentence carries distinct information (corpus identity, examples, parameter forms, return shape, keyless access) with 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?

For a four-parameter, zero-required lookup tool with an output schema and full annotation coverage, the description supplies everything needed: what corpus, how to cite, how to narrow, and what comes back. Nothing an agent needs to call it correctly is missing.

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 all four parameters are already documented, including the citation-vs-title+section alternative and the subsection format. The description restates the same examples and the either/or pattern without adding syntax or edge-case meaning beyond the schema, so baseline 3 applies.

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 ('Get the FULL TEXT of a section of the Pennsylvania Code') and explicitly disambiguates the corpus ('administrative REGULATIONS, not the Consolidated Statutes'), which separates it from the pa_consolidated_statute sibling. Concrete citation examples make the target unambiguous.

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?

Gives clear invocation guidance: pass `citation` OR `title` + `section`, with optional `subsection` to narrow to one lettered subsection. It does not explicitly contrast with pa_code_search (search vs. direct fetch), so the when-not-to-use case is left implicit.

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.