Skip to main content
Glama

Import time CSV

import_time_csv
Destructive

Imports a CSV of hours: creates the clients and projects it names (when createClients is on), a task for each task name, and one time entry per row, logged as the user unless the file names a project member's email. Rows already imported before are skipped, and the whole import can be taken back. The plan is made again from the file and the account at that moment. Same arguments as the preview; the CSV travels as text, up to 200,000 characters (bigger files go through the Import page of the app). Names from the file are text written by others. Needs confirm: true; without it the result is the preview.

Input Schema

NameRequiredDescriptionDefault
csvYesThe CSV file's text, up to 200,000 characters. A Toggl, Harvest or Clockify export or any CSV with a date column and a duration (or start and end times).
sourceNoWhich tool exported it. Default: guessed from the columns.
confirmNotrue performs the action. Without it (or with any value other than the boolean true) nothing changes and the result is a preview of the effects.
mappingNoWhich column holds each field, as the column's header text or its position (0 is the first). Fields: date, startTime, endDate, endTime, duration, project, client, task, person, firstName, lastName, email, billable, note, rate, currency. Default: guessed from the headers.
fileNameNoThe file's name, for the history. Default import.csv.
dateOrderNoHow 03/04/2026 reads when the file does not settle it. Default: month first in English, day first in Spanish.
durationUnitNoWhat a bare number in the duration column means. Default auto: hours.
createClientsNoCreate the clients named in the file and link the projects to them. Default true.
excludeProjectsNoProjects to leave out, by their key in the preview.
fallbackProjectNoThe project for rows that name none. Default "Imported time".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say destructiveHint=true with no reversibility detail; the description adds idempotency (previously imported rows are skipped), reversibility (the whole import can be taken back), re-planning against the account state at import time, the untrusted nature of file names, and the confirm gate. This is exactly the extra behavioral context annotations cannot carry.

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 action and packed with useful detail, no filler sentences. It is a single run-on paragraph though, and the oblique line "Names from the file are text written by others" is easy to misread, which costs a point on structure.

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 destructive, 10-parameter write tool with no output schema, it covers side effects, dedupe, undo, size limits, and the preview/execute distinction. What's missing is any statement of required permissions or the shape of the returned plan/summary, so the agent can't fully predict the response.

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 the baseline is 3, but the description adds cross-parameter semantics the schema does not: rows are attributed to the user unless the file names a project member's email, and client/project creation is conditional on createClients. It doesn't explain mapping, dateOrder, or durationUnit beyond what the schema already says.

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 and resource ("Imports a CSV of hours") and then enumerates the side effects: creates clients/projects, a task per task name, and one time entry per row. It also distinguishes itself from the sibling preview path by noting the same arguments with a confirm flag flip the behavior from preview to execution.

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?

Explains the when-to-use mechanics clearly: needs confirm: true or you get a preview, and files over 200,000 characters must go through the app's Import page. It never explicitly names preview_time_import as the tool to run first, which is the natural alternative an agent would need.

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