Skip to main content
Glama

Best ships or lines

rank_ships
Read-onlyIdempotent

Ships (or lines) ranked by passengers' scores out of 5: overall, by topic (food, service, upkeep, cabins, entertainment, crowding) or by traveller type (couples, families, first-timers...), optionally within one line. Top 10, best first (worst: true for the lowest). Only ships with 100+ reviews are ranked. Give each score with its review count.

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

Input Schema

NameRequiredDescriptionDefault
kindNoship
lineNoOnly this line's ships (line id from find)
topicNoRank by one topic instead of overall
worstNo
travellerNoRank by one traveller type's score instead of overall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only, idempotent annotations, the description discloses important behavior: only the top 10 are returned, scores are out of 5 with review counts, results are ordered best first unless worst=true, and only ships with 100+ reviews are eligible. Those constraints materially affect interpretation and are not present in the structured annotations.

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?

The description is dense and front-loaded: it states what is ranked, the ranking options, the result limit and ordering, the eligibility threshold, and the required score/review-count pairing. Every sentence adds operational information with no filler.

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?

For a five-parameter ranking tool with no output schema, the description covers ranking mode, scope, ordering, eligibility, and partial return content (scores plus review counts). It leaves some ambiguity about how the 100+ review threshold applies when kind='line' and does not describe all returned entity fields, but the core behavior needed to invoke it is present.

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?

The schema already documents the line, topic, and traveller parameters at 60% coverage, but the description adds useful meaning, especially for worst ('true for the lowest') and for how topic or traveller replaces overall ranking. It also clarifies that ranking can be scoped to a single line, though it does not explicitly restate every parameter default such as kind=ship.

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 and resource ('Ships (or lines) ranked') and precisely defines the ranking dimensions: overall, topic, traveller type, and optional line scope. It distinguishes this ranking behavior from the simple lookup siblings such as get_ship and get_line.

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 usage context: use it for top-10 rankings by overall score, topic, or traveller type, optionally filtered to one line, and set worst=true for the lowest instead of the best. It does not explicitly name when to prefer a sibling tool, but the ranking-specific criteria make the intended use unambiguous.

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.

Resources