Skip to main content
Glama
Baby Buddy MCP Server

Baby Buddy MCP Server

update_sleep

Update an existing sleep record in Baby Buddy by changing details such as start/end times, nap status, child, tags, notes, or timer. Use it to correct or complete logged sleep data.

Instructions

Update an existing sleep in Baby Buddy (partial update)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "update_sleep"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUnique ID of the sleep
endNoEnd date-time in ISO 8601 format
napNoWhether this was a nap
tagsNoTags for categorization
childNoChild ID
notesNoAdditional notes
startNoStart date-time in ISO 8601 format
timerNoTimer ID - can be used in place of start, end, and child

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. "Partial update" usefully signals that only supplied fields change, but nothing is said about permissions/auth, behavior when the id does not exist, validation errors, reversibility, or what happens if conflicting start/end values are sent.

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

Conciseness5/5

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

A single short sentence with no filler, and the key scoping information (existing sleep, partial update) is front-loaded. Nothing could be removed without losing meaning.

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

Completeness2/5

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

This is a mutation tool with no annotations and no output schema, and the description says nothing about side effects, error behavior, or required fields beyond what the schema declares. For a write operation of this complexity, the definition is too thin.

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 100%, so every parameter already has a documented meaning and the baseline of 3 applies. The parenthetical "partial update" adds a small amount of meaning about optionality, but the description contributes no format or constraint details beyond the schema.

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

Purpose4/5

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

"Update an existing sleep in Baby Buddy" gives a specific verb and resource, and "(partial update)" clarifies that it is a PATCH-style modification rather than a replacement. It does not explicitly distinguish itself from the update_* siblings for other resources, but the resource name makes the scope unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use update_sleep versus create_sleep, delete_sleep, or update_timer, nor any prerequisites such as needing a valid sleep id. The only usage hint is the parenthetical "partial update," which implies omitted fields are left untouched but is not stated as guidance.

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