Timetastic MCP by usefulapi

Read who is off, leave requests and allowances; request, approve or decline leave in Timetastic.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
96%
Qualität der Benennung
76%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (2)

  • LOWTool 'timetastic_list_public_holidays' name length outside 3-30 rangein timetastic_list_public_holidays
  • LOWTool 'timetastic_approve_or_decline_leave' name length outside 3-30 rangein timetastic_approve_or_decline_leave

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~1,921Tokens (Tool-Definitionen)
~1.4 KBTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (1.50% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "timetastic": {
      "url": "https://timetastic.usefulapi.io/mcp"
    }
  }
}

Remote-Endpunkte

https://timetastic.usefulapi.io/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (10)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢timetastic_list_users(department_id, include_archived, only_archived)

List the users (employees) of the Timetastic organisation, optionally by department or including archived users. Timetastic API: GET /api/users.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "department_id": {
      "description": "Only users in this department id.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "include_archived": {
      "description": "Include archived users (default false).",
      "type": "boolean"
    },
    "only_archived": {
      "description": "Return archived users only (default false).",
      "type": "boolean"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢timetastic_get_user(user_id)

Get one user (employee) by id, with leave and profile details. Timetastic API: GET /api/users/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "user_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991,
      "description": "The Timetastic numeric id."
    }
  },
  "required": [
    "user_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢timetastic_list_leave_types(include_inactive)

List the leave types of the organisation (holiday, sickness and other types), with their ids. Timetastic API: GET /api/leavetypes.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "include_inactive": {
      "description": "Include inactive leave types (default false).",
      "type": "boolean"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢timetastic_list_leave_requests(start, end, user_ids, department_id, leave_type_id, ...)

List leave requests (holidays and other bookings) in a date range, filtered by user, department or leave type. Pending and approved requests by default. Timetastic API: GET /api/holidays.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "start": {
      "description": "Only requests on or after this date.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}"
    },
    "end": {
      "description": "Only requests on or before this date.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}"
    },
    "user_ids": {
      "description": "Comma-separated user ids, for example 12,34.",
      "type": "string",
      "pattern": "^\\d+(,\\d+)*$"
    },
    "department_id": {
      "description": "Only requests of this department id.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "leave_type_id": {
      "description": "Only requests of this leave type id.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "page": {
      "description": "Page number, from 1. Each page holds up to 100 leave requests.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢timetastic_get_leave_request(leave_request_id)

Get one leave request by id, with its status, dates and duration. Timetastic API: GET /api/holidays/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "leave_request_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991,
      "description": "The Timetastic numeric id."
    }
  },
  "required": [
    "leave_request_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢timetastic_list_absences(start, end, query_type)

List the wallchart entries for a date range: who is off (bookings, public holidays, non-working days). Timetastic API: GET /api/absences.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "start": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}",
      "description": "First day of the range, YYYY-MM-DD."
    },
    "end": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}",
      "description": "Last day of the range, YYYY-MM-DD."
    },
    "query_type": {
      "description": "What to return: AllEvents (default), AllAbsences, Bookings or PublicHolidays.",
      "type": "string",
      "enum": [
        "AllEvents",
        "AllAbsences",
        "Bookings",
        "PublicHolidays"
      ]
    }
  },
  "required": [
    "start",
    "end"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢timetastic_list_public_holidays(country_code, year)

List the public holidays of the organisation, optionally for one country or year. Timetastic API: GET /api/publicholidays.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "country_code": {
      "description": "Two-letter country code, for example GB.",
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    },
    "year": {
      "type": "integer",
      "minimum": 2000,
      "maximum": 2100,
      "description": "The leave year, for example 2026."
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢timetastic_get_user_allowance(user_id, year)

Get one user's leave allowance, TOIL and carry-forward for a year. Timetastic API: GET /api/users/{userId}/allowances/{year}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "user_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991,
      "description": "The Timetastic numeric id."
    },
    "year": {
      "type": "integer",
      "minimum": 2000,
      "maximum": 2100,
      "description": "The leave year, for example 2026."
    }
  },
  "required": [
    "user_id",
    "year"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴timetastic_request_leave(from, to, leave_type_id, user_id, book_for, ...)

WRITE: submit a leave request (booking) in Timetastic for a user, department or everyone. Timetastic applies its own allowance, lock and approval rules, and never overrides them. Refused requests return an error with the reason. Timetastic API: POST /api/holidays.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}",
      "description": "First day of leave, YYYY-MM-DD."
    },
    "to": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}",
      "description": "Last day of leave, YYYY-MM-DD."
    },
    "leave_type_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991,
      "description": "Leave type id (see timetastic_list_leave_types)."
    },
    "user_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991,
      "description": "The user the leave is for (when book_for is User)."
    },
    "book_for": {
      "description": "Default User.",
      "type": "string",
      "enum": [
        "User",
        "Department",
        "Everyone"
      ]
    },
    "from_time": {
      "description": "Start time for hour-based leave, for example 09:00.",
      "type": "string"
    },
    "to_time": {
      "description": "End time for hour-based leave, for example 13:00.",
      "type": "string"
    },
    "reason": {
      "description": "Optional reason shown on the request.",
      "type": "string",
      "maxLength": 500
    },
    "suppress_emails": {
      "description": "Do not send Timetastic notification emails (default false).",
      "type": "boolean"
    }
  },
  "required": [
    "from",
    "to",
    "leave_type_id",
    "user_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴timetastic_approve_or_decline_leave(leave_request_id, action, reason, suppress_emails)

WRITE: approve or decline a pending leave request by id. Declining needs a reason. Cancelling and deleting are not offered. Timetastic API: POST /api/holidays/{id}?holidayUpdateAction=Approve|Decline.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "leave_request_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991,
      "description": "The Timetastic numeric id."
    },
    "action": {
      "type": "string",
      "enum": [
        "Approve",
        "Decline"
      ],
      "description": "Approve or Decline."
    },
    "reason": {
      "description": "Reason, required when declining.",
      "type": "string",
      "maxLength": 500
    },
    "suppress_emails": {
      "description": "Do not send Timetastic notification emails (default false).",
      "type": "boolean"
    }
  },
  "required": [
    "leave_request_id",
    "action"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet10 Tools