ShotPulled
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Espresso dialing: log a shot, say how it tasted, get one change in your grinder's own clicks.
| Author | com.shotpulled |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 641 ms |
| Last measured | 2026-10-24 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"ShotPulled": {
"url": "https://mcp.shotpulled.com/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (44)
register_grinderRegister a manual or electric grinder with its dial settings scheme. It becomes the active grinder only when no grinder is in use (none active, or the active one archived); otherwise call set_active with its grinder_id to switch to it. The `active` field of the reply says which.
Parameters:
name(required) — string — The name/model of the grinder, e.g. Kinu M47motor_type(required) — stringburr_type(required) — stringsetting_scheme(required) — string — Collar mark style: single clicks or compound (rotation.number.clicks)direction_convention(required) — stringnominal_step(required) — number — Smallest adjustment increment (e.g. 1 click or 0.1collar units)notes— string — Additional notesphoto— string — Photo path or URLarchived— integer — 1 if archived, 0 if activemax_value— ['number', 'null'] — Optional travel max boundsmin_value— ['number', 'null'] — Optional travel min boundscatalog_id— string — Optional: the maintenance catalog model this is (the `id` of a catalog row, e.g. rancilio-silvia), when it was registered from the catalog. Its maintenance then comes from that model's researched record. "none" says it is not in the catalog.components_spec— string — JSON mapping string representing compound adjustment mathmicrons_per_step— ['number', 'null'] — Optional mechanical burr travel microns per nominal step
Hints: read-only no · destructive no · idempotent no · open-world no
set_grinder_positiondestructiveSet the current grinder collar position. source="measured" resets verification freshness. It replaces the stored position; no history of earlier positions is kept.
Parameters:
grinder_id(required) — integersetting_label(required) — string — Verbatim display label, e.g. "1.1.2"source(required) — string — Whether setting is verified ("measured") or guess ("recalled"/"assumed")
Hints: read-only no · destructive yes · idempotent yes · open-world no
register_machineRegister an espresso or alternative preparation machine. It becomes the active machine only when no machine is in use (none active, or the active one archived); otherwise call set_active with its machine_id to switch to it. The `active` field of the reply says which.
Parameters:
name(required) — string — Machine name/model, e.g. Dedica EC685control_type(required) — stringnotes— stringphoto— string — Photo path or URLtools— ['string', 'null'] — JSON or comma-separated tools, e.g., paper filters, flow control, metal mesharchived— integer — 1 if archived, 0 if activeprep_type— string — Preparation equipment type. One of: espresso_machine, lever_press, moka_pot, aeropress, french_press, v60_dripper, cold_brew. Lower snake_case.catalog_id— string — Optional: the maintenance catalog model this is (the `id` of a catalog row, e.g. rancilio-silvia), when it was registered from the catalog. Its maintenance then comes from that model's researched record. "none" says it is not in the catalog.prep_style— string — Preparation style. One of: espresso, filter, immersion, percolation. Only "espresso" is diagnosed by the dialing engine (G8). Anything else is recorded but never dialed, so do not guess this field.boiler_type— stringhardness_dh— ['number', 'null'] — Optional: the TOTAL hardness (GH) of the water this machine runs on, in °dH (German degrees; ppm as CaCO3 ÷ 17.85), as a test strip reports it. Picks the band of a maker's hardness table for descaling and filter lifeconnected_device— string — Metadata mapping to smart hardware APIsbasket_size_grams— numberbuilt_in_grinder_id— integer — id of a grinder built into this machine (bean-to-cup / integrated grinder)
Hints: read-only no · destructive no · idempotent no · open-world no
set_equipment_archivedArchive or restore a grinder, machine, water, or scale.
Parameters:
kind(required) — string — The kind of equipment to archive/restoreid(required) — integer — The ID of the equipmentarchived(required) — integer — 1 to archive, 0 to restore
Hints: read-only no · destructive no · idempotent yes · open-world no
update_grinderdestructiveCorrect a registered grinder: its name, burrs, collar scheme, nominal step, layout, range or notes. Only the keys you send in fields change; send null to clear an optional field (an empty string also clears a text field, but not a number or a closed list). Required fields can be changed but not cleared. fields may be omitted when only reason is sent. setting_scheme, nominal_step and components_spec describe the collar every recorded grind label is read through: call with dry_run first to see which recorded settings would read as a different position, and tell the user before saving. Saving records the change in the grinder's maintenance history; when a locked recipe's setting moves it also opens an unmeasured calibration epoch (set_maintenance_offset resolves it). The collar's current setting is marked assumed when it reads differently, or cleared when the new collar cannot read it, and measured offsets are converted when a click changes worth. Changing direction_convention is a correction: it moves no number, but every finer/coarser said about this grinder was the wrong way round.
Parameters:
grinder_id(required) — integer — This account's own grinder number, from list_grinders. Never guess one.fields— objectreason— string — Optional note, appended to this record's own notes as an ordinary line. Omit it and nothing is written.dry_run— boolean — true: write nothing, and answer with what the edit would do to the settings already recorded (moved[], checked, epoch, position_moved, position_cleared, rescaled_offsets, resigned_offsets, step_ignored, direction_flipped, recipe_count)
Hints: read-only no · destructive yes · idempotent no · open-world no
update_machinedestructiveCorrect a registered machine (its name, control type, prep type and style, basket, boiler, accessories or notes), or record where its selectors stand (settings). Only the keys you send in fields change; send null to clear an optional field (an empty string also clears a text field, but not a number or a closed list). Required fields can be changed but not cleared. fields may be omitted when only reason is sent. prep_style decides whether shots on this machine are diagnosed at all: only "espresso" is. Programs are edited with register_program, the built-in grinder link is not editable here, and archiving is set_equipment_archived.
Parameters:
machine_id(required) — integer — This account's own machine number, from list_machines. Never guess one.fields— objectreason— string — Optional note, appended to this record's own notes as an ordinary line. Omit it and nothing is written.
Hints: read-only no · destructive yes · idempotent no · open-world no
update_scaledestructiveCorrect a registered scale: its type, resolution, capacity, capabilities, build or notes. Only the keys you send in fields change; send null to clear an optional field (an empty string also clears a text field, but not a number or a closed list). Required fields can be changed but not cleared. fields may be omitted when only reason is sent. The three capabilities are 1, 0, or null for "the maker never said"; leave one out rather than sending 0 when nobody knows.
Parameters:
scale_id(required) — integer — This account's own scale number, from list_scales. Never guess one.fields— objectreason— string — Optional note, appended to this record's own notes as an ordinary line. Omit it and nothing is written.
Hints: read-only no · destructive yes · idempotent no · open-world no
update_waterdestructiveCorrect a registered water: its name, type, mineral figures or notes. Only the keys you send in fields change; send null to clear an optional field (an empty string also clears a text field, but not a number or a closed list). Required fields can be changed but not cleared. fields may be omitted when only reason is sent.
Parameters:
water_id(required) — integer — This account's own water number, from list_waters. Never guess one.fields— objectreason— string — Optional note, appended to this record's own notes as an ordinary line. Omit it and nothing is written.
Hints: read-only no · destructive yes · idempotent no · open-world no
log_maintenanceLog a cleaning or maintenance job against a piece of equipment. A task that takes the thing apart opens a calibration epoch, and every recipe locked before it is read through that epoch's offset. Record the offset here if you counted the clicks while reassembling, which is the one moment anybody actually knows it. Any task in the maintenance vocabulary can be logged against a grinder or machine it belongs to, including one the maker advises against, because the log records what was done. Read each piece of equipment's tasks, their intervals and their due state from list_grinders and list_machines.
Parameters:
equipment_kind(required) — string — Which kind of equipment this job was done onequipment_id(required) — integer — The ID of that piece of equipmenttask(required) — string — Which maintenance job was performednote— string — Optional: what you did, and anything that surprised youdetails— object — Fields specific to this task. Which ones a task takes is published as details_fields on each task; a burr clean takes noneevidence— string — One line recording what the measurement rested on, e.g. "Counted 6 clicks coarser at reassembly."guide_id— string — Optional: the id of the maintenance guide that was followed. Must be a guide for this taskoffset_value— number — The correction, if you measured it now: clicks to ADD to a pre-clean reading to get the same grind today, signed along the collar's own number direction. Omit it and the epoch stays unmeasured, which is a state the app shows rather than a zero it assumesperformed_at— string — When it was done (ISO 8601 or YYYY-MM-DD HH:MM:SS, UTC). Defaults to now; backdating is finedisturbs_zero— integer — Whether this job disturbed the reference the stored numbers are read against: for a burr clean, whether the burrs actually came out. Defaults to the task's own answer; send 0 for a wipe-down that left the collar aloneoffset_source— string — How the offset was arrived at: pull (a reference shot), counted (clicks counted at reassembly), typed (asserted directly)
Hints: read-only no · destructive no · idempotent no · open-world no
set_maintenance_offsetdestructiveRecord how far a maintenance job moved the reference, on an entry that opened a calibration epoch. Takes an ENTRY, not a piece of equipment: the offset belongs to the event that caused it, which is what lets several of them compose for a recipe locked before all of them. Zero is a legitimate measurement and means "measured, and it had not moved". Omit offset_value entirely to clear it back to unmeasured.
Parameters:
entry_id(required) — integer — The maintenance entry that opened the epoch, from list_grinderssource— string — How it was arrived at: pull, counted, or typedevidence— string — One line recording what it rested on, e.g. "Reference pull 1.38 g/s against 1.74 g/s locked."offset_value— number — Clicks to ADD to a pre-clean reading to get the same grind today, signed along the collar's own number direction. 0 records "unchanged"; omit to clear the measurement
Hints: read-only no · destructive yes · idempotent yes · open-world no
set_maintenance_scheduledestructiveSet the user's own schedule for one maintenance task on one grinder or machine: their own interval, switching it off, or muting the reminder until a date. Only the keys you send in fields change; send every: null to go back to the maker's guidance and muted_until: null to unmute. Use it when the user states how often they do a task or asks to be left alone about one, never to invent an interval. The task's class, interval and due state are read back from list_grinders and list_machines.
Parameters:
equipment_kind(required) — string — Which kind of equipment the task is onequipment_id(required) — integer — This account's own grinder or machine number, from list_grinders or list_machinestask(required) — string — The task, as its value in that equipment's maintenance.tasksfields— objectchanged_at— string — Optional: when the user made this change (ISO 8601, UTC). An app sending a queued edit passes it, so an older edit never overwrites a newer one; it is then answered with applied: false
Hints: read-only no · destructive yes · idempotent yes · open-world no
get_maintenance_guidesread-onlyStep-by-step maintenance guides: tools, supplies, steps and warnings, in our own words with the maker's documents as sources. With no arguments, every guide for the user's current grinders and machines (and the water filter fitted in each). With guide_ids, those guides; the ids come from maintenance.tasks[].guide.id in list_grinders and list_machines. Ids that match no guide are listed under missing.
Parameters:
guide_ids— array — Optional: the guides to fetch. Omit for every guide the user's equipment can use
Hints: read-only yes · destructive no · idempotent yes · open-world no
list_maintenance_dueread-onlyWhat maintenance is due across the user's current grinders and machines, most urgent first. Use it for "is anything due?". Only tasks with an interval compete: a task the machine counts and signals itself, one done by habit or when a symptom shows, and one the maker advises against never appear. Each item says how far along it is (ratio, done of every, on which basis), whether it is coming up (soon), and whether the interval is the user's, the maker's or ShotPulled's default.
Parameters:
status— string — due (default): due or overdue, and not muted. all: every scheduled task, muted ones last
Hints: read-only yes · destructive no · idempotent yes · open-world no
register_waterRegister a custom or commercial water formulation.
Parameters:
name(required) — string — Water formulation name, e.g. Lotus Light & Bright, Third Wave Watergh— ['number', 'null'] — General hardness (GH) in ppmkh— ['number', 'null'] — Karbonate hardness (KH) in ppmtds— ['number', 'null'] — TDS in ppmtype— string — Type, e.g., mineralized, tap, distilled, ROnotes— string — Additional notessodium— ['number', 'null'] — Sodium concentration in ppmcalcium— ['number', 'null'] — Calcium concentration in ppmmagnesium— ['number', 'null'] — Magnesium concentration in ppm
Hints: read-only no · destructive no · idempotent no · open-world no
list_watersread-onlyList registered waters for the account. The `id` on each row is the number this account knows that record by, counting from 1: safe to show, and what other tools expect back.
Parameters:
status— string — Filter by status: current (unarchived), archived, or all. Defaults to current.
Hints: read-only yes · destructive no · idempotent yes · open-world no
register_scaleRegister a brewing scale: the instrument that weighs the dose and the yield.
Parameters:
name(required) — string — Scale name/model, e.g. Acaia Lunar, Timemore Black Mirror Basic 2scale_type(required) — string — What the scale is built for: espresso (drip-tray footprint), brew (pour-over platform), dual (both modes), connected (app/controller integration), dosing (gravimetric dispensing), training, bench (high capacity, coarse)notes— string — Additional notespower— string — How it is powered or rechargeddepth_mm— ['number', 'null'] — Platform depth in mmwidth_mm— ['number', 'null'] — Platform width in mm. Measure your drip trayauto_tare— ['integer', 'null'] — 1 if it zeroes itself when a vessel is set down, 0 if not, null if unstatedheight_mm— ['number', 'null'] — Overall height in mm: the dimension that decides whether it fits under a group headauto_timer— ['integer', 'null'] — 1 if the timer starts on first flow, 0 if not, null if unstatedcapacity_g— ['number', 'null'] — Maximum weight in grams. The cup or portafilter counts against itconnectivity— string — How the scale talks to an app or a machine controllerresolution_g— ['number', 'null'] — Finest published readability in grams. Leave null unless the maker states itwater_resistance— ['string', 'null'] — IEC 60529 ingress code as published, e.g. IPX4, IPX6, IP67, or noneflow_rate_display— ['integer', 'null'] — 1 if the scale shows live flow rate in g/s, 0 if it does not, null if the maker never saidresolution_banded— ['integer', 'null'] — 1 when resolution_g only holds in the lowest weight band and coarsens with load. Put the ladder in notes
Hints: read-only no · destructive no · idempotent no · open-world no
list_scalesread-onlyList registered scales for the account. The `id` on each row is the number this account knows that record by, counting from 1: safe to show, and what other tools expect back.
Parameters:
status— string — Filter by status: current (unarchived), archived, or all. Defaults to current.
Hints: read-only yes · destructive no · idempotent yes · open-world no
register_programdestructiveRegister a programmed shot button on a machine. A program cuts the shot off either by weight (program_type "volumetric", set target_volume_g) or by time (program_type "timed", set target_time_s). One machine can have a mix of both. A program_number the machine already has is overwritten with these settings; shots logged on it keep pointing at it.
Parameters:
machine_id(required) — integerprogram_number(required) — integer — Program number / button index (e.g. 1 or 2)description— ['string', 'null']program_type— string — Cutoff method: "volumetric" (weight) or "timed" (duration). Defaults to volumetric.target_time_s— ['number', 'null'] — Target shot duration cutoff in seconds (required for timed programs)volume_source— string — Confidence in the stored cutoff value, for either typetarget_volume_g— ['number', 'null'] — Target yield cutoff in grams (required for volumetric programs)
Hints: read-only no · destructive yes · idempotent no · open-world no
register_coffeeRegister a coffee that is NOT yet in list_beans, together with its first bag. It does not switch a coffee in use: it becomes active only when no coffee is in use (none active, or the active one archived or with every bag finished); otherwise call set_active with its bean_id when the user starts brewing it. The `active` field of the reply says which. The coffee is the roaster's product (roaster, origins, variety, process, roast level, roasting type, cupping score, aromatics, roaster notes, rest window); the bag is this purchase (roast date, weight, price, state). For another bag of a coffee already on file call register_bag instead: it keeps the recipes and notes. Returns bean_id and the first bag's bag_id.
Parameters:
name(required) — stringroast_date(required) — string — Calendar day in YYYY-MM-DD format: a day, not a timestamproast_level(required) — stringprocess_type(required) — stringean— stringurl— stringbody— string — Free text; roasters usually say low, medium or highcost— numbernotes— string — The coffee's own description: the roaster's tasting notes, the dialing approach that worked. Per bag notes go in bag_notes.state— stringorigin— stringrating— integeracidity— string — Free text; roasters usually say low, medium or highco2e_kg— numberorigins— array — List of bean origin detailsqr_code— stringroaster— stringstorage— stringvariety— stringarchived— integer — 1 if archived, 0 otherwisebean_mix— string — E.g. blend detailsbuy_date— string — Calendar day in YYYY-MM-DD format: a day, not a timestampcurrency— stringfinished— integer — 1 if finished, 0 otherwisearomatics— stringbag_notes— stringfavourite— integer — 1 if favourite, 0 otherwisefrozen_at— string — Calendar day the bag went into the freezer, YYYY-MM-DD: a day, not a timestampsweetness— string — Free text; roasters usually say low, medium or highproduct_id— string — Set by the apps. Leave out.arabica_pct— number — Percent arabica, 100 for a pure arabica; the rest robustaattachments— string — JSON or comma-separated list of attachmentsfrozen_note— stringopened_date— string — Calendar day in YYYY-MM-DD format: a day, not a timestamproast_range— stringunfrozen_at— string — Calendar day the bag came out, YYYY-MM-DD: a day, not a timestampbag_weight_g— number — Bag weight in gramsbest_by_date— string — Calendar day in YYYY-MM-DD format: a day, not a timestamproast_custom— stringdecaffeinated— integer — 1 if decaf, 0 if regulardial_category— string — Dialing behavior class: classic = medium/traditional espresso roasts (chocolate/nut, balanced); dark = genuinely dark/roasty; the light categories cover Nordic and ultra-light styles.roasting_type— stringcupping_points— numberfrozen_storage— stringlot_revision_id— string — Set by the apps. Leave out.catalog_coffee_id— string — Set by the apps. Leave out.rest_window_days_max— integerrest_window_days_min— integer
Hints: read-only no · destructive no · idempotent no · open-world no
set_activeSwitch the active bean, grinder or machine for this account. The numbers come from list_beans, list_grinders and list_machines. Registering a coffee, grinder or machine makes it active only when nothing of that kind is in use (the `active` field of the reply says which), so call this to start using something new as well as to switch back.
Parameters:
bean_id— ['integer', 'null'] — This account's own bean number, as returned by list_beans. Never guess one; null = leave unchangedgrinder_id— ['integer', 'null'] — This account's own grinder number, as returned by list_grinders. Never guess one; null = leave unchangedmachine_id— ['integer', 'null'] — This account's own machine number, as returned by list_machines. Never guess one; null = leave unchangedprogram_id— ['integer', 'null'] — A program number from the active machine's list; switching machines clears it. null = leave unchanged
Hints: read-only no · destructive no · idempotent yes · open-world no
update_beandestructiveUpdate a coffee's own fields (roaster, origins, roast level, rest window, notes, rating…). Bag-shaped fields sent here (state, roast_date, bag_weight_g, grams_remaining, cost…) land on the coffee's CURRENT bag. Use update_bag when it has more than one. Changing dial_category changes what the engine advises (G5, C10), so say why in the optional note.
Parameters:
bean_id(required) — integerfields(required) — objectreason— string — Optional free-text note, appended as an ordinary line to the coffee's notes, or to the current bag's bag_notes when the call changed only bag fields. Omit it and nothing is written.
Hints: read-only no · destructive yes · idempotent no · open-world no
get_dial_stateread-onlyRetrieve current dialing state, active context, recent shots, recommendations, and locked recipes.
Hints: read-only yes · destructive no · idempotent yes · open-world no
log_shotLog an espresso or alternative shot/brew attempt. Uses the active context (bean/grinder/machine/program) unless overridden via bean_id/grinder_id/machine_id/program_id. ALWAYS pass bean_id explicitly when the user names a specific coffee, so the shot cannot land on the wrong bag. Backdate with pulled_at when the shot happened earlier. When the user reports taste (bitter, sour, harsh, hollow…), include matching sensory_tags: the diagnosis engine reads tags and metrics, not free-text flavor_notes. When the user tasted the shot and reports it as GOOD/clean (no defects), pass tasted=1 with no sensory_tags. Otherwise a tag-less, rating-less shot is filed taste-pending as if never tasted.
Parameters:
dose_g(required) — numberyield_g(required) — numbertime_s(required) — numberfinish_action(required) — stringtds— number — Total Dissolved Solids percentage (e.g. 9.1 or 1.35)bag_id— ['integer', 'null'] — Which bag of the coffee the shot came from; defaults to its current (open) bag. Bag numbers are on list_beans' bags[]rating— integertasted— integer — 1 = the shot was tasted at log time. The explicit way to record a CLEAN tasting: sensory tags all describe defects, so a good shot has none. Without this flag (or a rating) it would be filed taste-pending. Tags or a rating also mark a shot as tasted; 0 (default) = taste later.bean_id— ['integer', 'null'] — Override: log against this bean instead of the active one (null = active)verdict— stringwater_id— integer — Optional references to waters formulationbest_brew— integer — 1 if marked as best brew, 0 otherwisefavourite— integer — 1 if favourite, 0 otherwisepulled_at— ['string', 'null'] — When the shot was actually pulled (ISO 8601 or "YYYY-MM-DD HH:MM:SS"), for backdated entries. Defaults to now (null = now). When backdating, pass the returned shot_id to diagnose_shot explicitly, because the default diagnosis target is the chronologically latest shot.beverage_g— number — Yield mass excluding cup/vessel weight in gramsgrinder_id— ['integer', 'null'] — Override: grinder used, if not the active one (null = active)machine_id— ['integer', 'null'] — Override: machine used, if not the active one (null = active)program_id— ['integer', 'null'] — Override: machine program used, if not the active one (null = active)temp_taste— stringvessel_name— string — Cup/vessel namebloom_time_s— number — Pre-wetting or bloom duration in secondsdrink_intent— stringflavor_notes— stringflow_profile— string — Opaque flow profile data (JSON/TEXT)method_tools— string — JSON representation of method tools used (e.g., paper filters, screen)observations— objectsensory_tags— arraytemperature_c— number — Brew temperature in Celsiusdata_confidence— string — measured = weighed/timed live; recalled = from memory; estimated = a best guess (e.g. "~25s" after missing the timer)vessel_weight_g— number — Cup/vessel weight in gramsmachine_settings— object — Only when this one shot was pulled with a selector somewhere other than the machine's recorded settings: {key: position}. The shot is otherwise stamped with those automatically; a lasting change goes through update_machine.pressure_profile— string — Pressure profile description or valuesfirst_drip_time_s— number — Time to first drip in seconds
Hints: read-only no · destructive no · idempotent no · open-world no
lock_recipedestructiveLock a successful shot as the reference dialing recipe for this equipment profile. It overwrites the recipe already locked for the same coffee, grinder, machine, program and drink intent, which keeps its recipe_id.
Parameters:
from_shot_id(required) — integerdrink_intent(required) — string
Hints: read-only no · destructive yes · idempotent yes · open-world no
delete_shotdestructiveDelete a logged shot from history. Restores the bean's remaining weight (which is derived from logged doses). Hard delete: there is no undo. To fix a mistake on an otherwise-valid shot, prefer update_shot over delete-and-relog.
Parameters:
shot_id(required) — integer — ID of the shot to delete
Hints: read-only no · destructive yes · idempotent yes · open-world no
update_shotdestructiveCorrect fields on an already-logged shot in place, with no need to delete and re-log. Use for fixing a wrong dose/yield/time or grind label, re-filing a shot onto the right bean (bean_id), backfilling rating/tasting notes, or fixing the timestamp (pulled_at). Changing grind_label re-derives the numeric grind position from the shot's grinder; changing yield/time/dose/tds keeps flow rate and extraction yield consistent automatically.
Parameters:
shot_id(required) — integer — ID of the shot to correctfields(required) — object — Only the fields to change
Hints: read-only no · destructive yes · idempotent yes · open-world no
list_recipesread-onlyList recipes (all or filtered by equipment and status). The `id` on each row is the number this account knows that record by, counting from 1: safe to show, and what other tools expect back.
Parameters:
status— string — Filter by status: current, archived, or all. Defaults to current.bean_id— integergrinder_id— integermachine_id— integer
Hints: read-only yes · destructive no · idempotent yes · open-world no
get_statsread-onlyGet compact flat usage stats for a grinder, machine, or bean.
Parameters:
scope(required) — string — The stats scopeid(required) — integer — The entity ID
Hints: read-only yes · destructive no · idempotent yes · open-world no
list_grindersread-onlyList grinders registered for the account, with status filter. The `id` on each row is the number this account knows that record by, counting from 1: safe to show, and what other tools expect back. Each row carries its maintenance block: every task with its class (S schedule, H habit, Y symptom, A the machine signals it, T technician, N never, U unstated, E event), due state, and the guide to follow.
Parameters:
status— string — Filter by status: current, archived, or all. Defaults to current.maintenance— string — How much of each row's maintenance block to include. compact (default): every task with its class, due state, schedule and guide. full: also the maker's own words (quote, source, alternates, the interval as written).
Hints: read-only yes · destructive no · idempotent yes · open-world no
list_machinesread-onlyList machines registered for the account, with status filter. The `id` on each row is the number this account knows that record by, counting from 1: safe to show, and what other tools expect back. Each row carries its maintenance block, researched per model: every task with its class, due state, what the maker forbids, and the guide to follow. `settings` lists the selectors its model has and where each stands (null: unknown model, or none).
Parameters:
status— string — Filter by status: current, archived, or all. Defaults to current.maintenance— string — How much of each row's maintenance block to include. compact (default): every task with its class, due state, schedule and guide. full: also the maker's own words (quote, source, alternates, the interval as written).
Hints: read-only yes · destructive no · idempotent yes · open-world no
list_beansread-onlyList the coffees registered for the account, with status filter. Each coffee carries its bags[] (every purchase, with its own freshness and grams left) and current_bag_id; the row's top-level roast_date, state, grams_remaining and age fields are the current bag's. The `id` on each row is the number this account knows that coffee by, counting from 1: safe to show, and what other tools expect back; bag ids are a separate series.
Parameters:
status— string — Filter by status: current, archived, or all. Defaults to current.
Hints: read-only yes · destructive no · idempotent yes · open-world no
grinder_mathread-onlyDetermine steps/clicks difference and directions between setting labels (C3).
Parameters:
grinder_id(required) — integerfrom_label(required) — stringto_label(required) — string
Hints: read-only yes · destructive no · idempotent yes · open-world no
compute_ageread-onlyCompute a bag's age in days off roast and its resting/staling verdict, for the coffee's current bag by default or for the bag named.
Parameters:
bean_id(required) — integerbag_id— ['integer', 'null'] — A bag of that coffee (from list_beans' bags[]); null = its current bag
Hints: read-only yes · destructive no · idempotent yes · open-world no
diagnose_shotread-onlyEvaluate shot metrics to provide ranked hypotheses (C6) and warn on flip-flops (G2) or fatigue (G6). Resolves the SHOT's own bean (age computed at the shot's pulled_at), never the active profile, and echoes it as bean_context, so diagnosing an older or differently-filed shot is always safe. The engine reads metrics and sensory tags, NOT free-text notes, so make sure taste feedback is recorded as sensory_tags on the shot (via log_shot or update_shot) before diagnosing; otherwise an in-range shot that tastes bad will come back "balanced".
Parameters:
shot_id— integer — Optional shot ID; defaults to last pulled shot.
Hints: read-only yes · destructive no · idempotent yes · open-world no
suggest_next_stepread-onlyRetrieve the single next experiment step from the reasoning engine.
Parameters:
bean_id(required) — integer
Hints: read-only yes · destructive no · idempotent yes · open-world no
log_recommendationLog a recommended dialing change to allow contradiction/oscillation checking (G2).
Parameters:
lever(required) — stringdirection(required) — stringrationale(required) — stringconfidence(required) — stringcited_rules— arraybased_on_shot— integer
Hints: read-only no · destructive no · idempotent no · open-world no
get_ruleread-onlyRetrieve the detailed text of a specific rule from the knowledge base by its rule ID.
Parameters:
rule_id(required) — string — The ID of the rule to fetch, e.g. CAT.DARK
Hints: read-only yes · destructive no · idempotent yes · open-world no
get_kb_versionread-onlyRetrieve the current version of the knowledge base.
Hints: read-only yes · destructive no · idempotent yes · open-world no
kb_changelogread-onlyRetrieve the changelog showing updates and version differences for the knowledge base.
Hints: read-only yes · destructive no · idempotent yes · open-world no
diagnose_previewread-onlySandbox-only diagnosis, writes nothing (no verdict, no recommendation-trail entry). Two modes: pass shot_id to dry-run a LOGGED shot (optionally overriding its sensory_tags, for the "what would this read as?" preview; the shot's own bean and its age at pulled_at are used), or pass the full metric set (bean_id, grinder_id, machine_id, grind_label, dose_g, yield_g, time_s, source) for a hypothetical shot. Identical output shape to diagnose_shot, including bean_context.
Parameters:
dose_g— number — Dose in gramssource— string — Grinder position source. Affects G1 warning (raw mode only)time_s— number — Extraction time in secondsbean_id— integer — Coffee bean ID (must belong to this account)shot_id— integer — Preview a logged shot by ID (dry-run; ignores the metric params below)yield_g— number — Yield in gramsgrinder_id— integer — Grinder ID (must belong to this account)machine_id— integer — Machine ID (must belong to this account)grind_label— string — Grinder setting label, e.g. "1.1.3"sensory_tags— array — Sensory observations, e.g. ["sour","bitter"]. With shot_id: replaces the stored tags for this preview (omit to use stored; [] = none).
Hints: read-only yes · destructive no · idempotent yes · open-world no
list_shotsread-onlyList shot history with support for pagination and filtering. Every shot carries a derived taste_pending flag (1 = logged with no sensory tags, no rating, and no tasted flip: the tasting is still owed and can be backfilled with update_shot).
Parameters:
limit— integer — Number of records to return (1-500)offset— integer — Offset for paginationfilters— object
Hints: read-only yes · destructive no · idempotent yes · open-world no
register_bagRegister another bag of a coffee that is already in list_beans: the same roaster's product, bought again. It keeps the coffee's recipes, notes and history; only the purchase facts (roast date, weight, price, state) are new. Does not change the active coffee. Returns a bag_id: bag numbers are their own series, separate from bean numbers. For a coffee that is not in list_beans yet, call register_coffee instead.
Parameters:
bean_id(required) — integer — This account's own coffee number, from list_beans. Never guess one.roast_date(required) — string — Calendar day in YYYY-MM-DD format: a day, not a timestampean— stringcost— numberstate— string — Defaults to sealed; the first log_shot against it opens itqr_code— stringstorage— stringbuy_date— string — Calendar day in YYYY-MM-DD format: a day, not a timestampcurrency— stringbag_notes— string — Notes about THIS bag (a batch note, where it was bought). The coffee's own description lives on the coffee, in notes.product_id— string — Set by the apps. Leave out.opened_date— string — Calendar day in YYYY-MM-DD format: a day, not a timestampbag_weight_g— number — Bag weight in gramsbest_by_date— string — Calendar day in YYYY-MM-DD format: a day, not a timestamplot_revision_id— string — Set by the apps. Leave out.catalog_coffee_id— string — Set by the apps. Leave out.
Hints: read-only no · destructive no · idempotent no · open-world no
update_bagdestructiveChange bag-level facts on one bag of a coffee: open, seal, freeze, thaw or finish it, correct its roast date, weight, grams left or price. Bag numbers come from the bags[] on list_beans (or current_bag_id). For the coffee itself (roaster, origin, roast level, rest window, notes), use update_bean.
Parameters:
bag_id(required) — integer — This account's own bag number, from list_beans' bags[]. Never guess one.fields(required) — objectreason— string — Optional free-text note, appended to this bag's notes as an ordinary line. Omit it and nothing is written.
Hints: read-only no · destructive yes · idempotent no · open-world no
merge_beansdestructiveFold one coffee into another when the same coffee was registered twice. Every bag, shot, recipe and recommendation of from_bean_id moves to into_bean_id; the active coffee follows if it was the one merged away; origins move only if the target has none. Where both hold a locked recipe for the same grinder, machine, program and drink, the newer lock wins and the older is deleted. The source coffee is archived, never deleted. Irreversible: confirm both numbers with the user first (list_beans shows them).
Parameters:
from_bean_id(required) — integer — The duplicate: the coffee number that will be emptied and archivedinto_bean_id(required) — integer — The coffee number that keeps everythingreason— string — Optional note, recorded on the surviving coffee's notes with the merge
Hints: read-only no · destructive yes · idempotent no · open-world no
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.