Skip to main content
Glama

ntimer

Edit Time Entry

ntime_edit_session
DestructiveIdempotent

Use this when you need to change a saved session's work item, activity type, start or end time, or note. Pauses merge into one block when times change. Running sessions allow only work, type, and note changes; invoiced sessions cannot be changed.

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": {
      "session": "<session>"
    },
    "name": "ntime_edit_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
typeNoActivity type: coding, office, meeting, or learning. Defaults to the work item's inherited type, or office. Hobby, habit, and personal work use their own type.
workNoWork name, full path ("Studio / Ntime"), or ID; case-insensitive.
endIsoNoNew end time, ISO 8601, for example 2026-10-17T09:00:00+03:00.
sessionYesSession ID returned by a status or report result.
startIsoNoNew start time, ISO 8601, for example 2026-10-17T09:00:00+03:00.
idempotencyKeyNoOn a retry, the same key returns the first result without repeating the operation.

Output Schema

NameRequiredDescriptionDefault
idYes
modeYes
noteYes
workYes
stateYes
sourceYes
workIdYes
elapsedYes
activityYes
elapsedMsYes
startedAtYes
stoppedAtYes
lastSeenAtYes
idleMinutesYes

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 destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: pauses merge into one block when times change, and editability is gated by session state (running vs. invoiced). It does not mention the idempotencyKey retry semantics, which the schema covers instead.

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?

Three sentences, front-loaded with the usage trigger, then behavioral consequence, then state restrictions. No redundant restatement of the title or the schema, and every sentence carries information an agent could not get from structured fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 not be described. Given a 7-parameter mutation with full annotation coverage, the description supplies the missing behavioral layer — pause merging and session-state gating — which is what an agent needs to avoid attempting a failing edit.

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 86%, so baseline is 3. The description earns above that by adding a state-dependent constraint per parameter group — running sessions accept only work, type, and note — which the schema does not express for any individual property. The remaining parameters (startIso, endIso, session, idempotencyKey) get no added meaning beyond the schema.

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: "change a saved session's work item, activity type, start or end time, or note." An agent can distinguish this from ntime_delete_session or ntime_start without opening the schema, though it does not name a sibling alternative explicitly.

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?

"Use this when you need to change..." gives clear triggering context, and the closing sentence defines explicit when-not conditions: running sessions permit only work, type, and note edits, and invoiced sessions cannot be changed at all. It stops short of naming the alternative tool for deletion or for editing other entity types.

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.