Skip to main content
Glama

Set a maintenance schedule

set_maintenance_schedule
DestructiveIdempotent

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

Input Schema

NameRequiredDescriptionDefault
taskYesThe task, as its value in that equipment's maintenance.tasks
fieldsNo
changed_atNoOptional: 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
equipment_idYesThis account's own grinder or machine number, from list_grinders or list_machines
equipment_kindYesWhich kind of equipment the task is on

Output Schema

NameRequiredDescriptionDefault
dueYes
taskYes
classYes
everyYes
appliedYes
messageYes
scheduleYes
equipment_idYes
every_sourceYes
equipment_kindYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedOutput schema / properties / due / properties / done / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "number"
      +]
    • changedOutput schema / properties / due / properties / due_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / due / properties / every / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "number"
      +]
    • changedOutput schema / properties / due / properties / last_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / due / properties / overdue_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / due / properties / ratio / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "number"
      +]
    • changedOutput schema / properties / due / properties / remaining / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "number"
      +]
    • changedOutput schema / properties / due / properties / soon_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / changed_at / description
      Previous value: -"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"New value: +"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"
  3. Changed2 schema fields changed
    • addedOutput schema / properties / due / properties / soon
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / due / properties / soon_at
      Added value: +{
      +  "type": "string"
      +}
  4. Added

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Despite annotations already declaring mutation and idempotency, the description adds substantial behavioral context: partial-update semantics ('Only the keys you send in fields change'), null-as-reset behavior for both every and muted_until, what enabled:false does without forgetting the interval, and how changed_at resolves queued-edit conflicts with applied:false. This is exactly the kind of detail annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the core action and then the partial-update rule and usage trigger. Dense but nearly every clause carries operational meaning; the final read-back sentence is slightly tangential but still useful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex nested-parameter mutation with an output schema and annotations, the description covers when to use it, how partial updates behave, reset semantics, and where to read task state. Nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 80%, and the nested schema already documents the null-reset semantics for every and muted_until, enabled:false, and changed_at conflict handling. The description largely restates those same semantics rather than adding new meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource (set the user's own schedule for one maintenance task on one grinder/machine) and enumerates the three modes: own interval, switch off, or mute. It is clearly distinguished from siblings like log_maintenance and set_maintenance_offset, which handle logging and offsets rather than a full schedule.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ('when the user states how often they do a task or asks to be left alone about one') and an explicit prohibition ('never to invent an interval'). It also points to list_grinders and list_machines for reading back state, but does not explicitly contrast with set_maintenance_offset, so it falls just short of naming alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources