Skip to main content
Glama

Shift Coverage Check

shift_coverage
Read-onlyIdempotent

Check a staff schedule against the staff you need. Send the scheduled shifts (date, start, end and how many people work it) and the required staff per time window (date, start, end, head count); overnight shifts and windows are fine. Get back, hour by hour, every gap hour (fewer people on duty than required at any minute of the hour, with how many short and for how many staff-minutes), every overstaffed hour (more people than required for the whole hour), the exact short periods to the minute, and totals: staff-hours required, scheduled, short and over, and the share of required staff-minutes that are covered. Up to 200 shifts and 200 windows over at most 8 days. Shifts carry a head count only: send no names. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/shift-coverage). Not legal, tax or financial advice.

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": {
      "shifts": "<shifts>",
      "need": "<need>"
    },
    "name": "shift_coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
needYesRequired staff windows (up to 200). Overlapping windows add up; time not inside any window needs 0 people.
shiftsYesScheduled shifts (up to 200). Split a shift around an unpaid break off the floor if the break should not count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, but the description adds real behavior: hard input caps, the 8-day span limit, hourly rate limiting, error semantics (ok false with a reason), the fact that nothing is stored, that no model or network is involved, and that answers are signed and verifiable at a listed URL. That is well beyond what the structured fields convey.

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-loaded with the purpose, then inputs, outputs, limits, errors and guarantees in a single dense paragraph - nearly every clause carries information. It is slightly overloaded (the bare 'Answer fields' list and the signing/disclaimer tail read as boilerplate), but there is no filler sentence.

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 two-parameter, fully described schema with no output schema, the description covers inputs, limits, error modes and return content, including the answer field names. The only gap is that the answer fields are listed without any explanation of what each contains, leaving the return shape somewhat opaque despite the solid coverage elsewhere.

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 coverage is 100%, so the schema already documents date, start, end and staff on both arrays, including the overnight rule and overlapping-window semantics the description repeats. The one genuine addition is 'Shifts carry a head count only: send no names', which constrains content in a way the schema does not state. Baseline 3 is appropriate given the schema does the heavy lifting.

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?

States a specific verb and resource - checking a staff schedule against required staffing - and then enumerates exactly what the answer contains (gap hours, overstaffed hours, exact short periods, staff-hour totals, coverage share). An agent can tell this apart from a timesheet or scheduling tool without opening the 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?

Explains what to send (scheduled shifts with head counts, required staff windows), that overnight shifts and windows are accepted, and the operating envelope (200 shifts, 200 windows, 8 days, hourly rate limit, error behavior). It gives clear context but never excludes itself relative to alternatives such as timesheet_check or shift_scheduling_plus_alcohol.

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