Skip to main content
Glama

Sergio by Serviche

Import a time-logs CSV

import_time_logs
Idempotent

Imports a BookingKoala time-logs export into the business's actual visit records, as the Data import page's Time Logs Import does: pass the whole file's text as csvData. Rows match existing bookings by booking id and are idempotent on booking plus service date, so re-importing the same file writes nothing new. It records what happened (clock in/out, dwell, lunch, travel); it sends nothing. Answers the import report (rows written, skipped, errors). Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.

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": {
      "csvData": "<csvData>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "import_time_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change.
csvDataYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by explaining what idempotency concretely means (matching on booking plus service date, re-import writes nothing new) and by disclosing the side effect that it records data without sending anything. It also warns this is an owner-level change that triggers an owner notice, and names what the response report contains (written, skipped, errors).

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-loads the core action and the csvData instruction, then layers idempotency, side effects, and the retry rule. Information-dense with minimal waste, though the closing owner-notice remark and the Data-import-page comparison slightly lengthen it.

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?

No output schema exists, yet the description explains the return (an import report with rows written, skipped, errors) and covers retry semantics, matching behavior, and side effects. For a 3-parameter bulk-import tool, an agent has everything needed to invoke it correctly.

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 67%; the description compensates for the undescribed csvData parameter by stating it is the whole file's text. For idempotency_key it adds operational meaning beyond the schema pattern — reuse on retries of the same operation, new key for a new operation.

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?

Specific verb and resource: imports a BookingKoala time-logs CSV into the business's actual visit records, matching rows by booking id. It also distinguishes itself from other imports by stating "it records what happened (clock in/out, dwell, lunch, travel); it sends nothing," which separates it from messaging/queue-oriented siblings.

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?

Gives clear usage context: pass the whole file's text as csvData, and reuse the same idempotency_key when retrying. It does not name alternative tools (e.g. cancel_import or other import flows) or state when not to use it, so it stops short of explicit routing guidance.

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