Skip to content

Tag management: Oura sync updates + edit times + MCP delete #243

@fiddur

Description

@fiddur

Problems

1. Oura tag sync doesn't propagate updates

When a tag's time is edited in Oura, the change doesn't reach Aurboda on next sync. Example: Meditation tag on 2026-02-22 was moved 1 hour earlier in Oura, but Aurboda kept the original time.

2. Missing Oura tags on sync

A "Sex" tag logged in Oura at ~17:15-17:45 CET on 2026-02-22 never appeared in Aurboda after sync. Unclear why some tags sync and others don't.

3. No way to edit tag times

Neither the detail view (/detail/tag/:id) nor the MCP has an edit/update operation for tags. Currently the only option is delete + re-add, which loses the original source attribution.

Desired: Add time editing (start_time, end_time) in both the web detail view and via MCP (update_tag or similar).

4. MCP delete_tag doesn't work for Oura-sourced tags

delete_tag takes an external_id parameter, but the tag IDs returned by query_tags are internal UUIDs. For Oura-sourced tags, the external_id doesn't match the internal id, so delete returns { deleted: false }. The web UI / API delete works fine.

Example: Tried to delete tag 173e8008-059d-417c-95bf-65d9afd0d108 (Oura Meditation) via MCP — failed. The MCP should accept the internal ID, or query_tags should expose the external_id.

Workaround used

Manually added corrected tags via add_tag MCP. The stale Oura meditation tag remains as a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions