Condition Report Tools
Track and retrieve condition reports for inventory-tracked rental items. Log equipment condition at pickup and return, and view condition history per item.
Required scope: mcp:access
Tools Overviewโ
| Tool | Description | Read-only? |
|---|---|---|
get_condition_history | Get condition report history for an inventory item | Yes |
get_booking_condition_reports | Get all condition reports for a booking | Yes |
log_condition_report | Log a condition report for an item in a booking | No |
get_condition_historyโ
Get the condition report history for a specific inventory item across all bookings. Shows all condition assessments logged at pickup and return over time.
Parametersโ
| Name | Type | Required | Description |
|---|---|---|---|
inventory_id | integer | Yes | The product inventory item ID |
Exampleโ
{
"tool": "get_condition_history",
"arguments": {
"inventory_id": 78
}
}
Responseโ
{
"total": 3,
"reports": [
{
"id": 42,
"context": "Return",
"condition": "Damaged",
"notes": "Deep scratch on hull",
"booking_id": 130,
"reported_by": "Mike Johnson",
"reported_at": "4:30pm - 18th March 2026",
"photos_count": 2
},
{
"id": 40,
"context": "Pickup",
"condition": "Good",
"notes": "Minor surface wear",
"booking_id": 130,
"reported_by": "Sarah Marshall",
"reported_at": "9:00am - 15th March 2026",
"photos_count": 0
}
]
}
get_booking_condition_reportsโ
Get all condition reports for a specific booking.
Parametersโ
| Name | Type | Required | Description |
|---|---|---|---|
booking_id | integer | Yes | The booking ID |
Exampleโ
{
"tool": "get_booking_condition_reports",
"arguments": {
"booking_id": 130
}
}
Responseโ
{
"total": 2,
"reports": [
{
"id": 40,
"context": "Pickup",
"condition": "Good",
"product": "Mountain Bike",
"inventory_identifier": "MB-012",
"notes": "Minor surface wear",
"reported_by": "Sarah Marshall",
"reported_at": "9:00am - 15th March 2026",
"photos_count": 0
},
{
"id": 42,
"context": "Return",
"condition": "Damaged",
"product": "Mountain Bike",
"inventory_identifier": "MB-012",
"notes": "Deep scratch on hull",
"reported_by": "Mike Johnson",
"reported_at": "4:30pm - 18th March 2026",
"photos_count": 2
}
]
}
log_condition_reportโ
Log a condition report for an inventory item in a booking. If condition is damaged on return, the item is automatically sent to the workshop.
Parametersโ
| Name | Type | Required | Description |
|---|---|---|---|
booking_id | integer | Yes | The booking ID |
inventory_log_id | integer | Yes | The inventory log ID (from the booking's inventory records) |
context | string | Yes | pickup or return |
condition | string | Yes | excellent, good, fair, poor, or damaged |
notes | string | No | Optional notes about the condition |
Exampleโ
{
"tool": "log_condition_report",
"arguments": {
"booking_id": 130,
"inventory_log_id": 501,
"context": "return",
"condition": "damaged",
"notes": "Deep scratch on frame, chain broken"
}
}
Responseโ
{
"success": true,
"message": "Condition report created. Item sent to workshop due to damaged condition.",
"report_id": 42
}
Notesโ
- Photos cannot be attached via the AI tool -- use the REST API Upload Photos endpoint
- Workshop auto-send only triggers when
contextisreturnandconditionisdamaged - The inventory log ID can be found in the booking details (inventory records)