Skip to main content
Glama

replace_journey_template

Idempotent

Replace the draft of a journey-scoped notification template. Full document replacement. Call publish_journey_template afterwards to make it live.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNo"PUBLISHED" to publish immediately after replace
journey_idYesThe journey template ID that owns this notification
notificationYesFull notification template definition
notification_idYesThe notification template ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description adds valuable behavioral context by specifying that only the draft is replaced, that replacement is full-document rather than partial, and that a separate publish step is required. This goes meaningfully beyond the annotations without contradicting them.

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?

The description is two sentences with no filler. It front-loads the core action, then adds the critical scoping fact and the follow-up publish step. 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?

Given the nested schema and annotations, the description conveys the essential workflow: replace the draft fully, then publish to make it live. It omits the fact that the 'state' parameter can publish immediately, and it does not mention partial-update alternatives, but the schema covers parameter details and the annotations cover safety traits. This is adequately complete for correct invocation.

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 description coverage is 100%, so the input schema already documents all parameters, including the 'state' parameter and the 'notification' full-template definition. The description adds little parameter-level meaning beyond restating that replacement is full-document. This meets the baseline for fully schema-covered parameters but does not significantly extend it.

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?

The description states a specific verb and resource: 'Replace the draft of a journey-scoped notification template.' It also clarifies the scope with 'Full document replacement,' which helps differentiate from partial-update tools. It does not explicitly name a sibling alternative, so it falls just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear sequential guidance: 'Call publish_journey_template afterwards to make it live.' This strongly implies this tool is for draft updates before publishing. However, it does not specify when not to use it or mention alternatives such as partial content update tools, leaving some selection reasoning implied.

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