Skip to main content
Glama

Compare custody schedules

compare_custody_schedules
Read-onlyIdempotent

Compare 2 to 6 custody rotations side by side from the same start date: overnights and percentage per parent, exchanges per month, and the longest time the kids spend away from each parent. Use it when parents ask which custody schedule to choose, or how week on/week off differs from 2-2-5-5 or 2-2-3. Not for work shift patterns. Facts only, not legal advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthsNo
parent_aNo
parent_bNo
patternsYesOne of: week-on-week-off (Seven nights with each parent, switching once a week.); 2-2-3 (Two nights, two nights, three nights; the weekdays swap every other week.); 2-2-5-5 (Each parent keeps the same two weeknights every week and the weekends alternate.); 5-2-2-5 (Five nights, two, two, five; the same as 2-2-5-5 started on a different day.); 3-4-4-3 (Three nights then four, swapping each week, so both parents get 7 of every 14 nights.); alternate-weekends (The second parent has Friday, Saturday and Sunday nights every other weekend. Start on that Friday.); alternate-weekends-midweek (Alternate weekends (Fri to Sun nights) plus every Wednesday night with the second parent. Start on that Friday.); 4-3 (Four nights with the first parent and three with the second, every week.); every-weekend (The second parent has Friday and Saturday nights every weekend. Start on a Friday.). Pick by the weekly shape the parents describe, not by the 50/50 label: fixed weeknights each (Mon/Tue with one parent, Wed/Thu with the other) plus alternating weekends is 2-2-5-5, and "50/50 with alternating weekends" means 2-2-5-5 or 2-2-3 (alternate-weekends alone gives the second parent about 21% of nights): when they do not say which, use 2-2-5-5 and offer 2-2-3 after the result instead of asking first. Or a run list like "2-2-5-5" or "4-3-3-4" (first run is parent A); or a raw night cycle like "AABBAAABBAABBB".
start_dateYesYYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds behavior beyond that: it is a facts-only comparison, explicitly not legal advice, and it discloses what is actually computed (overnights, percentages, exchanges/month, longest absence). It does not discuss the time horizon or pagination, but for a read-only comparison tool this is solid added context.

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 sentences, front-loaded with the verb, the range, and the computed outputs, followed by when-to-use and the exclusion. No filler; the heavy pattern taxonomy lives in the schema rather than bloating the description.

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?

There is no output schema, but the description compensates by naming the returned metrics, and annotations carry the read-only safety profile. The remaining gaps are the default/behavior of 'months' and the role of parent_a/parent_b, which an agent would have to guess.

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 40%: 'patterns' is richly documented in the schema itself and 'start_date' has its format, while 'months', 'parent_a' and 'parent_b' are undocumented in both places. The description does add meaning the schema lacks by clarifying the 2-to-6 rotation cap and the shared start date, but it never explains the months window or what parent_a/parent_b labels do.

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 (compare) and resource (custody rotations), plus the scope (2 to 6, same start date) and enumerates the exact metrics returned: overnights and percentage per parent, exchanges per month, longest time away from each parent. An agent can distinguish it from make_custody_schedule and add_holiday_rotation 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 an explicit trigger ('Use it when parents ask which custody schedule to choose, or how week on/week off differs from 2-2-5-5 or 2-2-3') and an explicit exclusion ('Not for work shift patterns'). However it never names the sibling tools it should route to when the user actually wants a schedule created or a holiday rotation added, so sibling disambiguation is left implicit.

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