Mt Code Search
mt_code_searchSearch the Montana Code Annotated BY TOPIC or keyword rather than citation -- "computing time deadline holiday", "landlord security deposit", "deliberate homicide". Covers all 54 MCA titles, including Title 25 chapter 20, the Montana Rules of Civil Procedure (Rule 6 computing time is MCA 25-20-206). Returns ranked sections with citation, heading and an opening excerpt; call mt_code_section with a result's citation for the full text. Full-text match, not semantic search. A query with no hits returns found:false. 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": {
"limit": 5,
"query": "computing time period days holiday"
},
"name": "mt_code_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results, default 10, max 25. | |
| query | Yes | Topic or keywords, e.g. "computing time period days holiday". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| count | No | Number of results returned | |
| found | No | True when at least one section matched | |
| match | No | all_words, or any_word when no section held every word | |
| query | No | The query searched | |
| reason | No | Machine-readable reason when found is false for an infrastructure cause | |
| source | No | Publisher and dataset | |
| message | No | ||
| results | No | Ranked sections | |
| mca_year | No | MCA edition the index was built from | |
| data_as_of | No | When the index was loaded |