Skip to main content
Glama

Log a past time entry

log_time_entry

Record a finished block of time that was not tracked live, with a start and an end. Does not affect a running timer.

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": {
      "startTime": "<startTime>",
      "endTime": "<endTime>"
    },
    "name": "log_time_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
endTimeYesISO 8601 with an offset (2026-10-12T14:30:00+05:30), a local time (2026-10-12 14:30) in your timezone, or "now"
startTimeYesISO 8601 with an offset (2026-10-12T14:30:00+05:30), a local time (2026-10-12 14:30) in your timezone, or "now"
activityIdNoActivity id from list_activities
activityNameNoActivity name, when the id is not known. Case-insensitive; prefix matches work.

Output Schema

NameRequiredDescriptionDefault
timezoneYesThe user's IANA timezone. Times in this result are in this zone.
timeEntryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), so the bar is lower. The description still contributes a real behavioral fact beyond them: logging does not disturb an active running timer, which matters for an agent mid-session. It omits edge cases such as overlapping existing entries or how the entry surfaces in summaries.

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?

Two tight sentences with the primary definition first and the scoping caveat second. No redundant restatement of the title or schema.

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?

An output schema exists so return values need no explanation, and the schema fully covers parameters. The remaining gap is whether overlapping or duplicate entries are allowed and what validation failures occur (e.g. end before start), which an agent might want before committing a write.

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 coverage is 100%, so the schema already documents all four parameters including the flexible time formats and the activityId/activityName pair. The description only restates that a start and an end are required, adding nothing about choosing id versus name or about timezone defaults — correct baseline for schema-covered params.

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 names a specific verb and resource ('Record a finished block of time') and delimits scope ('not tracked live, with a start and an end'). The second sentence separates it cleanly from start_timer/stop_timer siblings, so an agent can pick it 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?

'Was not tracked live' gives a clear condition for choosing this over live timer tools, and 'Does not affect a running timer' acts as an exclusion. It stops short of naming start_timer/stop_timer directly as the alternatives, so it is clear context rather than explicit routing.

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