Skip to main content
Glama

Dayze — Life Context

Reset Streak Tracker

reset_tracker
Destructive

Preview first, 30-day undo. Resets a sobriety/streak tracker for the authenticated user (sets current value to 0 and restarts the clock). Prefer tracker_id from get_trackers, or tracker_title fuzzy match; optional reset_at (ISO) and note go in the preview arguments. Rebuilds life_state. Reviewed and reversible: first call preview_destructive_change({ tool: "reset_tracker", arguments: { tracker_id } }), which stores the exact change without applying it. After the user confirms, call reset_tracker with preview_id, restore_window_acknowledged: true and request_id; the reviewed preview is applied exactly and a changed record is refused. Returns restore_id; restore_change({ restore_id }) undoes it for 30 days unless the record was edited since. Restore puts back the previous start date, streak and reset count. Requires API key or OAuth with context.delete. Share tokens cannot write. ($0.10; API key required)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoOptional note stored in tracking history
titleNoAlias of tracker_title
reset_atNoISO datetime of the reset (default now)
preview_idYespreview_id returned by preview_destructive_change for this tool.
request_idYesRequired idempotency key; retries return the original receipt.
tracker_idNoEvent UUID of the tracker
tracker_titleNoTitle match when id unknown
idempotency_keyNoAlias for request_id.
restore_window_acknowledgedYesMust be true after reviewing the preview and its 30-day restore window.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
errorNo
accountNoThe Dayze account this data belongs to. With more than one Dayze connection, name it in the answer.
messageNo
preview_idNo
provenanceNoWhich connector wrote the record and which connected Dayze account received it.
reset_dateNo
reset_timeNo
restore_idNoPass to restore_change to undo within restore_window_days.
reversibleNo
tracker_idNo
invalidatesNo
previous_daysNo
tracker_titleNo
idempotent_replayNo
life_state_rebuiltNo
restore_expires_atNo
restore_window_daysNo
tracker_reset_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / account
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer.",
      +  "properties": {
      +    "display_name": {
      +      "description": "Account display name.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "handle": {
      +      "description": "Account handle, e.g. @goh.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "description": "How to disclose the account to the user.",
      +      "type": "string"
      +    },
      +    "qa_fixture": {
      +      "description": "True for a known QA test account: its records are fixture data, not a real life.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "handle",
      +    "display_name",
      +    "qa_fixture",
      +    "note"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / provenance
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Which connector wrote the record and which connected Dayze account received it.",
      +  "properties": {
      +    "account": {
      +      "additionalProperties": false,
      +      "description": "The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer.",
      +      "properties": {
      +        "display_name": {
      +          "description": "Account display name.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "handle": {
      +          "description": "Account handle, e.g. @goh.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "note": {
      +          "description": "How to disclose the account to the user.",
      +          "type": "string"
      +        },
      +        "qa_fixture": {
      +          "description": "True for a known QA test account: its records are fixture data, not a real life.",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "handle",
      +        "display_name",
      +        "qa_fixture",
      +        "note"
      +      ],
      +      "type": "object"
      +    },
      +    "channel": {
      +      "description": "Always mcp_connector.",
      +      "type": "string"
      +    },
      +    "connector": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "kind": {
      +          "description": "oauth or api_key.",
      +          "type": "string"
      +        },
      +        "name": {
      +          "description": "The connected app or API-key label shown to the account owner.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "kind",
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "source": {
      +      "description": "chatgpt for ChatGPT OAuth writes; mcp for another OAuth app or API key.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "source",
      +    "channel",
      +    "connector",
      +    "account"
      +  ],
      +  "type": "object"
      +}
  2. Changed10 schema fields changed
    • addedInput schema / properties / preview_id
      Added value: +{
      +  "description": "preview_id returned by preview_destructive_change for this tool.",
      +  "type": "string"
      +}
    • changedInput schema / properties / request_id / description
      Previous value: -"Client idempotency key (retries return original result)."New value: +"Required idempotency key; retries return the original receipt."
    • addedInput schema / properties / restore_window_acknowledged
      Added value: +{
      +  "description": "Must be true after reviewing the preview and its 30-day restore window.",
      +  "type": "boolean"
      +}
    • addedInput schema / required
      Added value: +[
      +  "preview_id",
      +  "restore_window_acknowledged",
      +  "request_id"
      +]
    • addedOutput schema / properties / idempotent_replay
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / preview_id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / restore_expires_at
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / restore_id
      Added value: +{
      +  "description": "Pass to restore_change to undo within restore_window_days.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / restore_window_days
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / reversible
      Added value: +{
      +  "type": "boolean"
      +}
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark this destructive, and the description adds substantial context beyond them: preview-first requirement, exact application semantics, refusal of changed records, life_state rebuild, the 30-day restore window, restore behavior (start date, streak, reset count), auth scope context.delete, and cost. This is rich behavioral disclosure.

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?

Front-loaded with the two key facts ('Preview first, 30-day undo') and every sentence carries operational weight. It is dense and long, but there is little filler; the length is driven by the multi-step workflow rather than redundancy.

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?

An output schema exists, so return values needn't be described, yet the description still explains the restore_id it returns and how restore_change consumes it. Combined with auth, cost, and the preview/confirm workflow, nothing needed to call this correctly is missing.

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%, so the baseline is 3, but the description adds genuine meaning: tracker_id is preferred over tracker_title fuzzy match, and reset_at/note belong in the preview arguments rather than the final call, which the schema does not clarify. This goes beyond the structured fields.

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?

States a specific verb and resource ('Resets a sobriety/streak tracker... sets current value to 0 and restarts the clock'), and distinguishes itself from sibling get_trackers by naming it as the source of tracker_id. An agent can identify exactly what this does versus the read-side trackers tools.

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

Usage Guidelines5/5

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

Gives an explicit ordered workflow: first call preview_destructive_change, then after user confirmation call reset_tracker with the required fields. It also names get_trackers as the preferred source for tracker_id and states the exclusion that share tokens cannot write.

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.