Skip to main content
Glama

Start Journey from Hero Card

codecks_start_journey

Expand a hero or journey parent card into its workflow by passing the card ID; returns the journey expansion result for Codecks workflow automation.

Instructions

Trigger workflow expansion for a hero/journey parent card.

Args:

  • card_id (string): Hero/journey parent card ID

  • user_id (string, optional): Actor user ID (auto-resolved if omitted)

  • account_id (string, optional): Actor account ID (auto-resolved if omitted)

  • session_id (string, optional): Client session ID from web app

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns: API response payload with journey expansion result. Note: some Codecks accounts currently gate this dispatch endpoint and may require web-app usage.

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": {
      "card_id": "<card_id>"
    },
    "name": "codecks_start_journey"
  }
}

Input Schema

NameRequiredDescriptionDefault
card_idYesHero/journey parent card ID to expand
user_idNoActor user ID (auto-resolved if omitted)
account_idNoActor account ID (auto-resolved if omitted)
session_idNo[DEPRECATED] Client session ID - not required for MCP usage
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and openWorldHint=true, and the description is consistent with a non-idempotent mutation. It adds real value with the gating caveat that some accounts block this endpoint and may require web-app usage, plus a stated return payload. However, it never says what the expansion actually creates or what side effects a caller should expect, which is the key behavioral question for this tool.

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?

The opening sentence is well front-loaded and the gating note at the end is valuable. The middle Args section repeats the input schema nearly verbatim and the 'Returns' line restates a single sentence, so a meaningful portion of the text does not add information beyond structured fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-idempotent, open-world mutation with no output schema, the description covers the call contract, the default format, and an important access caveat. What it omits is the effect: which objects get created or modified when a journey is expanded, and what the caller sees differently afterward. That gap is material for an irreversible-ish workflow trigger.

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 schema already documents all five parameters, including the response_format enum and default. The description's Args block largely mirrors the schema; it does not explain what a hero/journey parent card ID looks like or how the auto-resolution of user_id/account_id behaves. Baseline 3 applies since the schema carries the load.

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 a specific verb and resource: 'Trigger workflow expansion for a hero/journey parent card.' That is distinguishable from read/write card siblings like codecks_get_card or codecks_create_card. It stops short of naming any sibling alternative, but the action described ('start journey' on a parent card) is concrete and not a restatement of the name.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites, and no named alternative for expanding a journey versus creating cards directly. The only conditional information is a deployment caveat ('some Codecks accounts currently gate this dispatch endpoint and may require web-app usage'), which is a constraint on success rather than a routing rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools