Skip to main content
Glama

Create shift

connecteam_create_shift
Destructive

WRITE: create ONE shift in a scheduler (one assignee or one open spot: the V1 endpoint does not create group or multi-spot shifts). By default it is created as an unpublished draft (employees see nothing). With is_published=true it is published, and Connecteam notifies the assigned users unless notify_users=false. Give a title or a job_id (Connecteam requires one). For an open shift set is_open_shift=true and leave assigned_user_ids empty. POST /scheduler/v1/schedulers/{schedulerId}/shifts.

Input Schema

NameRequiredDescriptionDefault
noteNoA plain-text note shown on the shift.
colorNoShift color from Connecteam's palette; defaults to the job's color (or #4B7AC5).
titleNoShift title (required unless job_id is given).
job_idNoJob id (connecteam_list_jobs) to attach the shift to.
end_timeYesShift end: Unix seconds or ISO 8601 date-time with zone.
timezoneNoIANA time zone, e.g. America/New_York (default: the account's time zone).
start_timeYesShift start: Unix seconds or ISO 8601 date-time with zone.
task_titlesNoShift tasks (checklist items) by title.
is_publishedNoPublish the shift now (default false = draft).
notify_usersNoFor a published shift: notify the assigned users (Connecteam default true).
scheduler_idYesScheduler id (connecteam_list_schedulers).
is_open_shiftNoCreate an open shift with one spot that an employee can claim (default false).
assigned_user_idsNoThe user id to assign (at most one: the V1 endpoint rejects more); empty for an open shift.
require_admin_approvalNoClaiming needs admin approval (open shifts only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the generic profile (readOnly=false, destructive=true, idempotent=false, openWorld=true). The description adds the operationally important side effects: the default is an unpublished draft employees cannot see, publishing triggers user notifications unless notify_users=false, and the 'title or job_id' server-side requirement. This is context the agent cannot derive from annotations or schema.

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?

Front-loads the WRITE marker and single-shift scope, then layers defaults, required-field rule, and open-shift recipe in tight sentences. Every sentence carries a distinct constraint; the trailing endpoint reference is the only near-redundant element.

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 14-parameter mutation tool with no output schema, this covers defaults, publication behavior, notification behavior, and the assignee/open-shift fork adequately. It does not indicate what the call returns (e.g. the new shift id) or how to retrieve it afterward, which is a minor gap for a create operation.

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 3 is the floor, but the description adds cross-parameter constraints the schema states only in scattered property notes: the title/job_id either-or requirement and the coupled is_open_shift + empty assigned_user_ids rule. Useful consolidation, though largely duplicative of existing field descriptions.

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?

Opens with a specific verb+resource ('WRITE: create ONE shift in a scheduler') and immediately bounds the scope by stating the V1 endpoint cannot create group or multi-spot shifts. An agent can distinguish this from connecteam_list_shifts and connecteam_get_shift without opening any 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?

Gives explicit conditional guidance: set is_published=true to publish, leave assigned_user_ids empty plus is_open_shift=true for an open shift, and supply either a title or job_id. It stops short of naming an alternative tool for the unsupported group/multi-spot case, so the routing guidance is strong but not complete.

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.