{
  "slug": "bill-splitter",
  "mcpServerUrl": "https://plugins-worker.demos.42a.ai/bill-splitter/mcp",
  "interface": {
    "displayName": "Handy Bill Splitter",
    "shortDescription": "Split the bill, to the cent",
    "longDescription": "Split a restaurant bill fairly: who had what, with tax and tip shared in proportion, and shares that add up to the total exactly.\n\nList the items and who had them (or upload a photo of the receipt), mark shared plates, and add tax, tip, a service charge or a coupon. Each person pays for their own items plus their fair part of the extras; a shared appetizer is split between the people who had it. Prefer simple? Switch to an even split. Leftover cents are allocated so the shares sum to the bill to the cent, and you can round everyone up to the next 0.50 or 1.00, with the extra going to the tip.\n\nSay who paid and get a ready-to-send summary (\"Alex owes Sam $28.35\"). A tip slider and an even/itemized switch update the card instantly. Nothing is stored.",
    "category": "Productivity",
    "defaultPrompt": [
      "Split the bill: Alex pizza $18, Sam burger $16.50, Jordan salmon $24, shared nachos $12, 8.875% tax, 20% tip",
      "Split $100 plus $8 tax and a 20% tip evenly between 3 people",
      "We are 4, the bill is $124 plus $10.85 tax, tip 18%, round everyone up to the next dollar"
    ],
    "capabilities": [
      "Itemized split: each pays for what they had",
      "Shared items split between the people who had them",
      "Tax and tip shared in proportion, or an even split",
      "Service charges, coupons, tip before or after tax",
      "Shares that sum to the bill exactly; optional round-up",
      "Who owes whom, as a summary to paste in the group chat"
    ],
    "logo": "https://plugins-worker.demos.42a.ai/bill-splitter/icon.svg",
    "websiteURL": "https://plugins-worker.demos.42a.ai/bill-splitter/",
    "supportURL": "https://plugins-worker.demos.42a.ai/support",
    "privacyPolicyURL": "https://plugins-worker.demos.42a.ai/privacy",
    "termsOfServiceURL": "https://plugins-worker.demos.42a.ai/terms",
    "developerName": "42a"
  },
  "keywords": [
    "split the bill",
    "bill splitter",
    "tip calculator",
    "who owes what",
    "split a restaurant check",
    "split tip and tax",
    "how much does each person owe",
    "divide the bill"
  ],
  "tools": [
    {
      "name": "split_bill",
      "title": "Split the bill",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    }
  ],
  "dataSources": [],
  "review": {
    "positiveTestCases": [
      {
        "description": "Itemized dinner with shared plates, tax, tip and a payer",
        "prompt": "Split the bill: Alex had pizza $18, Sam a burger $16.50, Jordan salmon $24, we shared nachos $12, Sam and Jordan had 2 beers at $7. Tax 8.875%, 20% tip. Sam paid.",
        "tools_triggered": [
          "split_bill"
        ],
        "expected_behavior": "Total $108.90 (subtotal $84.50, tax $7.50, tip $16.90). Alex $28.35, Sam $35.44, Jordan $45.11; Alex owes Sam $28.35 and Jordan owes Sam $45.11."
      },
      {
        "description": "Even split with a leftover cent",
        "prompt": "Split $100 plus $8 tax and a 20% tip evenly between Mia, Noah and Liam.",
        "tools_triggered": [
          "split_bill"
        ],
        "expected_behavior": "Total $128.00: Mia $42.67, Noah $42.67, Liam $42.66 (shares add up exactly)."
      },
      {
        "description": "Round everyone up to the next dollar",
        "prompt": "We are 4: Ana, Ben, Cara and Dev. Bill $124 plus $10.85 tax, 18% tip, round everyone up to the next dollar.",
        "tools_triggered": [
          "split_bill"
        ],
        "expected_behavior": "$157.17 before rounding; everyone pays $40.00, so the tip becomes $25.15 and the total $160.00."
      },
      {
        "description": "A coupon and a tip on the post-tax total",
        "prompt": "Kim had ramen $15.50, Lee bibimbap $17, we shared gyoza $8. $5 coupon, 7% tax, 15% tip on the total after tax. Kim paid.",
        "tools_triggered": [
          "split_bill"
        ],
        "expected_behavior": "Subtotal $40.50 - $5 coupon + $2.49 tax + $5.70 tip = $43.69. Kim $21.04, Lee $22.65; Lee owes Kim $22.65."
      },
      {
        "description": "A euro bill with a service charge and a shared bottle",
        "prompt": "Split our Paris dinner (10% service, no tip): Léa salade 14.50, Tom steak frites 22, Inès moules 19, Max burger 17, Zoé soupe 9.50, a 24€ planche for everyone and a 32€ bottle of wine for Léa, Tom and Inès.",
        "tools_triggered": [
          "split_bill"
        ],
        "expected_behavior": "Total €151.80 (subtotal €138 + €13.80 service): Léa €32.97, Tom €41.22, Inès €37.90, Max €23.98, Zoé €15.73."
      }
    ],
    "negativeTestCases": [
      {
        "prompt": "How should my roommates and I split rent for rooms of different sizes?",
        "expected_behavior": "Does not call Handy Bill Splitter: Rent splitting is not a restaurant bill."
      },
      {
        "prompt": "Make an expense report for my business dinner.",
        "expected_behavior": "Does not call Handy Bill Splitter: Business reimbursement is an expense report."
      },
      {
        "prompt": "What is the etiquette for tipping in Japan?",
        "expected_behavior": "Does not call Handy Bill Splitter: An etiquette question with no bill to split."
      }
    ]
  }
}