> ## Documentation Index
> Fetch the complete documentation index at: https://otakusolutions.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# City Staff Portal

> Infrastructure tracking, code enforcement, MPD staffing analytics, paving projects, and executive briefing mode for Montgomery city employees.

<Frame caption="The City Staff Portal — infrastructure tracking, code enforcement, and operational intelligence.">
  <img src="https://mintcdn.com/otakusolutions/FOF9Ash-8JM0rAsn/images/citystaff-dashboard.png?fit=max&auto=format&n=FOF9Ash-8JM0rAsn&q=85&s=5080e8aef8fa15e2fcf97ea0a9e9bbb6" alt="City Staff Portal dashboard" width="1440" height="900" data-path="images/citystaff-dashboard.png" />
</Frame>

## Who Is This For?

Montgomery city staff — department heads, analysts, planners, and officials who need decision-ready data for the mayor, city council, planning department, or housing authority.

## Available Datasets

| Dataset                  | What It Shows                                              | Updated              |
| ------------------------ | ---------------------------------------------------------- | -------------------- |
| Paving Projects          | Street resurfacing — status, location, contractor, mileage | As projects progress |
| Code Violations          | Enforcement cases — type, status, lien status              | Real-time            |
| 311 Service Requests     | Departmental workload — requests by type, status, district | Real-time            |
| Pavement Assessment 2025 | Road condition ratings and quality scores                  | Annual               |
| City-Owned Properties    | Municipal property inventory for management                | Periodically         |
| Nuisance Reports         | Nuisance complaints and demolitions                        | Real-time            |

## Map Layers

The City Staff Portal map shows:

* **Paving Projects** — Color-coded by status and completion year
* **Code Violations** — Violation locations by type
* **311 Service Requests** — Request density and status
* **Council Districts** — Toggleable boundary overlay

## Sub-Pages

### MPD Staffing Dashboard

<Frame caption="MPD Staffing Dashboard — officer vacancy tracking, 911 center staffing, and district service demand.">
  <img src="https://mintcdn.com/otakusolutions/FOF9Ash-8JM0rAsn/images/citystaff-staffing.png?fit=max&auto=format&n=FOF9Ash-8JM0rAsn&q=85&s=5901a96387bfb292d424b129434b6f94" alt="MPD Staffing Dashboard" width="1440" height="900" data-path="images/citystaff-staffing.png" />
</Frame>

A comprehensive staffing and service demand dashboard for the Montgomery Police Department and related city services:

* **Officer vacancy tracking** — Authorized vs. filled positions across all ranks (Chief, Captain, Lieutenant, Sergeant, Corporal, Officer)
* **911 center staffing** — Current staffing levels and vacancy rates for the 911 dispatch center
* **District-level service demand** — 311 requests and code violations broken down by council district, showing which districts have the highest service needs
* **Paving infrastructure totals** — Summary of paving project miles and status across the city
* **AI-generated staffing reports** — Ask the AI to generate a formatted staffing report ready for presentations

<Tip>
  Ask the AI "Generate a staffing report for the MPD" to get a structured report with vacancy rates, district service demand, and infrastructure metrics — ready for council presentations.
</Tip>

## Example AI Questions

<CardGroup cols={1}>
  <Card title="Executive Briefing">
    "Give me an executive briefing on District 3 paving projects"
  </Card>

  <Card title="Trend Analysis">
    "What's the 311 request trend this quarter vs last?"
  </Card>

  <Card title="District Overview">
    "How many open code violations are in each district?"
  </Card>

  <Card title="Infrastructure">
    "Show pavement assessment scores for major corridors"
  </Card>

  <Card title="Staffing Report">
    "Generate a staffing report for the MPD"
  </Card>

  <Card title="911 Center">
    "What's the 911 center vacancy rate?"
  </Card>
</CardGroup>

## Executive Briefing Mode

When you ask for a "report," "briefing," or "summary for the mayor," the AI structures its response as:

1. **Key Finding** — One-sentence headline
2. **Data Points** — 3-5 specific metrics with sources
3. **Trend** — Direction and magnitude of change
4. **Recommendation** — What the data suggests the city should consider
5. **Data Sources** — Which datasets were used

## What the AI Can Do

The City Staff Portal AI assistant:

* Provides **analytical, report-oriented** responses ready for presentations
* Cites **precise field values, counts, percentages, and trends**
* Flags **data limitations and caveats** that could affect decisions
* **Cross-references datasets** for interdisciplinary insights
* Incorporates **public safety context** (MPD staffing, 911 center vacancies)
* Structures data for **easy inclusion in reports**
* Can **generate formatted staffing reports** with vacancy data and service demand metrics

### AI Actions

| Action                     | What It Does                                                                                                      |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `generate_staffing_report` | Generates a formatted MPD staffing report with vacancy rates, district service demand, and infrastructure metrics |

<Tip>
  The City Staff AI cross-references datasets automatically. Ask it to correlate 311 requests with code violations, or overlay paving projects with pavement assessment scores.
</Tip>
