Skip to main content
Glama

tududi_log_habit_completion

Logs a completion for a Tududi habit, with optional note, measured value, and timestamp, so AI tools can record habit progress directly from the IDE.

Instructions

Log a completion for a habit

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": "tududi_log_habit_completion"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesHabit UID
noteNoOptional completion note
valueNoOptional measured value (for targetValue habits)
completedAtNoOptional ISO completion timestamp

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

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 of behavioral disclosure, and it says nothing about idempotency, what happens on duplicate logging, whether it affects stats, or whether it is reversible. For a mutation tool with zero annotation coverage, that is a significant gap.

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?

A single short sentence with no wasted words, front-loaded with the verb. It is efficient, though its brevity comes at the cost of the specification gaps noted elsewhere rather than from trimming redundancy.

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 write operation with no annotations and no output schema, and the description does not state what happens on success or whether existing completions are affected. The fully documented schema covers inputs, but the behavioral side is left entirely to inference.

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 all four parameters (id, note, value, completedAt) are already documented in the schema, including the format hint for ISO timestamps. The description adds no meaning beyond the schema, which is acceptable at the baseline 3 given full coverage.

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?

The description gives a specific verb and resource: 'Log a completion for a habit', which is unambiguous on its own. It does not, however, distinguish this from the sibling tool tududi_skip_habit_day, whose behavior is plausibly adjacent, so the agent must infer the difference.

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?

No when-to-use, when-not-to-use, or alternative is stated. Nothing tells the agent whether to call this versus skip_habit_day or whether a habit can be logged more than once per day.

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