Skip to main content
Glama

In Code Section

in_code_section
Read-onlyIdempotent

Get the FULL TEXT of a section of the Indiana Code, Indiana state law, by citation, plus when it was added or amended. "IC 9-21-5-5" is an oversized-vehicle speed limit (traffic, Title 9); "IC 32-31-3-6" defines "rent" in the landlord-tenant chapter (Title 32). An ARTICLE ("IC 24-16") or CHAPTER ("IC 24-16-4") reference also works, it returns that group's own section list (citation + heading for each) instead of failing, so you can pick the right one and call this again for its full text. Pass year (e.g. 2020) to retrieve a historical annual edition instead of the current code, Indiana publishes a separate archived edition per year. Keyless. Use for "what does Indiana Code 9-21-5-5 say" or to check an Indiana statute a lease, ticket, or 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": {
      "section": "9-21-5-5"
    },
    "name": "in_code_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoOptional 4-digit year for a historical annual edition, e.g. "2020". Omit for the current Indiana Code.
sectionYesSection, chapter, or article as cited, "9-21-5-5" (section), "24-16-4" (chapter), "24-16" (article). The title is the part before the first dash (title "7.1" is the one exception that itself contains a dot).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / section / description
      Previous value: -"Section, chapter, or article as cited — \"9-21-5-5\" (section), \"24-16-4\" (chapter), \"24-16\" (article). The title is the part before the first dash (title \"7.1\" is the one exception that itself contains a dot)."New value: +"Section, chapter, or article as cited, \"9-21-5-5\" (section), \"24-16-4\" (chapter), \"24-16\" (article). The title is the part before the first dash (title \"7.1\" is the one exception that itself contains a dot)."
  2. Changed2 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "section": "9-21-5-5"
      -  }
      -]New value: +[
      +  {
      +    "section": "9-21-5-5"
      +  },
      +  {
      +    "section": "24-16"
      +  }
      +]
    • changedInput schema / properties / section / description
      Previous value: -"Section as cited, e.g. \"9-21-5-5\" or \"32-31-3-6\". The title is the part before the first dash (title \"7.1\" is the one exception that itself contains a dot)."New value: +"Section, chapter, or article as cited — \"9-21-5-5\" (section), \"24-16-4\" (chapter), \"24-16\" (article). The title is the part before the first dash (title \"7.1\" is the one exception that itself contains a dot)."
  3. First observed

TDQS

A4.1/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 genuinely useful context beyond them: 'Keyless' (no auth), per-year archived editions, and the non-failing behavior for article/chapter inputs. It does not describe response size or any length limits for full statutory text.

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?

The core capability and return content come first, followed by citation granularity, the historical-edition parameter, and use cases. It is slightly long with two illustrative citation examples and a parenthetical title-parsing caveat, but no sentence is pure filler.

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?

With no output schema, the description carries the burden and does state what comes back: full text plus added/amended date for sections, and citation + heading lists for article/chapter references. Coverage is solid for a two-parameter lookup tool, with only edge cases (nonexistent citations, very long sections) left unstated.

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. The description still adds meaning: `year` is motivated by Indiana publishing a separate archived edition per year, and `section` is shown to accept three granularities with the 'pick the right one and call again' workflow, which the schema only states flatly.

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 Indiana Code ... by citation,' plus the amendment date. Concrete citation examples ('IC 9-21-5-5' speed limit, 'IC 32-31-3-6' rent definition) make the retrieval unit and scope unmistakable, and the citation-driven nature differentiates it from a keyword search sibling.

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 use cases ('what does Indiana Code 9-21-5-5 say', checking a statute a lease, ticket, or case relies on) and explains the article/chapter fallback path, including re-calling the tool with the chosen section. It does not explicitly name when to prefer in_code_search over this tool, so agents with a topical keyword rather than a citation get no direct routing advice.

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.