Skip to main content
Glama

Create a roster week

create_roster_week

Creates a draft week on a roster, optionally copying every shift from another week (for "same as last week"). Drafts aren't shown to staff until published in the Timeclock.Kiwi portal.

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": {
      "roster_id": "<roster_id>",
      "week_of": "<week_of>"
    },
    "name": "create_roster_week"
  }
}

Input Schema

NameRequiredDescriptionDefault
week_ofYesAny date in the week to create, YYYY-MM-DD
roster_idYesWhich roster (from get_roster's rosters)
copy_from_week_ofNoAny date in the week to copy shifts from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent mutation, but they say nothing about state. The description adds real behavioral context: the week is created as a draft and remains invisible to staff until published in the Timeclock.Kiwi portal, which matters for an agent sequencing follow-up actions. It does not state what happens if the week already exists, which is the main remaining gap.

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 tight clauses, front-loaded with the core action, then the optional mode, then the lifecycle caveat. No redundant restatement of the title and nothing to cut.

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?

With full schema coverage and no output schema, the description covers the creation semantics and the draft-to-published lifecycle that an agent needs to act correctly. Missing only edge-case behavior (duplicate week, validation of week_of against the roster), which keeps it from a 5.

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 meaning beyond the schema: it quantifies the copy behavior as 'every shift from another week' rather than the schema's softer 'copy shifts from', and frames the intent as a same-as-last-week clone. That clarification of bulk scope is a genuine addition.

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 names a specific verb and resource ('Creates a draft week on a roster') and clarifies the optional bulk-copy mode. It does not explicitly contrast with add_roster_shift (single shift) or create_job, so an agent must infer the boundary from those names, keeping it below a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a concrete use case for the copy parameter ('same as last week'), which implies when to set copy_from_week_of. However, it offers no guidance on when to use this tool versus add_roster_shift or create_job, and no exclusions or preconditions such as the roster needing to exist.

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