Skip to main content
Glama

Kildeverk

Ships at sea now (AIS)

ships_live
Read-onlyIdempotent

Ships at sea now from the Coastal Administration's open AIS: name, type, position, speed, destination and size, near a point or across Norwegian waters, with a count by kind of ship (cargo, passenger, fishing, tanker …).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ships_live"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
limitNo
radius_kmNo
ship_typeNoOnly one kind: cargo, dredging or diving, fishing, high-speed craft, law enforcement, medical transport, military, passenger, pilot, pleasure craft, port tender, sailing, search and rescue, tanker, towing, tug, wing in ground.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety profile is covered. The description adds useful context by naming the data source and geographic scope and listing the returned fields. It does not disclose freshness or AIS reporting delay, rate limits, or the relationship between the listed ships and the 'count by kind of ship' output.

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 definition is a single front-loaded sentence that packs source, fields, query modes, and aggregation without filler. The parenthetical ship-type enumeration ('cargo, passenger, fishing, tanker …') partly repeats the schema's ship_type description, which is the only minor redundancy.

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

Completeness3/5

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

For a read-only, five-parameter tool with no output schema and low schema coverage, the description covers the data source and returned fields well. It still leaves gaps around result ordering, what limit does at its default of 30, and the exact form of the by-type count, which the agent cannot get from the structured fields.

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 only 20%: only ship_type is documented in the schema. The description compensates partly by tying 'near a point' to the coordinate parameters and 'by kind of ship' to ship_type. It gives no semantics for limit, nor for the interaction between radius_km and the coordinate bounds.

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 definition names a specific resource (live AIS vessel data from the Coastal Administration) and enumerates the attributes returned: name, type, position, speed, destination, size. It clearly differs from water-condition siblings such as sea_forecast and sea_level. The only weakness is that the action verb is implicit; the phrase 'Ships at sea now' reads as a noun phrase rather than an explicit 'list' or 'retrieve'.

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?

The phrase 'near a point or across Norwegian waters' implies the two query modes: a point query or a broad area query. However, it never states the selection condition explicitly, such as omitting lat/lon to scan all Norwegian waters. It also names no alternative tool and gives no when-not guidance.

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.