Skip to main content
Glama
mark-brannan

colregs-mcp

by mark-brannan

Evaluate lawful light displays

evaluate_display
Read-onlyIdempotent

Determine all lawful COLREGS navigation light displays for a vessel's situation, with citations and verbatim rule text. Choose among all equally legal options, never one simplified answer.

Instructions

Every complete, lawful set of navigation lights one vessel may show, from a fact record (propulsion, activity, position, length, and the other facts in colregs data/facts.json) under the COLREGS. Returns the applied entries, the entries exempted or excluded and by which entry, and lawful_displays: {count, relation, options}. relation is "none", "exactly_one" or "any_one_of". A fact record describes a situation, not a fitted vessel: colregs data/facts.json has no equipment fact, so nothing in the input can settle a choice the Rules leave to how the vessel is fitted or what the skipper elects, such as Rule 25(b), the combined masthead lantern a sailing vessel under 20 m may carry, against Rule 25(c), the all-round red over green she may add. When lawful_displays.count is greater than 1, every option is equally lawful, the correct report is all of them, and reporting any one as "the" display for this vessel is wrong. Each option numbers itself "n of count", names the choice entries that distinguish it (chosen) and lists its lights with their own modality, so "shall" and "may" lights in one display are never merged. optional_additions are lawful extras (relation any_subset_of) that do not multiply the display set. Every id carries its paragraph cite, and cited_paragraphs holds the verbatim text of every cited paragraph. Not for navigation. Coverage: COLREGS Part C lights only, international (high seas) text only, lights at night only (no day shapes, no sound signals, no Part B steering rules), evaluated against pre-release colregs data (0.x), whose content is still being checked. Every entry id and paragraph cite in a response is verbatim from the colregs data package; nothing is paraphrased. This tool surface is a 0.0.x preview and will change without notice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
factsYes

Schema Changelog

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

  1. First observedv0.0.1

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark the tool read-only and idempotent; the description goes much further by explaining how multiple lawful displays are represented, that all options are equally correct, that 'shall' and 'may' lights are not merged, and that results are verbatim from a pre-release data package. No annotation contradiction.

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?

The description is long, but the tool is complex and nearly every sentence carries a distinct caveat or output detail. It is front-loaded with the purpose and returns, though the density of the prose makes it harder to scan than a bulleted structure would be.

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?

Given there is no output schema, the description thoroughly explains return fields, relation semantics, option numbering, optional additions, citations, coverage limits, and data stability. It lacks a concrete call example and does not discuss invalid/empty fact inputs, but is otherwise complete for typical use.

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?

With 0% schema description coverage, the description compensates by naming the core fact fields (propulsion, activity, position, length), referencing the facts data package, and adding the crucial semantic that the input describes a situation, not a fitted vessel, so equipment choices are not settled. Per-field value details are left to the input schema, which provides them.

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 explicitly states the tool evaluates every complete lawful set of navigation lights from a fact record under COLREGS, and enumerates the returned data (applied entries, exemptions, lawful_displays). This makes the tool's purpose unambiguous and distinguishes it from a generic rule-text or single-light tool.

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?

It gives clear when-to-use context (COLREGS Part C lights at night, from a fact record) and explicit exclusions (no day shapes, sound signals, or Part B rules). It does not name sibling tools or explicitly route to alternatives, which prevents a 5.

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

Install Server

Other Tools

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/mark-brannan/colregs-mcp'

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