Skip to main content
Glama

CalcPronto: exact calculators (tax, payroll, loans, VAT, EU261)

FAA Part 117: consecutive nights

faa117_consecutive_nights
Read-onlyIdempotent

Consecutive nighttime operations (117.27): max 3 consecutive FDPs infringing the WOCL (02:00-05:59), up to 5 with a 2-hour rest opportunity in a suitable accommodation in each. fdps: [{"start": ISO, "end": ISO, "rest_opportunity_minutes": int}].

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": {
      "fdps": "<fdps>"
    },
    "name": "faa117_consecutive_nights"
  }
}

Input Schema

NameRequiredDescriptionDefault
fdpsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered. The description adds genuine substance beyond that by stating the numeric thresholds and the mitigation condition being evaluated. It does not say how the FDPs are treated (ordering, timezone, whether the count resets), which limits the score.

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 compact blocks: the rule statement first, then the input shape. No filler sentences. The inline JSON-like notation for the array item is efficient, though the terse 'fdps: [...]' fragment is slightly cryptic compared to prose.

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

Completeness5/5

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

An output schema exists, so return values need not be explained, and the single required parameter is described at field level in the text. Given the tool's narrow scope and full annotation coverage, an agent has what it needs to call this correctly.

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 0% and the schema itself is a bare array of untyped objects with additionalProperties=true, so the description carries the full burden. It compensates well by giving the item shape: start and end as ISO timestamps plus rest_opportunity_minutes as an int. It still does not define whether start/end are FDP or duty-period boundaries, leaving a small ambiguity.

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 the specific rule (117.27 consecutive nighttime operations) and its scope — max 3 consecutive FDPs infringing the WOCL window 02:00-05:59, extended to 5 with a 2-hour rest opportunity. That is enough to separate it from siblings like faa117_max_fdp or faa117_minimum_rest. The only weakness is that no explicit verb appears; the agent must infer this is a compliance check over a supplied FDP sequence.

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?

Usage is implied by the regulatory framing: you supply a series of FDPs and the tool evaluates the consecutive-night limit. There is no explicit when-to-use statement, no mention of when to prefer faa117_max_fdp or faa117_minimum_rest, and no prerequisites or exclusions. Minimum-viable guidance through domain context only.

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.