Skip to main content
Glama

GLO Law

Department of corrections internal policies (NOT law)

corrections_policy
Read-onlyIdempotent

Internal policies of a state department of corrections, or of the Federal Bureau of Prisons (state="bop", federal), as the department posts them, by number or by keyword search (query; no stemming). Not law: not statutes, regulations or court rules (a Maine policy the department marks as adopted as a rule answers apa_marked true; for Kentucky GLO makes no claim about legal effect either way). A department can change its policies without notice, and policies it does not post are not here. An answer gives the number, title, the dates the file prints, the version replaced where the file names one, the date GLO read the file, and the department’s coverage_note; a revoked policy is listed with the successor its notice names; a number the department lists but does not post answers not posted; a held number answers its status and reason, never text. Departments loaded: one code each in the state enum, among them "ks-go" (Kansas facility General Orders); many are partial, with served and held counts per department. "hi" (Hawaii) serves text for only 40 of 204 posted files, machine-read with no human read; every other row of its list answers its reason, never text. A state absent from the enum is not loaded, which says nothing about whether its department has such a policy. The sources tool returns, per state code, the department’s source, read date, served and held counts, held reasons and number forms. Give number or query, not both.

Input Schema

NameRequiredDescriptionDefault
limitNomax search results, default 20, capped at 50 (search only)
queryNowords to match in the policies’ text (keyword, no stemming). Give number or query, not both
stateYesthe department: a state code (e.g. "va", "ks", "ks-go" for Kansas facility General Orders) or "bop" (the Federal Bureau of Prisons); each code’s department and coverage are given by sources(tool="corrections_policy", source=<code>)
numberNoa procedure, section, directive or policy number as the department prints it, e.g. "851.1", "OP 038.1", "01-103D" (Kansas), "TCF 15-101" (a Kansas facility General Order); number "contents" lists a department’s files where its coverage says so; the forms per department are given by sources(tool="corrections_policy", source=<code>)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/closed-world annotations, it discloses that policies change without notice, that unposted policies are absent, that revoked policies are listed with a successor, that held numbers return only status/reason and never text, and that Hawaii serves machine-read text for only 40 of 204 files. These are exactly the behavioral caveats an agent cannot infer from annotations or schema.

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

Conciseness3/5

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

It is front-loaded correctly — purpose and the not-law boundary come first, caveats after — and nearly every sentence carries unique information. However it is a dense, run-on block with repeated constructions (multiple "answers X, never text" clauses) and partially duplicates the schema's "give number or query, not both" rule, which costs it readability.

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 no output schema, the description fully carries the burden: it enumerates the returned fields (number, title, printed dates, replaced version, GLO read date, coverage_note) and explains the non-text outcomes for held, not-posted and revoked numbers. Coverage caveats for partial departments and Hawaii round out everything needed to call it 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 already 100%, so the baseline is 3, but the description adds real meaning: keyword matching does no stemming, the special number value "contents" lists a department's files, and number forms vary per department (Kansas General Orders such as "TCF 15-101", BOP "OP 038.1"). Only the limit parameter's behavior is left entirely to the schema.

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 first sentence names a specific resource (internal policies of a state DOC or the Federal BOP) and the two lookup modes (by number or by keyword query), and it explicitly carves out what it is not: statutes, regulations and court rules. That negative framing distinguishes it cleanly from siblings like statute, statute_search and citation without needing their schemas.

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 states a hard operational rule ("Give number or query, not both"), explains that a state absent from the enum simply isn't loaded, and routes the agent to sources(tool="corrections_policy", source=<code>) for per-department coverage and number forms. It stops short of explicitly naming which sibling to use when the target is actual law, though the "NOT law" framing implies it.

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.

Resources