Skip to main content

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.
ParameterOptions
group_bystatus, 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.
ParameterTypeDescription
periodstringweek, month, quarter, year, all (default: month)
start_datestringCustom start (ISO format, overrides period)
end_datestringCustom end
lot_idstringScope 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.
ParameterTypeDescription
threshold_pctnumberDeviation 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?”