Repository navigation
MCP guide: read a bottle row's addedTablespoons with its amount and unit - #65
Merged
Merged
Conversation
A cup row of a bottling plan can carry tablespoons measured after the cup amount (fuel-backend #1740). A partner that shows only amount and unit would print a bottle short of its sugar, so the guide describes the rows, shows one with addedTablespoons, and names the measures a non-US kitchen counts in. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BasXynvDZeJp2RYJAdJWhe Ci-From: linux Ci-Session: e5711247-a754-4ad2-bff4-55d04a7c6133
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the bottling plan's mix rows for partners, including the new
addedTablespoonsfield from fuel-backend #1740.Depends-On: SaturdayInc/fuel-backend#1740
Why
Until #1740 a row's
amount+unitwas the whole dose. A cup row can now needaddedTablespoonsas well:⅜cup+addedTablespoons: 1is 87.5 g of sugar, and a reader that prints only "⅜ cup Sugar" puts 12.5 g less in the bottle. The only prod partner withbottlingon today is the Claude connector, which reads the text content and gets the composite, so no live reader is affected; this lands before bottling opens to another partner. Flagged by the #1740 review (https://github.com/SaturdayInc/fuel-backend/pull/1740#issuecomment-6095559896).What the page now says
Under "Bottling plans" in
guides/mcp-integration.mdx:amountandunitmean, with the unit tokensaddedTablespoons: tablespoons measured after a cup amount, counted incarbG, absent when 0, with one example row⅜ cup + 1 Tbsp SugarstructuredContent.measures(cupMl,tbspMl,cupsOffered) for a non-US kitchen, which was undocumentedChecks
scripts/check-docs-drift.pyclean against fuel-backend main and against #1740's branch. Its JSON key check matches snake_case keys only, so camelCase payload keys such asaddedTablespoonsandcarbGare not checked against the Go tags either way.Merge after fuel-backend #1740 lands, so the page does not describe a field before partners can get it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BasXynvDZeJp2RYJAdJWhe