Documentation Index
Fetch the complete documentation index at: https://docs.lumilexicon.com/llms.txt
Use this file to discover all available pages before exploring further.
get_collection_stats
Aggregate statistics grouped by a dimension.
| Parameter | Options |
|---|
group_by | status, condition_grade, triage_recommendation, valuation_status, genre, format |
Returns: Total books, groups with counts and value totals, overall estimated value, cost basis, sale revenue.
Example: “Give me a breakdown of my collection by genre” uses group_by: "genre".
get_financial_summary
P&L summary for a date range.
| Parameter | Type | Description |
|---|
period | string | week, month, quarter, year, all (default: month) |
start_date | string | Custom start (ISO format, overrides period) |
end_date | string | Custom end |
lot_id | string | Scope to a specific lot |
Returns: Books sold, revenue, cost of goods, platform fees, shipping costs, net profit, books acquired, acquisition spend, AI costs, overall net.
Example: “What’s my profit this year?” uses period: "year".
find_duplicates
Finds books that share the same title. No parameters.
Returns: List of duplicate title groups with inventory IDs, statuses, and authors.
Example: “Do I have any duplicate titles?“
check_pricing_health
Compares listed books against their valuation comps.
| Parameter | Type | Description |
|---|
threshold_pct | number | Deviation threshold to flag (default 20%) |
Returns: Number of books checked, issues found, with each issue showing inventory_id, title, listing price, comp median, deviation percentage, and direction (overpriced/underpriced).
Example: “Are any of my books overpriced compared to market?”