Skip to main content
Glama

List journeys

get_journeys
Read-onlyIdempotent

List journeys stored on this self-host instance. A journey is a collection of quote snapshots that build up to a complete sold (bound) journey: every quote saved with the same journey_reference (any string unique to the journey, e.g. an application or state-machine id) is a snapshot of the case at that point. The journey is complete when its latest quote is sold; until then it is in progress. One row per journey_reference, most recently active first. Each row is the journey's latest quote in the get_quotes shape (result, valid, amended_result, amended_valid, sold, …) plus start_date and end_date (its first and last quote's created_at), lights (the latest quote's module traffic lights, e.g. { check: "green", validate: "red" }: any red means the case is stopped, any amber that it is referred), quote_count, quotes ([{ quote_reference, created_at, quoted_by, source }], oldest first: who — a person, an AI agent or an integration — ran each snapshot, and through api or mcp) and journey_url (the dashboard's view of it). Quotes saved without a journey_reference belong to no journey. Filter by project_reference (only that project's quotes count), since (ISO date; journeys with a quote since then) or search (text match on journey_reference). Paged with limit (default 25, max 100) and offset; has_more says whether another page exists. Returns { count, limit, offset, has_more, journeys: [...], next_steps }. Call get_journey for one journey's quotes in full.

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

Input Schema

NameRequiredDescriptionDefault
limitNoOptional. Page size, default 25, max 100.
sinceNoOptional. ISO date or date-time; only journeys with a quote at or after it.
offsetNoOptional. Rows to skip, for paging.
searchNoOptional. Text to match in the journey_reference.
project_referenceNoOptional. Only this project's quotes (get_projects lists them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / search / description
      Previous value: -"Optional. Text to match in the client_ref."New value: +"Optional. Text to match in the journey_reference."
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/closed-world, but the description adds substantial behavior beyond them: one row per journey_reference, ordered most recently active first, explicit red/amber traffic-light semantics ('any red means the case is stopped, any amber that it is referred'), and the pagination contract with `has_more`. This is exactly the kind of interpretive context an agent cannot get from the annotations.

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?

It is a single dense paragraph that front-loads the concept definition and return shape, which is good, but it packs field-by-field return documentation, filter semantics, and paging into an unbroken block that is harder to scan than it needs to be. Some material duplicates the schema descriptions verbatim (limit default 25 / max 100, offset paging), though most sentences do earn their place given there is no output schema.

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?

With no output schema and a non-trivial return payload, the description carries the full burden and does so: it enumerates the row shape (get_quotes fields plus start_date, end_date, lights, quote_count, quotes, journey_url), the envelope ({ count, limit, offset, has_more, journeys, next_steps }), ordering, and the definition of each aggregate. An agent can both call and interpret the result without further documentation.

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 coverage is 100%, so the baseline is 3, but the description meaningfully extends it: `project_reference` scopes the counting ('only that project's quotes count'), `since` selects journeys having any quote at or after the date rather than filtering quotes, and `search` matches only the journey_reference field. Those distinctions change query results and are not obvious from the schema alone.

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?

Opens with a specific verb and resource ('List journeys stored on this self-host instance') and then defines the domain object: a journey is a collection of quote snapshots sharing a `journey_reference`, complete when the latest quote is `sold`. It explicitly routes single-journey lookups to get_journey, so an agent can distinguish it from that sibling without opening either 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?

Gives clear operating context: filter by project_reference, since, or search; page with limit/offset; and use get_journey instead when you need one journey's quotes in full. It also notes that quotes saved without a journey_reference belong to no journey, which prevents a false expectation of completeness. No explicit when-not-to-use for the filters themselves, so not a 5.

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