Skip to main content
Glama
efirvida

wakatime-mcp

by efirvida

wakatime_mark_consumed

Mark time ranges as consumed after a commit to prevent double-counting in subsequent WakaTime session duration calls.

Instructions

Mark time ranges as consumed after a commit. Prevents double-counting in subsequent session_duration calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchNoBranch name (optional)
file_pathsYesFile paths that were committed (required)
commit_hashYesGit commit hash (required)
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It adds the key consequence of preventing double-counting, but it doesn't mention whether the operation is reversible, idempotent, or has other side effects. The description focuses on the intended effect rather than a full behavioral profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences with no filler. The first states the action and timing, the second explains the benefit. Every word earns its place.

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?

The tool is simple with only 3 parameters and no output schema. The description gives the purpose, timing, and main behavioral effect, which is sufficient to understand when and why to use it. It doesn't explain return values, but that's not critical for this type of marking operation.

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?

The input schema provides full descriptions for all three parameters (commit_hash, file_paths, branch), so the description doesn't need to add parameter details. The description adds no param-specific information beyond what the schema already provides, earning the baseline for high schema coverage.

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?

The description clearly states the action ('Mark time ranges as consumed') and the specific context ('after a commit'), and distinguishes the tool from siblings by explicitly mentioning it prevents double-counting in subsequent session_duration calls, which is a sibling tool.

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?

The description specifies when to use it ('after a commit') and explains the consequence ('Prevents double-counting in subsequent session_duration calls'), which implies its relationship with session_duration. However, it doesn't explicitly state when not to use it or name alternative tools beyond session_duration.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/efirvida/wakatime-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server