Skip to main content
Glama

A site's agent journeys: what each asks an agent to do, its model and schedule, and its latest verdict

sites_by_slug_journeys
Read-onlyIdempotent

Wraps GET /api/sites/{slug}/journeys. A site's agent journeys: what each asks an agent to do, its model and schedule, and its latest verdict. Call this to see how agents fare on the site: each journey is a Claude agent sent to do one job (sign up, find an answer) on a schedule. Its runs, step by step, are under /runs.

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": {
      "slug": "<slug>"
    },
    "name": "sites_by_slug_journeys"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYessite slug, as in /api/sites

Output Schema

NameRequiredDescriptionDefault
dataNo
next_stepsNocalls that usually come next, each naming its tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / properties / data / items / properties / firstVisit / description
      Previous value: -"a weekly first visit with a fresh test account runs too"New value: +"a weekly first visit with a fresh test account runs too, on each model"
    • changedOutput schema / properties / data / items / properties / latest / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "costUsd": {
      -        "description": "what it cost, US dollars",
      -        "type": "number"
      -      },
      -      "id": {
      -        "description": "the run's id",
      -        "type": "string"
      -      },
      -      "startedAt": {
      -        "description": "when it started (ISO 8601, UTC)",
      -        "type": "string"
      -      },
      -      "verdict": {
      -        "description": "pass: reached the goal (and its checks agree); fail: didn't; inconclusive: couldn't be judged (blocked, stopped early)",
      -        "enum": [
      -          "pass",
      -          "fail",
      -          "inconclusive"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "chargeUsd": {
      +        "description": "what the team was charged, US dollars; null when it wasn't",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "costUsd": {
      +        "description": "what the model cost us, US dollars",
      +        "type": "number"
      +      },
      +      "id": {
      +        "description": "the run's id",
      +        "type": "string"
      +      },
      +      "startedAt": {
      +        "description": "when it started (ISO 8601, UTC)",
      +        "type": "string"
      +      },
      +      "verdict": {
      +        "description": "pass: reached the goal (and its checks agree); fail: didn't; inconclusive: couldn't be judged (blocked, stopped early)",
      +        "enum": [
      +          "pass",
      +          "fail",
      +          "inconclusive"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / data / items / properties / latest / description
      Previous value: -"its latest run of its own; null before the first"New value: +"its first model's latest run; null before the first"
    • changedOutput schema / properties / data / items / properties / model / description
      Previous value: -"the model its runs use"New value: +"its first model (each of `models` runs on its own)"
    • addedOutput schema / properties / data / items / properties / models
      Added value: +{
      +  "description": "every model the journey runs on, each its own run, result and charge; /runs?model= reads one's runs",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "latest": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "chargeUsd": {
      +                "description": "what the team was charged, US dollars; null when it wasn't",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "costUsd": {
      +                "description": "what the model cost us, US dollars",
      +                "type": "number"
      +              },
      +              "id": {
      +                "description": "the run's id",
      +                "type": "string"
      +              },
      +              "startedAt": {
      +                "description": "when it started (ISO 8601, UTC)",
      +                "type": "string"
      +              },
      +              "verdict": {
      +                "description": "pass: reached the goal (and its checks agree); fail: didn't; inconclusive: couldn't be judged (blocked, stopped early)",
      +                "enum": [
      +                  "pass",
      +                  "fail",
      +                  "inconclusive"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "this model's latest run; null before its first"
      +      },
      +      "model": {
      +        "description": "the model",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds genuine domain context (what a journey is, that runs live elsewhere) but says nothing about pagination, ordering, or result volume. Useful conceptual framing without much operational behavior.

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?

Short and front-loaded: endpoint mapping first, then what the resource contains, then the usage cue and the pointer to runs. The opening clause largely restates the title, which is minor redundancy but the rest of the sentences earn their 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?

With an output schema present, the description needn't explain return values, and it covers the domain model an agent needs to interpret journeys (job, model, schedule, verdict) plus where run-level detail lives. Only light operational detail is missing, which is acceptable for a single-parameter read.

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?

Only one parameter (slug) and schema description coverage is 100%, with the schema stating 'site slug, as in /api/sites'. The description adds no syntax, format, or lookup detail beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific resource (a site's agent journeys) and the endpoint it wraps, and explains that a journey is a Claude agent with a job, model, schedule, and latest verdict. It also points at the downstream /runs resource, which helps separate it from the sibling run-listing tools, though it does not name those tools directly.

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 a clear trigger: 'Call this to see how agents fare on the site.' The closing pointer to /runs for step-by-step results implicitly routes deeper inspection elsewhere. It stops short of explicit when-not conditions or naming the exact sibling tool names.

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