Skip to main content
Glama

Shift pattern generator

calculate

Run the Shift pattern generator calculator: Cycle length in days; Average working hours a week; Hours a week under the 48 hour average limit; Crews needed to cover the operation. Missing inputs fall back to their documented defaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
onDaysNoDays on in one cycle
offDaysNoDays off in one cycle
nightWorkNoDoes the pattern include night work?night
coverHoursNoHours a day the operation must be covered
shiftHoursNoPaid hours in one shift

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral disclosure burden. It does add one meaningful trait — missing inputs silently fall back to documented defaults — and implies a pure computation with no side effects. However, it never explicitly states the operation is read-only/non-persistent, nor what happens on invalid input, even though one parameter is an enum and all values have bounded ranges.

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?

Two tight sentences, front-loaded with the imperative verb and resource name. The semicolon-delimited output list is compact and scannable, and the defaults note earns its place as a real behavioral cue. Only minor reorganization (labeling the list as outputs) would improve it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter calculator with no annotations and no output schema, the description covers the core: what is computed and how missing inputs are handled. But it leaves gaps that matter — the format/structure of the returned calculation results, whether the nightWork enum values materially change the outputs, and any edge-case behavior on out-of-range inputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds some meaning beyond the schema by framing the parameters as inputs to four named calculations, which helps an agent anticipate what the numbers produce. This added value is modest, and 'Cycle length in days' could be misread as a requestable input rather than a computed output, slightly muddying the semantics.

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?

Uses a specific verb ('Run') plus a named resource ('Shift pattern generator calculator') and enumerates what it computes: cycle length, average working hours per week, hours under the 48-hour limit, and crews needed. This clearly states the tool's function and avoids tautology. It doesn't explicitly contrast with sibling 'calculator_describe', but the imperative 'Run' versus the sibling's 'describe' verb makes the distinction mostly inferable.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusion criteria, and no mention of alternatives — notably 'calculator_describe', which likely relates to the same calculator and would be a candidate for confusion. The only usage-adjacent note is that missing inputs fall back to defaults, which is a parameter behavior, not a tool-selection guideline.

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.

TDQS

A3.9/5.0
Disambiguation5/5

The calculator and enquiry tool groups are cleanly separated, and each tool has a distinct role: running versus describing the calculator, and describing, field-listing, or submitting an enquiry. Even the two describe tools are unambiguous because their prefixes identify which resource they document.

Naming Consistency2/5

Naming conventions are mixed: calculate is a bare verb, calculator_describe and enquiry_describe flip the typical verb_noun order, enquiry_fields is noun_noun, and submit_enquiry is verb_noun. The names are readable, but there is no consistent verb placement or structural pattern across the set.

Tool Count5/5

Five tools is well-scoped for a small site server with two purposes: performing and explaining a calculator, and supporting an enquiry submission workflow. Each tool earns its place without redundancy or excessive surface area.

Completeness5/5

The calculator side has both execution and documentation, while the enquiry side has process documentation, field schema, and the full two-step submission flow. There are no obvious dead ends or missing operations for the apparent domain of this server.

Resources