CertPrep
Case study · fictional company

Juniper Outdoor Co.

An online outdoor-gear retailer building an order-support agent with tools for orders, returns and refunds, an MCP server over its inventory system, and a nightly review-classification job.

The business

Juniper Outdoor Co., in Salt Lake City, Utah, sells camping and climbing gear online and handles about 45,000 orders a week, with peaks of three times that in November and December. Its 15-person engineering team uses Python.

What the team is building

SystemWhat it doesVolume
Order-support agentChat agent with tools: get_order, start_return, issue_refund, search_products. Built with the Agent SDK on the team's servers70,000 conversations a month
Inventory MCP serverExposes stock levels and product data; used by the support agent, Claude Code and the merchandising team's toolsInternal
Review classifierClassifies new product reviews into topics overnight40,000 reviews a night

Refunds over $250 need a supervisor's approval. Every refund must be logged with the order number.

Measured baseline

  • The agent runs on Tier S today. Dispute handling is weak, and a consultant has proposed moving everything to Tier L.
  • Agent cost: about $0.09 per conversation; input tokens are 85% of spend. Every request repeats a 9,000-token system prompt and tool definitions.
  • In traces, the agent sometimes calls get_order with the customer's email instead of the order number, gets an error and tells the customer the order does not exist.
  • The review classifier runs in realtime calls at 2 a.m.; nobody reads results before 8 a.m.
  • During last December's peak, 529 errors caused immediate retries from every worker, followed by 20 minutes of rate limits.

Constraints

  • The support agent must work while the inventory MCP server is down, with reduced answers.
  • Customer emails and addresses should not be sent to Claude unless the task needs them.

People

StakeholderCares most about
Head of Customer ExperienceResolution rate, no wrong refunds
Engineering ManagerReliability during the holiday peak
Finance ControllerCost per conversation, refund controls
Merchandising LeadAccurate stock answers

Exercises set here