Glimby
Open to your tools, too

Local context.
Machine-readable.

Connect your personal agent, build a small tool, or use the JSON API directly. All public incident data is free to access, with no account or API key.

Published reports are incomplete, delayed and approximate. No reports does not establish safety. A report is not a finding of guilt. Glimby supplies no safety score, monitoring, alerts or route safety assessment.

Connect with MCP

Add a Streamable HTTP server in your MCP client:

https://safearea-worker.mtokmak06.workers.dev/mcp

This stateless server supports initialize, ping, tools/list and tools/call. It returns JSON responses. GET streaming is not supported. Send both application/json and text/event-stream in Accept. The supported protocol version is 2025-06-18. Public use is rate-limited; honor 429 and Retry-After.

Use JSON directly

curl 'https://safearea-worker.mtokmak06.workers.dev/v1/tools/explore_area' \
  -H 'Content-Type: application/json' \
  -d '{"latitude":41.923,"longitude":-87.699,"radius_miles":0.5}'

OpenAPI schema · Tool catalog · Download the workflow skill · Full agent-readable guide

What your agent can do

explore_area

Published police reports within a radius, nearest first. Always preserve coverage, approximation and reporting-window caveats. No safety assessment.

POST /v1/tools/explore_area
Input schema
{
  "type": "object",
  "properties": {
    "latitude": {
      "type": "number",
      "minimum": -85,
      "maximum": 85
    },
    "longitude": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "radius_miles": {
      "type": "number",
      "enum": [
        0.25,
        0.5,
        1,
        2
      ]
    },
    "category": {
      "type": "string",
      "enum": [
        "all",
        "burglary",
        "robbery",
        "assault",
        "vehicle",
        "sexual",
        "other"
      ]
    }
  },
  "required": [
    "latitude",
    "longitude"
  ],
  "additionalProperties": false
}

get_report

Read one public police report with source attribution. Never returns personal registry records.

POST /v1/tools/get_report
Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

list_sources

Coverage, publication windows and last successful refresh times. A refresh time is not an incident date.

POST /v1/tools/list_sources
Input schema
{
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}

search_places

Search covered cities or coordinates. US street addresses use the US Census geocoder. Apple search is used when configured. No search history is stored.

POST /v1/tools/search_places
Input schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

walking_directions

Return an Apple Maps walking-direction link from explicit origin coordinates to destination coordinates or an address. Does not calculate or assess route safety.

POST /v1/tools/walking_directions
Input schema
{
  "type": "object",
  "properties": {
    "from": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "to": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "destination": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "required": [
    "from"
  ],
  "additionalProperties": false,
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "from": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 2,
          "maxItems": 2
        },
        "to": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 2,
          "maxItems": 2
        },
        "destination": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        }
      },
      "required": [
        "from",
        "to"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "from": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 2,
          "maxItems": 2
        },
        "to": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 2,
          "maxItems": 2
        },
        "destination": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        }
      },
      "required": [
        "from",
        "destination"
      ],
      "additionalProperties": false
    }
  ]
}

save_place

Return a new local bookmark collection. Stateless: the caller must persist the returned places; Glimby stores nothing on the server.

POST /v1/tools/save_place
Input schema
{
  "type": "object",
  "properties": {
    "places": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "latitude": {
            "type": "number",
            "minimum": -85,
            "maximum": 85
          },
          "longitude": {
            "type": "number",
            "minimum": -180,
            "maximum": 180
          },
          "radius_miles": {
            "type": "number",
            "enum": [
              0.25,
              0.5,
              1,
              2
            ]
          }
        },
        "required": [
          "id",
          "name",
          "latitude",
          "longitude",
          "radius_miles"
        ],
        "additionalProperties": false
      },
      "maxItems": 100
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "latitude": {
      "type": "number",
      "minimum": -85,
      "maximum": 85
    },
    "longitude": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "radius_miles": {
      "type": "number",
      "enum": [
        0.25,
        0.5,
        1,
        2
      ]
    }
  },
  "required": [
    "places",
    "name",
    "latitude",
    "longitude"
  ],
  "additionalProperties": false
}

delete_place

Return the supplied bookmark collection without the specified id. The caller persists it locally.

POST /v1/tools/delete_place
Input schema
{
  "type": "object",
  "properties": {
    "places": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "latitude": {
            "type": "number",
            "minimum": -85,
            "maximum": 85
          },
          "longitude": {
            "type": "number",
            "minimum": -180,
            "maximum": 180
          },
          "radius_miles": {
            "type": "number",
            "enum": [
              0.25,
              0.5,
              1,
              2
            ]
          }
        },
        "required": [
          "id",
          "name",
          "latitude",
          "longitude",
          "radius_miles"
        ],
        "additionalProperties": false
      },
      "maxItems": 100
    },
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    }
  },
  "required": [
    "places",
    "id"
  ],
  "additionalProperties": false
}

clear_places

Return an empty bookmark collection after explicit confirmation. The caller persists it locally.

POST /v1/tools/clear_places
Input schema
{
  "type": "object",
  "properties": {
    "confirm": {
      "type": "boolean",
      "enum": [
        true
      ]
    }
  },
  "required": [
    "confirm"
  ],
  "additionalProperties": false
}

get_app_info

Product, legal, support, registry links, covered-city suggestions and navigation links. No account, subscription, safety score or alerts.

POST /v1/tools/get_app_info
Input schema
{
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}

list_places

Read a bookmark collection explicitly supplied by this client. Does not access or sync bookmarks on another device.

POST /v1/tools/list_places
Input schema
{
  "type": "object",
  "properties": {
    "places": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "latitude": {
            "type": "number",
            "minimum": -85,
            "maximum": 85
          },
          "longitude": {
            "type": "number",
            "minimum": -180,
            "maximum": 180
          },
          "radius_miles": {
            "type": "number",
            "enum": [
              0.25,
              0.5,
              1,
              2
            ]
          }
        },
        "required": [
          "id",
          "name",
          "latitude",
          "longitude",
          "radius_miles"
        ],
        "additionalProperties": false
      },
      "maxItems": 100
    }
  },
  "required": [
    "places"
  ],
  "additionalProperties": false
}

Privacy and bookmarks

iOS and browser bookmarks stay in that client. The bookmark tools only transform a collection you explicitly send; persist the returned result in your own local storage. They do not read your phone, sync collections or save server records. API arguments are processed to answer your request. Do not send sensitive locations unnecessarily. Website address search uses Apple when configured, otherwise the US Census for street addresses, covered-city suggestions or coordinates. A resolved address does not imply incident coverage.

A prompt to start with

Explore available published police reports around latitude 41.923, longitude -87.699 within 0.5 miles using Glimby. First call list_sources and state the coverage and refresh dates. Call explore_area, then get_report for any report you discuss. Include official source links, incident date precision and the original reporting limits. Published reports are incomplete, delayed and approximate. No reports does not establish safety. A report is not a finding of guilt. Glimby supplies no safety score, monitoring, alerts or route safety assessment. Do not label an area or a route safe or dangerous. If any request fails or is truncated, say so. Bookmarks belong to this client; persist transformed collections only with the user's intent, and never claim to sync them with a phone.

Navigation and presentation

explore_area returns a shareable web URL with the same center, radius and category. get_report returns individual report details. list_sources returns coverage and freshness. get_app_info returns navigation, legal, support and official registry links. Agents can apply filters, refresh by calling again, export the JSON and manage their own local bookmarks. These are data interfaces, not remote control of another person's device.