Skip to main content
Glama

Power Day Planner

Log activity

log_activity

Record progress on one Must or habit from the user's plan for today or yesterday, then return the updated score. Check-off habits are marked done. Count and duration habits have the amount added to the day's total; two logs at the same time both count. It never lowers or undoes a value. Do not repeat a call after a timeout; check get_power_day first.

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": {
      "activity_id": "<activity_id>"
    },
    "name": "log_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoWhich day to log.today
amountNoWhole amount to add for count or duration habits (minutes for duration). Ignored for check-off habits.
activity_idYesActivity id from get_power_day.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare the non-read-only, non-idempotent, non-destructive profile; the description adds real value on top by explaining that amount accumulates into the day's total, that duplicate concurrent logs both count, and that values are never lowered or undone. It also warns about the timeout-retry hazard, which the annotations do not express. It does not describe failure modes or permission requirements.

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 core action, then behavior modes, then the retry warning. Four tight sentences with little waste, though 'It never lowers or undoes a value' partly restates the additive semantics already implied.

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?

For a three-parameter mutation with no output schema, the description covers action, per-type behavior, and the return value ('the updated score'). Adequate; only edge behavior such as logging outside today/yesterday or the meaning of a returned score is left unstated.

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 a baseline of 3 applies, but the description adds cumulative semantics the schema lacks: amount is added to the day's total for count/duration habits and check-off habits ignore it entirely. It still doesn't clarify the date boundary or the amount cap beyond what the schema enumerates.

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 plus resource and scope: 'Record progress on one Must or habit from the user's plan for today or yesterday, then return the updated score.' It further distinguishes the two behavior modes (check-off vs count/duration), so an agent knows exactly what the call does without opening the schema.

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?

Gives an explicit retry prohibition plus the alternative and ordering: 'Do not repeat a call after a timeout; check get_power_day first.' It also constrains scope to a single activity per call. It stops short of contrasting with sibling write tools like set_task_status or update_task, so the when-not coverage is good but not exhaustive.

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.

Resources