Skip to main content
Glama

List ports

list_ports
Read-onlyIdempotent

Retrieve and search South Korean domestic port IDs and names, optionally filtered by partial port name, to supply valid port identifiers for ship lookup tools.

Instructions

List or search domestic port IDs and names, optionally filtered by nodeNm, for find_domestic_ships.

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": "list_ports"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
nodeNmNoPartial port name to filter list_ports
pageSizeNoMaximum items per page (1-100); defaults to 10

Output Schema

NameRequiredDescriptionDefault
itemsYes
sourceUrlYes
catalogUrlYes
observedAtYes
totalCountYes
sourceServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety and repeatability are covered without the description's help. The description adds only that filtering by nodeNm is a partial-name match, and says nothing about pagination behavior, result ordering, or the cost of broad listing, which is a modest addition for a read tool.

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?

A single sentence with no redundant phrasing; the resource, the optional filter, and the downstream consumer are all front-loaded and nothing needs trimming.

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?

With full schema coverage, an output schema, and rich annotations, the only things an agent must learn from prose are purpose and usage, both of which are supplied concisely. It loses a point only because the linking to find_domestic_ships is implicit about how the returned IDs should be passed onward.

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 100%, and the schema already documents page bounds, pageSize bounds, and that nodeNm is a partial-name filter. The description repeats the nodeNm partial-match semantics with no additional detail on matching rules, case sensitivity, or pagination strategy, so this sits at the baseline for fully documented schemas.

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 states a specific verb pair (list or search) and a specific resource (domestic port IDs and names), and it explicitly scopes itself as an input-source for find_domestic_ships, which lets an agent distinguish it from the many other list_* siblings without opening a 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?

The phrase 'for find_domestic_ships' tells the agent the downstream purpose: use this to look up port IDs before calling the ship-search tool, and 'optionally filtered by nodeNm' signals that filtering is optional and name-based. It falls short of 5 because it does not state when to prefer search-by-name over unfiltered listing, or what to do if the port is not found.

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