Skip to main content
Glama
mark-brannan

colregs-mcp

by mark-brannan

Light definition

light
Read-onlyIdempotent

Fetch a COLREGS navigation lamp definition by id, returning its rule citation, colour, character, arc, and placement verbatim from official data.

Instructions

The definition of one light from colregs data/lights.json, verbatim: name, the Rule 21 paragraph that defines it, colour, character, arc in degrees and placement. Ids are the light ids that evaluate_display returns, such as "light:sidelights" or "light:all_round"; the "light:" prefix is optional. Arcs use the bearing convention returned alongside. 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
idYesLight id, e.g. "light:masthead" or "masthead".

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?

Beyond the readOnly/idempotent annotations, the description discloses that the content is verbatim from a pre-release data package, that nothing is paraphrased, that the surface is a 0.0.x preview subject to change, and that it is not for navigation. This is substantial behavioral context not available from annotations alone.

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 dense but front-loaded with the core purpose and output fields, followed by necessary caveats. A few caveats are repeated in spirit, but each sentence adds useful information for a tool with significant data-quality warnings.

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?

Despite having no output schema, the description enumerates the return fields, mentions the bearing convention for arcs, specifies coverage and exclusions, and warns about data maturity. For a single-parameter read-only tool, this is complete enough for an agent to call it 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 100% for the single 'id' parameter, so the baseline is 3. The description adds meaningful context by explaining that ids come from evaluate_display, giving concrete examples, and noting that the 'light:' prefix is optional.

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 clearly states that the tool returns one light's definition from the colregs data package, listing the exact fields included. It is distinct from sibling tools because it ties ids to evaluate_display, but it does not explicitly name or contrast the other 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit scope and exclusions: COLREGS Part C lights only, international text only, lights at night only, and no day shapes/sound signals/Part B rules. It also clarifies the id provenance via evaluate_display, helping an agent decide when this tool is appropriate.

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