Skip to main content
Glama

Department of corrections internal policies (NOT law)

find_agency_policies
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; Kentucky’s policies are adopted by reference in its regulations, 501 KAR 6, in a dated edition the served copy may not match). 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 describe_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. topic="grievance", "visitation", "mail" (mail and publications), "restrictive-housing" or "use-of-force" (use of force and restraints), alone or with one state, answers a cross-state topic view: per department, the policies GLO found by title on the topic and their GLO status when the view was built; recall is not measured, and no match found is not evidence of none.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_agency_policies"
  }
}

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
stateNothe 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 describe_sources(tool="find_agency_policies", source=<code>); required unless topic is given
topicNoa cross-state topic view, "grievance", "visitation", "mail", "restrictive-housing" or "use-of-force": alone, every department’s row in one answer; with state, that department’s row; never with number or query
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 describe_sources(tool="find_agency_policies", source=<code>)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/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 closed-world, so the safety profile is covered. The description goes well beyond that with what an answer contains (number, title, printed dates, replaced version, GLO read date, coverage_note), how revoked/not-posted/held numbers respond, and that content can change without notice. However, it does not address result ordering or pagination behavior for keyword searches, which is the main behavioral gap remaining.

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?

Content is largely earned given the tool's edge cases, and the purpose is front-loaded in the first clause. But it is delivered as one dense paragraph of stacked parentheticals (Kentucky's 501 KAR 6 aside, Hawaii's 40-of-204 note), which makes it hard to scan and buries operative rules like 'Give number or query, not both' mid-stream.

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 five-parameter tool with no output schema, the description covers return shape, per-jurisdiction coverage caveats, held/revoked/not-posted outcomes, and the machine-read-only Hawaii limitation. An agent has what it needs to interpret an empty or partial result 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 100%, so the baseline is 3, but the description adds real meaning: no stemming, example number forms per department, that number 'contents' lists files where coverage allows, and that topic views report per-department title matches with GLO status while recall is unmeasured. That is genuine semantic value beyond the schema's field descriptions.

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?

Opens with a specific verb+resource: internal policies of a state corrections department or the BOP, retrievable by number or keyword. It also draws an explicit boundary against a whole class of siblings ('Not law: not statutes, regulations or court rules'), so an agent can distinguish it from get_statute/search_statute_text without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete selection rules: 'Give number or query, not both', topic 'alone or with one state' but 'never with number or query', and routes coverage questions to describe_sources. It also names exclusion conditions (unposted policies, states absent from the enum) so the agent knows when this tool will legitimately return nothing.

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