Skip to main content
Glama

get_journey_template

Read-only

Get a journey-scoped notification template by notification ID. Pass version=draft to retrieve the working draft (required before the template has been published). Defaults to published.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoVersion to retrieve: "draft", "published" (default), or "vN"
journey_idYesThe journey template ID that owns this notification. Copy it exactly, character for character, from the response that returned it — never retype it from memory or reconstruct it.
notification_idYesThe notification template ID. Copy it exactly, character for character, from the response that returned it — never retype it from memory or reconstruct it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / journey_id / description
      Previous value: -"The journey template ID that owns this notification"New value: +"The journey template ID that owns this notification. Copy it exactly, character for character, from the response that returned it — never retype it from memory or reconstruct it."
    • changedInput schema / properties / notification_id / description
      Previous value: -"The notification template ID"New value: +"The notification template ID. Copy it exactly, character for character, from the response that returned it — never retype it from memory or reconstruct it."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

The annotation already carries readOnlyHint=true, and the description adds meaningful mode-dependent behavior: draft retrieval is mandatory pre-publication, while published is the default. This goes beyond the annotation, though it stops short of describing response contents or pagination.

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

Conciseness5/5

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

Two sentences with zero filler: the core purpose is front-loaded, and the draft/published caveat follows immediately. Every sentence 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 read-only tool with fully documented parameters, an agent has everything needed to invoke it correctly: required IDs, version semantics, and the safety profile from annotations. There is no output schema, so the return shape is unspecified, but the name and 'template' wording make the response type reasonably predictable.

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%, and the schema already provides strong guidance, including exact character-for-character copying instructions for both IDs and the enumerated version values. The description adds one layer of meaning beyond the schema: the rule that version=draft is required before publishing, clarifying when each version value 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 description names a specific verb (get), a specific resource (journey-scoped notification template), and the lookup key (notification ID). The qualifier 'journey-scoped' differentiates it from sibling getters such as get_notification and get_journey_template_content, and the version semantics are stated 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?

The description gives concrete usage context: pass version=draft when the template has not yet been published, and rely on the published default otherwise. It does not explicitly name sibling tools or state when-not-to-use, so an agent must infer the boundary against get_notification and get_journey_template_content.

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