Skip to main content
Glama

Read trips

trip_read
Read-only

Read the caller's voyages: list (the caller's OWN log; optional shipId and personId narrow it to the voyages on one ship or with one person on the crew, each keeping its number in the whole log, with total and totalDistanceM over the matching trips), list the trips others shared with the caller (list_shared), get one trip, get its combined map, and get its public share link (get_share). get composes trip metadata with its crew, charter, legs and diary (there is no separate crew or charter read; the diary also has diary_read). map returns a GeoJSON FeatureCollection with one feature per mappable leg — track-backed, or manual with both endpoints set; a leg with no geometry is omitted. A trip someone else shared with the caller is readable with get and map and listed by list_shared, never by list; its charter is withheld, and so is the pickupBase summary field. get_share returns the trip's public, read-only, no-login link or null. Charter price/deposit are integer minor units plus an ISO 4217 currency code — never a float. IDs are 6-character case-sensitive alphanumeric strings. Timestamps are UTC ISO 8601. Distances are integer meters. Durations are integer seconds.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "list",
      -        "type": "string"
      -      },
      -      "limit": {
      -        "default": 50,
      -        "maximum": 100,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "offset": {
      -        "default": 0,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "list_shared",
      -        "type": "string"
      -      },
      -      "limit": {
      -        "default": 50,
      -        "maximum": 100,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "offset": {
      -        "default": 0,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "get",
      -        "type": "string"
      -      },
      -      "id": {
      -        "pattern": "^[0-9A-Za-z]{6}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "map",
      -        "type": "string"
      -      },
      -      "tripId": {
      -        "pattern": "^[0-9A-Za-z]{6}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "tripId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "get_share",
      -        "type": "string"
      -      },
      -      "tripId": {
      -        "pattern": "^[0-9A-Za-z]{6}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "tripId"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "list",
      +        "type": "string"
      +      },
      +      "limit": {
      +        "default": 50,
      +        "maximum": 100,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "offset": {
      +        "default": 0,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "personId": {
      +        "pattern": "^[0-9A-Za-z]{6}$",
      +        "type": "string"
      +      },
      +      "shipId": {
      +        "pattern": "^[0-9A-Za-z]{6}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "list_shared",
      +        "type": "string"
      +      },
      +      "limit": {
      +        "default": 50,
      +        "maximum": 100,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "offset": {
      +        "default": 0,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "get",
      +        "type": "string"
      +      },
      +      "id": {
      +        "pattern": "^[0-9A-Za-z]{6}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "map",
      +        "type": "string"
      +      },
      +      "tripId": {
      +        "pattern": "^[0-9A-Za-z]{6}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "tripId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "action": {
      +        "const": "get_share",
      +        "type": "string"
      +      },
      +      "tripId": {
      +        "pattern": "^[0-9A-Za-z]{6}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "tripId"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint, the description discloses important behavior: shared trips are readable by get and map but never list, their charter and pickupBase fields are withheld, and get_share returns a public no-login link or null. It also documents map omissions for legs without geometry and the absence of separate crew/charter reads.

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 content is dense but almost entirely useful, with the main resource and actions front-loaded. The single-paragraph structure is somewhat run-on for five actions and multiple constraints, but there is little wasted wording.

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?

Although there is no output schema, the description covers the relevant return behavior: list totals and distance, get's composed metadata, map's GeoJSON FeatureCollection, and get_share's link-or-null result. It also documents the shared-trip restrictions and data formats needed to interpret results 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 description coverage is 100%, so the schema already documents the mechanics. The description still adds meaning by explaining that shipId and personId narrow list results to a ship or crew person, that each trip keeps its number in the whole log, and how action selects the different operation shapes.

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 the resource (trips/voyages) and specifies all five actions: list, list_shared, get, map, and get_share. It clearly distinguishes list from list_shared and notes that get composes crew, charter, legs, and diary, so an agent can tell what the tool does without opening the schema.

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?

It explicitly routes the caller between own-log listing, shared-trip listing, single-trip retrieval, map retrieval, and public-link retrieval. It also calls out the diary_read alternative and states that shared trips are never returned by list, which gives clear when-to-use and when-not-to-use 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.

Resources