Skip to main content
Glama

One kind of excursion at a port

excursion_activity
Read-onlyIdempotent

One category of excursion at a port by its slug: how many tours, how many fit a usual morning or afternoon call, typical length and price per person, the review-weighted average rating, and what these tours involve, in our words. Also how many of that kind fit one call (as port_excursions picks it), with see_tours_url, our page listing them; no single tour. Take the slug from port_excursions' categories for that port (map the user's words, such as "snorkelling" or "kayaking", to one of them yourself). An unknown slug returns an error listing the port's categories.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "port_id": "<port_id>",
      "category": "<category>"
    },
    "name": "excursion_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoA call date to fit the tours to
port_idYesPort id from find
ship_idNoWith date: fit the tours to this ship's call (id from find or get_sailing)
categoryYesA category slug from port_excursions' categories for this port, e.g. snorkeling or whale-watching. Once our own set is live the slugs are: beach-and-snorkel (Beach and snorkel), scuba (Scuba), glaciers-and-wildlife (Glaciers and wildlife), whale-watching (Whale watching), food-and-drink (Food and drink), history-and-sightseeing (History and sightseeing), adventure (Adventure), private-and-small-group (Private and small group), passes-and-self-guided (Passes and self-guided)
call_typeNoFit the tours to a usual morning or afternoon call, when there's no ship and date

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world, so the bar is lower, yet the description still adds real behavior: it discloses the aggregate return shape (counts, length, price, rating, see_tours_url) even without an output schema, and documents the failure mode — an unknown slug returns an error listing the port's categories. It stops short of describing value ranges or units (e.g. whether price is a range or per-person basis beyond 'per person').

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The return-value inventory is front-loaded and earns its place, but the middle sentence is overloaded ('Also how many of that kind fit one call (as port_excursions picks it), with see_tours_url, our page listing them; no single tour'), with parentheticals and a semicolon fragment that slow parsing. Some of the prose, such as 'in our words', is 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?

With five parameters, one enum, no nesting, and no output schema, the description carries the burden of explaining what comes back and does so field by field, plus the error path and the slug provenance. Only minor gaps remain, such as whether results are always present for sparse categories or how the optional date/ship_id/call_type interact when several are supplied.

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 coverage is 100%, so every parameter including the category slug examples is already documented, which sets the baseline at 3. The description reinforces that the slug must come from port_excursions and that the agent should map user words like 'snorkelling' or 'kayaking' to a slug, but this largely restates the schema's own description of the category field.

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 names a specific resource (one category of excursion at a port, keyed by slug) and enumerates exactly what comes back: tour counts, morning/afternoon fit counts, typical length and price, review-weighted rating, and a summary of what the tours involve. It also explicitly bounds the scope with 'no single tour', which separates it from a per-tour lookup, and points at port_excursions as the source of the slug.

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 a concrete call order (take the slug from port_excursions' categories for that port) and tells the agent to do the mapping from user phrasing itself, with 'snorkelling'/'kayaking' as examples. What it lacks is an explicit statement of when to prefer the sibling over this tool — 'no single tour' hints that another tool covers individual tours but never names it.

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