All CUJ Case Studies
Critical User Journey Case Study

Tool Inventory: A Toolbox Your AI Agents Can Check

πŸ“… Published πŸ”„ Updated πŸ‘€ Daniel Herrington πŸ“„ index.md
Tool Inventory: A Toolbox Your AI Agents Can Check Hero Graphic

A Critical User Journey (CUJ) case study on giving AI agents a catalogue of my hand and power tools, built from photos of each drawer, so they can answer "do I have it, and where is it?" without asking me.


πŸ” The Problem Space

Context

I work through most repairs and projects with an AI agent now: Claude, Grok Bot, Instinct, Muse. The agent is good at the plan: which bolts come out first, what torque the caliper bracket wants, which order to reassemble. My tools live in a garage with a red rolling box, a few smaller boxes, a pegboard wall and a shelf of cordless power tools on two battery platforms.

The Core Friction

The agent doesn't know any of that, so every repair conversation starts from zero and stalls on the same questions:

  1. "Do you have a 10mm deep socket?" I walk to the garage, dig through two drawers, come back and type the answer. Then it asks about a 3/8" to 1/4" adapter.
  2. Sizes are a language of their own. A "10mm 3/8 deep 6-point" socket, a "15/16" socket, a "crescent", a "sawzall": the same tool goes by several names, and metric vs SAE, drive size vs bolt size and deep vs shallow all matter. A plain text list can't answer "what's closest if I don't have it?"
  3. Nobody keeps a tool spreadsheet up to date. Any inventory that needs typing is out of date the week after it's made, which is why I never made one.

The real job: let any agent answer "do I have X, and where is it?" on its own, correctly, without asking me.


🚦 Critical User Journeys (CUJs)

CUJ 1: Ask While Working

CUJ 2: Catalogue a Drawer in a Minute

CUJ 3: Plan the Job Before I Start


πŸ—ΊοΈ The Ideal Flows

Flow 1: Ask While Working

  1. Trigger: Mid-repair, the agent's plan needs a specific tool.
  2. Action: Nothing from me. The agent calls the find_tools MCP tool with what it needs, in plain words: "10mm deep socket 3/8 drive".
  3. Automated Response: Size-aware search normalises the query (10mm = 10 mm, 3/8" = 0.375", deep vs shallow, drive vs fastener size), filters my inventory, and returns matches with their location. If nothing matches exactly, it returns the closest tools I do own and says what differs.
  4. Resolution: The agent tells me which drawer to open, or what to use instead, and carries on with the plan.

Flow 2: Catalogue a Drawer

  1. Trigger: A new drawer, a new box, or a drawer that's been rearranged.
  2. Action: In the iPhone app I pick or type the location and take one to three photos.
  3. Automated Response: Each photo uploads to Cloud Storage. A Cloud Function sends it to Claude vision with a structured-output schema and gets back tool records (socket, 3/8" drive, 10mm, 6-pt, deep, metric, qty 1). Overlapping photos of one drawer are merged so a socket seen twice is counted once. Re-photographing a location replaces what the old photos found there.
  4. Resolution: Each photo moves from Uploading to Indexing… to Indexed Β· 7 tools, and the location gets a Covered badge. Tapping a photo shows the tools it found.

Flow 3: Keep It Current by Talking

  1. Trigger: "I moved the torque wrench to the wall." "That's a 12mm, not a 10." "I lent the torque wrench to a neighbour."
  2. Action: I say it to whichever agent I'm talking to.
  3. Automated Response: The agent calls move_tool or update_tool. Agent edits are flagged, so re-photographing the drawer later won't undo them.
  4. Resolution: The next agent to ask gets the right answer, including "it's lent out" instead of a wrong drawer.

πŸ› οΈ The Solution: Two Halves, One Inventory

The product is two deliberately separate pieces that share one inventory in Firebase and nothing else: an iPhone app that only collects photos and shows what has been indexed, and an MCP server that only talks to agents. There's no browsing or editing in the app on purpose. Questions and corrections happen in conversation, where I already am.

graph TD
    subgraph Capture
        App[iPhone app: pick a drawer, take 1-3 photos] --> Storage[(Cloud Storage)]
        Storage --> Fn[Cloud Function: Claude vision]
        Fn --> DB[(Firestore: my locations, tools, photos)]
        DB -->|Indexed Β· 7 tools| App
    end

    subgraph Agents
        Claude[Claude] --> MCP[MCP server on Cloud Run]
        Grok[Grok Bot] --> MCP
        Muse[Muse / Instinct] --> MCP
        MCP -->|find_tools, check_tools, move_tool...| DB
    end

Every person's inventory sits behind its own bearer token, so the same server can serve other households later without anyone seeing anyone else's garage.


πŸ’» Under the Hood (Code & Architecture)

1. Size-Aware Search Instead of a Vector Database

2. Photo Indexing with Claude Vision

3. An MCP Server Built for Agents

4. An Eval Before a Launch


πŸ“ Status

Version 0.1 is built and tested end to end against local Firebase emulators: the iPhone capture app, the indexing function, the MCP server and a one-command setup kit. It isn't deployed yet. Next: deploy it, catalogue the real garage, and use it on an actual repair, where success means the agent never once asks "do you have…" about a tool I've photographed.


πŸ”— Repository & Source Code

Have thoughts on this CUJ or framework?

Let's discuss product strategy, machine learning engineering, or system architecture.

Connect on LinkedIn Explore Other CUJs