Skip to main content
Glama

Set a project's total for days

set_day_totals
Idempotent

Set one project's total minutes for up to 31 days: more than 0 creates or updates that day's single entry, 0 clears it. Days skipped: several entries, a running timer, or time already on an invoice (add a new entry for extra time); they are reported, never merged. A note, when given, is applied to every day written.

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": {
      "project": "<project>",
      "cells": "<cells>"
    },
    "name": "set_day_totals"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoDescription applied to every day written
cellsYesOne item per day to set (1 to 31 days)
projectYesProject id, or "Client / Project" (just the project name works when it is unique)

Output Schema

NameRequiredDescriptionDefault
createdYes
deletedYes
projectYes"Client / Project"
skippedYesDays skipped: several entries, a running timer, or time already on an invoice (add a new entry for extra time)
updatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / skipped / description
      Previous value: -"Days skipped: several entries or a running timer"New value: +"Days skipped: several entries, a running timer, or time already on an invoice (add a new entry for extra time)"
  2. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations only declare readOnly=false, destructive=false, idempotent=true, openWorld=false. The description goes well beyond them: 0 clears an existing entry, non-zero upserts the day's single entry, and days are skipped rather than merged when multiple entries, a running timer, or invoiced time exist, with those days reported back. It also discloses that a supplied note is applied to every day written, which is important side-effect information for a bulk write.

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?

Three sentences, front-loaded with the core operation, then edge-case handling, then the note side effect. The telegraphic skipped-days clause ('Days skipped: several entries, a running timer, or time already on an invoice') is compact but slightly dense; otherwise there is no wasted wording.

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 bulk mutation with a rich output schema, the description covers the write semantics, the clearing case, and the skip/report behavior an agent needs before calling. Return values need not be explained since an output schema exists. Minor gaps are permission requirements and confirmation of partial-failure reporting shape, which the output schema likely covers.

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 the schema already documents project, date, minutes, and note. The description restates the same facts ('0 clears it', 'up to 31 days', note applied to every day written) rather than adding new syntax or format guidance. Baseline 3 is appropriate when the schema carries the parameter burden.

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 opens with a specific verb and resource plus scope: 'Set one project's total minutes for up to 31 days'. It also defines the core semantic of setting a total (non-zero creates/updates the single entry, 0 clears it), which implicitly distinguishes it from entry-logging siblings. It stops short of naming an alternative such as log_time_on_days, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Guidance is behavioral rather than selectional: it explains what happens on days with several entries, a running timer, or invoiced time, and tells the caller to 'add a new entry for extra time'. That is useful conditional context, but there is no explicit statement of when to choose this tool over a sibling like log_time_on_days, leaving the when-to-use decision 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.