Skip to main content
Glama

Preview a schedule-board job move

previewJobRequestMove

Preview a schedule-board job move before committing: see where it lands, which jobs get pushed back, and any warnings. Read-only, safe to call repeatedly.

Instructions

Preview a schedule-board job move

Computes (WITHOUT writing) the outcome of moving a confirmed job to a new time and/or technician: where it lands, every later job pushed back per mode, and the warnings the coordinator would accept (displaced jobs leaving their confirmed windows, overtime). Same technician = pure time move; different technician = manual reassign. Read-only — safe to call repeatedly while dragging; commit is a separate endpoint. See SCHEDULE_BOARD_DESIGN.md. Warning detail: a TECH_NOT_FEASIBLE warning carries reason = cannot_arrive_in_time (commute from the tech day-start location / shift start; earliest_feasible_at (RFC3339 UTC) is the first same-day time they CAN be on site — suggest it as the drop slot) | missing_required_skills | not_available_today (no working hours, approved time off, or outside the service area) | not_lead_tier. For a P0 move this warning is advisory (coordinator may commit anyway); for p1/p2/p3 the same condition is the hard 409 SCHEDULE_MOVE_TECH_INFEASIBLE. 409 NEXT STEPS: SCHEDULE_MOVE_NOT_ELIGIBLE (job unconfirmed/unquoted/archived/completed — not movable) · SCHEDULE_MOVE_IN_PROGRESS (tech already executing — do not move) · SCHEDULE_MOVE_IN_PAST (pick a future time) · SCHEDULE_MOVE_SLOT_OCCUPIED (landing window blocked by an immovable anchor — another tech/time) · SCHEDULE_MOVE_TECH_INFEASIBLE (non-P0 hard block: target tech not qualified/available — its data carries technician_id, reason (same catalog as the TECH_NOT_FEASIBLE warning) and, for cannot_arrive_in_time, earliest_feasible_at (RFC3339 UTC) to suggest as the drop slot; change tech or time) · SCHEDULE_MOVE_MULTIDAY_UNSUPPORTED (multi-day jobs not movable v1) · SCHEDULE_MOVE_NO_WORKING_DAY (pick a working day) · SCHEDULE_MOVE_REQUIRES_FREE_SLOT (non-P0 moves may not displace — free capacity only, unless the owner enables allow_non_p0_displacement) · SCHEDULE_MOVE_CREW_UNSTAFFABLE (a crew slot has no feasible replacement at the new time — another time). A landing outside the customer-confirmed window is NOT an error — it returns 200 with a MOVED_OUTSIDE_WINDOW warning (customer_window attached) that the coordinator overrides.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesJob request ID (UUID or short_code)
modeYesCascade mode for displaced jobs: overtime = stay same-day (tech works late); next_day = overflow rolls to the next working day.
start_atYesNew start — business-local naive datetime, no offset. Must be in the future.
technician_idYesTarget technician — may equal the current tech (pure time move) or differ (manual reassign).
idempotency_keyNoOptional idempotency key (forwarded as the Idempotency-Key header). Reuse the same value when retrying so the operation runs at most once.

Schema Changelog

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

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior1/5

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

Annotation Contradiction: the description repeatedly states 'WITHOUT writing', 'Read-only — safe to call repeatedly', yet the annotations declare `readOnlyHint: false` and `idempotentHint: false`. This directly contradicts the most important behavioral trait of the tool. Per the rubric, a contradiction with annotations forces a score of 1 despite the otherwise rich behavioral detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded, with the core purpose in the first sentence and organized sections for warnings and errors. However, it is very long and repeats some schema-supplied details such as mode semantics and technician equality. The exhaustive 409 error catalog is valuable but could be condensed or placed in referenced documentation without losing much utility.

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 complex preview operation with no output schema, the description is remarkably complete: it covers outcome computation, cascade behavior, warning semantics, error conditions, and temporal constraints. The one significant gap is not in the text itself but in the contradictory read-only annotation, which prevents the overall definition from being fully trustworthy.

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?

The input schema already covers all parameters at 100%, setting the baseline at 3. The description adds meaningful interpretive value by explaining that `mode` determines how later jobs are pushed back, that `technician_id` distinguishes pure time moves from manual reassigns, and that `earliest_feasible_at` should be suggested as a drop slot for infeasible moves. This goes beyond schema definitions.

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?

The description opens with a specific verb and resource: 'Computes (WITHOUT writing) the outcome of moving a confirmed job to a new time and/or technician.' It clearly distinguishes preview from execution by saying 'commit is a separate endpoint' and from emergency reschedule by naming the job-move context. This is unambiguous and differentiates well from sibling tools.

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?

The description explicitly frames the tool as a read-only preview safe for repeated calls while dragging and points to commit as a separate endpoint, giving clear situational context. It does not name the exact sibling `commitJobRequestMove`, but the intent is obvious. It also gives extensive 409 error conditions that help the agent decide whether a move is even viable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crisphive/crisphive-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server