{
  "name": "Trails of Tucson",
  "description": "Read-only trail list and the last published forecast for Tucson-area hikes, including closure and access notes, using the forecast and gauge notes Trails of Tucson already publishes.",
  "version": "1.0.0",
  "endpoint": "https://trailsoftucson.com/mcp",
  "tools": [
    {
      "name": "list_trails",
      "description": "List every trail with its name, slug, and canonical trail page URL.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    },
    {
      "name": "get_trail_conditions",
      "description": "The last published forecast, any heat warning, any water or falls status, and the closure and access notes already published for one trail, plus the trail page URL and the time that data is as of.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "trail_slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
            "description": "Trail slug from list_trails, such as sabino-canyon."
          }
        },
        "required": [
          "trail_slug"
        ],
        "additionalProperties": false
      }
    }
  ]
}
