Skip to main content
Glama

Pa Consolidated Statute

pa_consolidated_statute
Read-onlyIdempotent

Get the FULL TEXT of a section of the Pennsylvania Consolidated Statutes, Pennsylvania state law, by citation. "18 Pa.C.S. 2502" is murder; "75 Pa.C.S. 3802" is DUI. Returns the statutory text. Keyless. Use for "what does 18 Pa.C.S. 2502 say" or to check a Pennsylvania statute a case relies on.

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": {
      "title": "18",
      "section": "2502"
    },
    "name": "pa_consolidated_statute"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesPennsylvania title number, e.g. "18" (crimes), "75" (vehicles), "23" (domestic relations).
sectionYesSection as cited, e.g. "2502" or "3802". The first two digits are the chapter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds two useful facts beyond that — "Keyless" (no auth required) and "Returns the statutory text" — but says nothing about failure modes for bad citations or repealed sections, or about response size/format.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and resource, then examples, then usage cues — good ordering and no wasted paragraphs. There is minor redundancy between "FULL TEXT" and "Returns the statutory text" and between "Pennsylvania Consolidated Statutes" and "Pennsylvania state law".

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter citation lookup with no output schema, the definition covers what it returns (statutory text) and that no key is needed. What remains unaddressed is edge behavior — invalid citations, section-level granularity, or whether ancillary notes/annotations are included.

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 both parameters are already documented with examples and the title-number meanings. The description's example citations add illustrative color but no new syntax or constraint information beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 Consolidated Statutes... by citation") and anchors it with two concrete citation examples. The phrase "by citation" implicitly separates it from search-style siblings such as pa_code_search, but it never names or explicitly contrasts pa_code_section, which is the closest potential overlap.

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 explicit trigger phrasing: "Use for 'what does 18 Pa.C.S. 2502 say' or to check a Pennsylvania statute a case relies on." That covers the main use context well, but there are no exclusions or named alternatives telling the agent when to route to pa_code_search instead.

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.