Skip to main content
Glama

update_wellbeing

Idempotent

Update an existing wellbeing entry; omitted fields stay unchanged.

SELECTOR: exactly one; id if known, else date (any day within the entry's period). date matching more than one entry -> error with candidate IDs to retry with.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
idNoWellbeing entry ID.
dateNoYYYY-MM-DD within the entry's period.
moodNoNew mood 1-10.
painNoNew chronic pain 1-10, higher is worse; needs chronic pain tracking enabled.
notesNoNew notes; replaces existing.
energyNoNew energy 1-10.
stressNoNew stress 1-10.
sorenessNoNew soreness 1-10.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -"Alternative to id: a date (YYYY-MM-DD) that falls within the entry's period. Resolves only when exactly one entry matches."New value: +"YYYY-MM-DD within the entry's period."
    • changedInput schema / properties / energy / description
      Previous value: -"Updated energy 1-10. Optional."New value: +"New energy 1-10."
    • changedInput schema / properties / id / description
      Previous value: -"Wellbeing entry ID. Alternative to date."New value: +"Wellbeing entry ID."
    • changedInput schema / properties / mood / description
      Previous value: -"Updated mood 1-10. Optional."New value: +"New mood 1-10."
    • changedInput schema / properties / notes / description
      Previous value: -"Updated notes (replaces existing). Optional."New value: +"New notes; replaces existing."
    • changedInput schema / properties / pain / description
      Previous value: -"Updated chronic pain 1-10, higher is worse. Optional; requires chronic pain tracking enabled."New value: +"New chronic pain 1-10, higher is worse; needs chronic pain tracking enabled."
    • changedInput schema / properties / soreness / description
      Previous value: -"Updated soreness 1-10. Optional."New value: +"New soreness 1-10."
    • changedInput schema / properties / stress / description
      Previous value: -"Updated stress 1-10. Optional."New value: +"New stress 1-10."
  2. Changed1 schema field changed
    • addedInput schema / properties / pain
      Added value: +{
      +  "description": "Updated chronic pain 1-10, higher is worse. Optional; requires chronic pain tracking enabled.",
      +  "type": "integer"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "Alternative to id: a date (YYYY-MM-DD) that falls within the entry's period. Resolves only when exactly one entry matches.",
      +  "type": "string"
      +}
    • changedInput schema / properties / id / description
      Previous value: -"Wellbeing entry ID from list_wellbeing. Required."New value: +"Wellbeing entry ID. Alternative to date."
    • removedInput schema / required
      Removed value: -[
      -  "id"
      -]
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so safety is largely covered. The description adds behavior not in the annotations: fields not supplied are left untouched, and an ambiguous date produces an error carrying candidate IDs for retry. It stops short of saying what happens if no fields at all are supplied (no-op vs. error).

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?

Two tight paragraphs: the mutation semantics first, then a labeled 'SELECTOR' block with the disambiguation rule. Every sentence carries information the agent needs, and the critical constraint is front-loaded.

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

Completeness4/5

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

With eight optional parameters and an output schema, the definition covers what an agent most needs: how to identify the target and how partial updates behave. The one residual gap is the all-omitted-fields case, which is left undefined.

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

Parameters4/5

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

Schema coverage is 100% and already documents ranges and the chronic-pain prerequisite, so the schema does the heavy lifting. The description adds genuine meaning on top by defining the id/date selection contract and the exactly-one constraint, which the schema alone does not express since no parameters are required.

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?

States a specific verb and resource ('Update an existing wellbeing entry') and adds the partial-update rule ('omitted fields stay unchanged'), which sharpens what the tool does. It does not name a sibling such as log_wellbeing or add_or_update_personal_context, so the reader must infer the create-vs-update boundary from the word 'existing' rather than from explicit differentiation.

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?

'SELECTOR: exactly one; id if known, else date' is explicit guidance on how to choose between the two identifying parameters, including a stated preference order. The ambiguity case is also covered: 'date matching more than one entry -> error with candidate IDs to retry with.' What is missing is when to use this tool rather than the create/log siblings, so use-vs-alternatives is only implied.

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.