Skip to main content
Glama

Read a journey

get_journey
Read-onlyIdempotent

Every quote snapshot in one journey, oldest first, in the get_quotes shape. A journey is a collection of quote snapshots, all saved with one journey_reference, that build up to a complete sold (bound) journey; it is complete when its latest quote is sold. Returns { journey_reference, start_date, end_date, quote_count, limit, offset, has_more, quotes: [{ quote_reference, project_reference, project_name, version_reference, version, created_at, status, valid, result, indicator, journey_reference, exec_time_ms, error, amended_result, amended_valid, sold, quoted_by, source, quote_url }], journey_url, next_steps }. quoted_by ({ user_reference, email, role }, or null) is who ran each quote — each stage can be completed by someone different (a person, an AI agent, an integration) — and source how (api | mcp). actions is the journey's history from the actions table, oldest first: [{ type (quoted | price_changed | validity_changed | sold | unsold), quote_reference, created_at, by: { email, role }, via (api | mcp | dashboard), from, to, note }] — who completed each stage and who re-priced or bound it. The last quote is where the case stands now (sold true means the journey is complete); compare result and valid from one quote to the next to explain what changed, and call get_quote with a quote_reference for one quote's full review (inputs, rules that fired, how the result was reached). Paged with limit (default and max 100) and offset. A journey_reference with no quotes is a tool error.

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": {
      "journey_reference": "<journey_reference>"
    },
    "name": "get_journey"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOptional. Page size, default and max 100.
offsetNoOptional. Quotes to skip from the start of the journey, for paging.
journey_referenceYesThe journey's journey_reference (exact match), from get_journeys or a quote's journey_reference.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / client_ref
      Removed value: -{
      -  "description": "The journey's client_ref (exact match), from get_journeys or a quote's client_ref.",
      -  "type": "string"
      -}
    • addedInput schema / properties / journey_reference
      Added value: +{
      +  "description": "The journey's journey_reference (exact match), from get_journeys or a quote's journey_reference.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "client_ref"
      -]New value: +[
      +  "journey_reference"
      +]
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

With no output schema, the description carries the full burden and does: it discloses ordering (oldest first), paging defaults and max (100), the has_more paging signal, the completion semantics (latest quote `sold`), the error case for a journey_reference with no quotes, and the meaning of quoted_by/source/actions provenance fields.

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 scope statement and journey definition are front-loaded, and the guidance on comparing quotes is placed late but logical. It is dense and the long inline field enumeration is heavy, but given the absence of an output schema most of that text earns its place.

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 complex, paged, no-output-schema read tool this is nearly complete: response shape, ordering, provenance, completion semantics, and paging are all covered. One inconsistency: `actions` is described in detail but is missing from the enumerated return object, which could confuse an agent about whether it is present.

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 limit, offset, and journey_reference are already documented in the schema, including the default/max 100 and the source of the reference. The description restates these rather than adding new meaning, so baseline 3 applies.

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 opening sentence gives a specific verb, resource, ordering, and return shape ('Every quote snapshot in one journey, oldest first, in the get_quotes shape'), and then defines what a journey is. It is clearly distinguishable from get_journeys (the collection list) and get_quote (single-quote detail), both of which it names.

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 routes the agent explicitly: use get_quote with a quote_reference for one quote's full review, and use this tool to compare result/valid across stages to explain what changed. It doesn't explicitly contrast with get_journeys for discovery, but the definition of a journey plus the paging notes imply that gap is small.

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