{
    "server": "ewooks-readonly",
    "version": "0.2.0",
    "source_sha256": "d25cc0a3ea5b8604037732bcf7589b6ff97055bc3c7c89d9bf92f3e7e5a2f1ff",
    "protocol_versions": [
        "2025-03-26",
        "2025-06-18",
        "2025-11-25"
    ],
    "tools": [
        {
            "name": "list_drives",
            "description": "Read work-classified fleet drives only; private and unknown classes are excluded. Returns id, fleet_id, driver_id/vehicle_id (null for missing or ambiguous current fleet-registry matches), drive_class=work, distance_km, started_at/ended_at and work_id (free text, not a validated order). IDs identify registry rows, not historical assignments. Times use the source application timezone. Recorded drives are not payroll/billing approvals. Use pagination=snapshot for stable bounded exports; changes/deletions are not a feed.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "from": {
                        "type": "string",
                        "description": "First date, YYYY-MM-DD, inclusive."
                    },
                    "to": {
                        "type": "string",
                        "description": "Last date, YYYY-MM-DD, inclusive. Maximum 366 days."
                    },
                    "driver": {
                        "type": "string",
                        "description": "Optional exact driver username."
                    },
                    "limit": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "default": 25
                    },
                    "offset": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 10000,
                        "default": 0
                    },
                    "pagination": {
                        "type": "string",
                        "enum": [
                            "offset",
                            "snapshot"
                        ],
                        "default": "offset",
                        "description": "Use snapshot for integration exports: frozen values, at most 10000 rows/4 MiB, expires in 15 minutes; at most 3 active snapshots per fleet. Offset is a live view and can shift during writes."
                    },
                    "cursor": {
                        "type": "string",
                        "maxLength": 128,
                        "description": "For pagination=snapshot, omit on first call, then pass next_cursor with identical from/to/driver/limit until null. Deleted, moved or now-private rows are withheld; continue even after an empty page. Not a change feed."
                    }
                },
                "required": [
                    "from",
                    "to"
                ],
                "additionalProperties": false
            },
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false,
                "openWorldHint": false
            },
            "securitySchemes": [
                {
                    "type": "oauth2",
                    "scopes": [
                        "fleet:read"
                    ]
                }
            ]
        },
        {
            "name": "summarize_drives",
            "description": "Count work-classified drives and distance by driver in the authenticated fleet. Private and unknown drive classes are excluded. These are recorded distances, not approved payroll or billable quantities.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "from": {
                        "type": "string",
                        "description": "First date, YYYY-MM-DD, inclusive."
                    },
                    "to": {
                        "type": "string",
                        "description": "Last date, YYYY-MM-DD, inclusive. Maximum 366 days."
                    },
                    "driver": {
                        "type": "string",
                        "description": "Optional exact driver username."
                    }
                },
                "required": [
                    "from",
                    "to"
                ],
                "additionalProperties": false
            },
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false,
                "openWorldHint": false
            },
            "securitySchemes": [
                {
                    "type": "oauth2",
                    "scopes": [
                        "fleet:read"
                    ]
                }
            ]
        },
        {
            "name": "list_work_sessions",
            "description": "Read fleet work diary sessions and recorded hours, with id, fleet_id and driver_id (null unless uniquely matched in the current fleet registry). Times use the source application timezone. Use pagination=snapshot for stable bounded exports. These are not payroll approvals or a change feed.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "from": {
                        "type": "string",
                        "description": "First date, YYYY-MM-DD, inclusive."
                    },
                    "to": {
                        "type": "string",
                        "description": "Last date, YYYY-MM-DD, inclusive. Maximum 366 days."
                    },
                    "driver": {
                        "type": "string",
                        "description": "Optional exact driver username."
                    },
                    "limit": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "default": 25
                    },
                    "offset": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 10000,
                        "default": 0
                    },
                    "pagination": {
                        "type": "string",
                        "enum": [
                            "offset",
                            "snapshot"
                        ],
                        "default": "offset",
                        "description": "Use snapshot for integration exports: frozen values, at most 10000 rows/4 MiB, expires in 15 minutes; at most 3 active snapshots per fleet. Offset is a live view and can shift during writes."
                    },
                    "cursor": {
                        "type": "string",
                        "maxLength": 128,
                        "description": "For pagination=snapshot, omit on first call, then pass next_cursor with identical from/to/driver/limit until null. Deleted, moved or now-private rows are withheld; continue even after an empty page. Not a change feed."
                    }
                },
                "required": [
                    "from",
                    "to"
                ],
                "additionalProperties": false
            },
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false,
                "openWorldHint": false
            },
            "securitySchemes": [
                {
                    "type": "oauth2",
                    "scopes": [
                        "fleet:read"
                    ]
                }
            ]
        },
        {
            "name": "summarize_work_sessions",
            "description": "Use this to total recorded work diary hours by driver for a date range. These are stored hours, not payroll calculations.",
            "inputSchema": {
                "type": "object",
                "properties": {
                    "from": {
                        "type": "string",
                        "description": "First date, YYYY-MM-DD, inclusive."
                    },
                    "to": {
                        "type": "string",
                        "description": "Last date, YYYY-MM-DD, inclusive. Maximum 366 days."
                    },
                    "driver": {
                        "type": "string",
                        "description": "Optional exact driver username."
                    }
                },
                "required": [
                    "from",
                    "to"
                ],
                "additionalProperties": false
            },
            "annotations": {
                "readOnlyHint": true,
                "destructiveHint": false,
                "openWorldHint": false
            },
            "securitySchemes": [
                {
                    "type": "oauth2",
                    "scopes": [
                        "fleet:read"
                    ]
                }
            ]
        }
    ]
}
