Skip to main content
Glama

Mi Admin Rule

mi_admin_rule
Read-onlyIdempotent

Get the FULL TEXT of a rule from the Michigan Administrative Code, agency rules that implement Michigan statutes (licensing, health, safety, and other department regulations), by citation like "R 400.4142". Different from mi_compiled_law, which serves only statutes (MCL). Currently indexes the rule sets listed in rule_sets_covered on a miss; a citation outside those is reported as not-yet-indexed, not as nonexistent. Example: "R 400.4142" is the Child Caring Institutions rule on health-service policies, including medication storage and dispensing. 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": "R 400.4142"
    },
    "name": "mi_admin_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
citationYesRule citation, e.g. "R 400.4142" or "400.4142". The part before the dot is the chapter.

Output Schema

NameRequiredDescriptionDefault
urlNo
hintNo
ruleNoThe rule number, e.g. "4142".
textNoFull rule text.
foundNoFalse when the citation is unparsed, not indexed, or has no stored text yet.
reasonNoOn a miss: "unparsed_citation" | "unavailable" | "rule_not_found" | "not_indexed".
sourceNo
chapterNoThe part of the citation before the dot, e.g. "400".
headingNoThe rule's title line.
messageNo
citationNoThe rule citation, e.g. "R 400.4142".
rule_setNoThe department rule-set booklet this rule belongs to.
data_as_ofNo
text_charsNo
attributionNo
publicationNoThe booklet's publication id, e.g. "BCAL-Pub-452".
served_fromNo"stored-copy" when answered from the baked R2 copy.
rule_sets_coveredNoPresent on a miss: which rule sets this pack indexes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "citation": "R 400.4142"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "attribution": {
      +      "type": "string"
      +    },
      +    "chapter": {
      +      "description": "The part of the citation before the dot, e.g. \"400\".",
      +      "type": "string"
      +    },
      +    "citation": {
      +      "description": "The rule citation, e.g. \"R 400.4142\".",
      +      "type": "string"
      +    },
      +    "data_as_of": {
      +      "type": "string"
      +    },
      +    "found": {
      +      "description": "False when the citation is unparsed, not indexed, or has no stored text yet.",
      +      "type": "boolean"
      +    },
      +    "heading": {
      +      "description": "The rule's title line.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "hint": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "publication": {
      +      "description": "The booklet's publication id, e.g. \"BCAL-Pub-452\".",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "reason": {
      +      "description": "On a miss: \"unparsed_citation\" | \"unavailable\" | \"rule_not_found\" | \"not_indexed\".",
      +      "type": "string"
      +    },
      +    "rule": {
      +      "description": "The rule number, e.g. \"4142\".",
      +      "type": "string"
      +    },
      +    "rule_set": {
      +      "description": "The department rule-set booklet this rule belongs to.",
      +      "type": "string"
      +    },
      +    "rule_sets_covered": {
      +      "description": "Present on a miss: which rule sets this pack indexes.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "served_from": {
      +      "description": "\"stored-copy\" when answered from the baked R2 copy.",
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "text": {
      +      "description": "Full rule text.",
      +      "type": "string"
      +    },
      +    "text_chars": {
      +      "type": "number"
      +    },
      +    "url": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "citation": "R 400.4142"
      -  }
      -]
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "attribution": {
      -      "type": "string"
      -    },
      -    "chapter": {
      -      "description": "The part of the citation before the dot, e.g. \"400\".",
      -      "type": "string"
      -    },
      -    "citation": {
      -      "description": "The rule citation, e.g. \"R 400.4142\".",
      -      "type": "string"
      -    },
      -    "data_as_of": {
      -      "type": "string"
      -    },
      -    "found": {
      -      "description": "False when the citation is unparsed, not indexed, or has no stored text yet.",
      -      "type": "boolean"
      -    },
      -    "heading": {
      -      "description": "The rule's title line.",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "hint": {
      -      "type": "string"
      -    },
      -    "message": {
      -      "type": "string"
      -    },
      -    "publication": {
      -      "description": "The booklet's publication id, e.g. \"BCAL-Pub-452\".",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "reason": {
      -      "description": "On a miss: \"unparsed_citation\" | \"unavailable\" | \"rule_not_found\" | \"not_indexed\".",
      -      "type": "string"
      -    },
      -    "rule": {
      -      "description": "The rule number, e.g. \"4142\".",
      -      "type": "string"
      -    },
      -    "rule_set": {
      -      "description": "The department rule-set booklet this rule belongs to.",
      -      "type": "string"
      -    },
      -    "rule_sets_covered": {
      -      "description": "Present on a miss: which rule sets this pack indexes.",
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "served_from": {
      -      "description": "\"stored-copy\" when answered from the baked R2 copy.",
      -      "type": "string"
      -    },
      -    "source": {
      -      "type": "string"
      -    },
      -    "text": {
      -      "description": "Full rule text.",
      -      "type": "string"
      -    },
      -    "text_chars": {
      -      "type": "number"
      -    },
      -    "url": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), so the bar is lower. The description adds genuinely useful context beyond them: the tool is keyless, indexing is limited to the rule sets in `rule_sets_covered`, and out-of-scope citations return a not-yet-indexed signal rather than a false negative.

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?

Purpose and sibling differentiation are front-loaded in the first sentence, followed by scope caveats. It is somewhat dense and the illustrative detail about medication storage/dispensing is borderline expendable, but it demonstrates what a real rule citation yields and nothing is confusing.

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 single-parameter lookup with an output schema, the description covers what's needed: input format, corpus boundaries, miss semantics, and access model. Return-value shape is rightly left to the output schema; only the search-vs-citation interaction is left implicit.

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% and the parameter already documents both accepted forms and that the pre-dot segment is the chapter. The description's contribution is mostly a repeated example citation, so it adds little meaning beyond structured data — the 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 rule from the Michigan Administrative Code") and explicitly scopes the corpus (agency rules implementing statutes). It also names the sibling it is not — mi_compiled_law, which serves statutes only — so an agent can route between the two without opening 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?

Clear usage context: this is a citation-based lookup versus mi_compiled_law for statutes, and it warns that a miss means 'not-yet-indexed' rather than 'nonexistent', which is exactly the condition an agent needs before concluding a rule doesn't exist. It doesn't address keyword lookup versus citation lookup, but that distinction is partly implied by "by citation" and the schema's required citation parameter.

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.