Skip to main content
Glama

ShotPulled

Log maintenance

log_maintenance

Log 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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoOptional: what you did, and anything that surprised you
taskYesWhich maintenance job was performed
detailsNoFields specific to this task. Which ones a task takes is published as details_fields on each task; a burr clean takes none
evidenceNoOne line recording what the measurement rested on, e.g. "Counted 6 clicks coarser at reassembly."
guide_idNoOptional: the id of the maintenance guide that was followed. Must be a guide for this task
equipment_idYesThe ID of that piece of equipment
offset_valueNoThe 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 assumes
performed_atNoWhen it was done (ISO 8601 or YYYY-MM-DD HH:MM:SS, UTC). Defaults to now; backdating is fine
disturbs_zeroNoWhether 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 alone
offset_sourceNoHow the offset was arrived at: pull (a reference shot), counted (clicks counted at reassembly), typed (asserted directly)
equipment_kindYesWhich kind of equipment this job was done on

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
entryYes
dedupedYes
messageYes
entry_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / disturbs_zero / description
      Previous value: -"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 alone"New value: +"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 alone"
    • changedInput schema / properties / guide_id / description
      Previous value: -"Optional — the id of the maintenance guide that was followed. Must be a guide for this task"New value: +"Optional: the id of the maintenance guide that was followed. Must be a guide for this task"
    • changedInput schema / properties / note / description
      Previous value: -"Optional — what you did, and anything that surprised you"New value: +"Optional: what you did, and anything that surprised you"
  2. Changed12 schema fields changed
    • changedInput schema / properties / details / description
      Previous value: -"Fields specific to this task. Which ones a task takes is published as details_fields in the task catalog on list_grinders; a burr clean takes none"New value: +"Fields specific to this task. Which ones a task takes is published as details_fields on each task; a burr clean takes none"
    • changedInput schema / properties / equipment_kind / enum
      Previous value: -[
      -  "grinder"
      -]New value: +[
      +  "grinder",
      +  "machine"
      +]
    • addedInput schema / properties / guide_id
      Added value: +{
      +  "description": "Optional — the id of the maintenance guide that was followed. Must be a guide for this task",
      +  "type": "string"
      +}
    • changedInput schema / properties / task / enum
      Previous value: -[
      -  "burr_clean"
      -]New value: +[
      +  "burr_clean",
      +  "backflush_water",
      +  "backflush_detergent",
      +  "descale",
      +  "group_gasket_replace",
      +  "shower_screen_clean",
      +  "shower_screen_replace",
      +  "group_head_wipe",
      +  "basket_portafilter_soak",
      +  "steam_wand_purge",
      +  "steam_wand_soak",
      +  "drip_tray_clean",
      +  "water_tank_clean",
      +  "water_filter_replace",
      +  "boiler_water_change",
      +  "lever_piston_seal_replace",
      +  "lever_lubricate",
      +  "milk_system_clean",
      +  "professional_service",
      +  "builtin_grinder_burr_clean",
      +  "builtin_grinder_burr_replace",
      +  "grinder_quick_clean",
      +  "grinder_cleaning_tablets",
      +  "burr_replace",
      +  "hopper_clean",
      +  "grounds_cup_clean",
      +  "bearing_lubricate",
      +  "gasket_seal_replace",
      +  "idle_rinse",
      +  "water_wash",
      +  "dishwasher",
      +  "filter_prime",
      +  "softener_regenerate",
      +  "other"
      +]
    • addedOutput schema / properties / deduped
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / entry / properties / details / additionalProperties
      Added value: +true
    • addedOutput schema / properties / entry / properties / details / properties
      Added value: +{
      +  "filter_id": {
      +    "type": "string"
      +  },
      +  "label": {
      +    "type": "string"
      +  },
      +  "product": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / entry / properties / details / required
      Added value: +[]
    • changedOutput schema / properties / entry / properties / details / type
      Previous value: -"null"New value: +[
      +  "null",
      +  "object"
      +]
    • addedOutput schema / properties / entry / properties / guide_id
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
    • changedOutput schema / properties / entry / required
      Previous value: -[
      -  "id",
      -  "equipment_kind",
      -  "equipment_id",
      -  "task",
      -  "performed_at",
      -  "disturbs_zero",
      -  "note",
      -  "offset_value",
      -  "offset_source",
      -  "offset_at",
      -  "evidence",
      -  "details",
      -  "details_version",
      -  "created_at",
      -  "details_known"
      -]New value: +[
      +  "id",
      +  "equipment_kind",
      +  "equipment_id",
      +  "task",
      +  "performed_at",
      +  "disturbs_zero",
      +  "note",
      +  "offset_value",
      +  "offset_source",
      +  "offset_at",
      +  "evidence",
      +  "details",
      +  "details_version",
      +  "created_at",
      +  "guide_id",
      +  "details_known"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "entry_id",
      -  "entry",
      -  "message"
      -]New value: +[
      +  "entry_id",
      +  "entry",
      +  "deduped",
      +  "message"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / entry / properties / details_known
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / entry / required
      Previous value: -[
      -  "id",
      -  "equipment_kind",
      -  "equipment_id",
      -  "task",
      -  "performed_at",
      -  "disturbs_zero",
      -  "note",
      -  "offset_value",
      -  "offset_source",
      -  "offset_at",
      -  "evidence",
      -  "details",
      -  "details_version",
      -  "created_at"
      -]New value: +[
      +  "id",
      +  "equipment_kind",
      +  "equipment_id",
      +  "task",
      +  "performed_at",
      +  "disturbs_zero",
      +  "note",
      +  "offset_value",
      +  "offset_source",
      +  "offset_at",
      +  "evidence",
      +  "details",
      +  "details_version",
      +  "created_at",
      +  "details_known"
      +]
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources