Skip to main content
Glama

Get coaching catalogue directory

get_catalogue_directory
Read-onlyIdempotent

[Coaching catalogue] Read one catalogue directory in full: its settings, its custom Markdown page (content_md), its resolved sub-directories, and the coaching sessions its tag filter currently matches — which shows whether a session's tags place it in this directory. content_md, tags_sub and tags_interview_set_filter are replaced wholesale on update. Other language versions of the page are in translations (languages lists them, default first).

Every argument in full, with examples: get_tool_reference.

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": {
      "id": "<id>"
    },
    "name": "get_catalogue_directory"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the catalogue directory to read (the catalogue URL segment).
llm_modelNoYour model id, e.g. "claude-opus-4-8"; "unknown" if unsure. For analytics.
merchant_idNoOptional merchant to scope to. Admins and sub-merchant operators only; other callers always use their token's merchant.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
mojito_language_codeNoShow `sub_directories` and `matched_sessions` for this language version of the directory (one of its `languages`) instead of the default one; it shows which sessions a translation lists.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
statusYes
tags_subYes
languagesYes
coach_planYes
content_mdYes
created_atYes
updated_atYes
visibilityYes
descriptionYes
merchant_idYes
merged_intoYes
translationsYes
catalogue_urlYes
cover_image_urlYes
sub_directoriesYes
viewed_languageYes
matched_sessionsYes
_mcp_instructionsNoServer-issued metadata for this conversation.
is_start_directoryYes
mojito_language_codeYes
tags_interview_set_filterYes
matched_sessions_truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mojito_language_code / description
      Previous value: -"Show `sub_directories` and `matched_sessions` for this language version of the directory (one of its `languages`) instead of the default one - how you verify a translation lists the right sessions."New value: +"Show `sub_directories` and `matched_sessions` for this language version of the directory (one of its `languages`) instead of the default one; it shows which sessions a translation lists."
  2. Changed51 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"Id of the catalogue directory to read (the catalogue URL segment). The old id of a renamed directory also works; the response carries its current `id`."New value: +"Id of the catalogue directory to read (the catalogue URL segment)."
    • removedInput schema / properties / id / example
      Removed value: -"sales-coaching-en"
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "Your model id, e.g. \"claude-opus-4-8\"; \"unknown\" if unsure. For analytics.",
      +  "type": "string"
      +}
    • removedInput schema / properties / merchant_id / example
      Removed value: -"28106cba-1c27-4e53-b149-32113e5e8e31"
    • removedInput schema / properties / mojito_language_code / example
      Removed value: -"en"
    • removedOutput schema / description
      Removed value: -"One catalogue directory with its content page, sub-directories and matched sessions."
    • removedOutput schema / properties / catalogue_url / description
      Removed value: -"Public URL of this directory page, when the merchant has a coaching-portal domain configured."
    • removedOutput schema / properties / catalogue_url / example
      Removed value: -"https://coaching.example.com/catalogue/sales-coaching-en"
    • removedOutput schema / properties / coach_plan / description
      Removed value: -"Coaching-plan stage, when the directory belongs to one."
    • removedOutput schema / properties / content_md / description
      Removed value: -"Markdown for a custom directory page. When set (even as an empty string) the markdown replaces the default grid and decides the layout itself; null renders the plain grid of sub-directories and sessions. Alongside normal Markdown you can place these directives, each ALONE on its own line: `[plan-progress]` (the learner's coaching-plan progress), `[directory:<tag-id>]` (a card for one sub-directory), `[session:<interview-id>]` (a card for one session), `[sessions]` (every session in this directory), `[sessions:<term>]` (sessions matching a term), `[sessions:filter=<term>,limit=<n>]` (a filtered, capped list). A directive on a line with other text is rendered as ordinary text. Chips, callouts, cards, columns and buttons are available here too — full vocabulary: https://developer.jobmojito.com/cookbooks/format-content-with-markdown"
    • removedOutput schema / properties / content_md / example
      Removed value: -"## Sales coaching\n\nPick a session to practise with.\n\n[chip:6 sessions] [chip:Beginner,tone=accent]\n\n[sessions:filter=objection-handling,limit=6]\n"
    • removedOutput schema / properties / cover_image_url / description
      Removed value: -"Cover image URL."
    • removedOutput schema / properties / created_at / description
      Removed value: -"Creation timestamp (ISO 8601)."
    • removedOutput schema / properties / description / description
      Removed value: -"Short description shown on the directory card."
    • removedOutput schema / properties / id / description
      Removed value: -"Directory id — also the catalogue URL segment."
    • removedOutput schema / properties / id / example
      Removed value: -"sales-coaching-en"
    • removedOutput schema / properties / is_start_directory / description
      Removed value: -"True when this is the directory the merchant's catalogue opens on."
    • removedOutput schema / properties / languages / description
      Removed value: -"Every language the directory has, the default (`mojito_language_code`) first. `matched_sessions` and `sub_directories` describe the default language unless the request names another one in `mojito_language_code`."
    • removedOutput schema / properties / languages / example
      Removed value: -[
      -  "en",
      -  "sk"
      -]
    • removedOutput schema / properties / matched_sessions / description
      Removed value: -"The coaching/persona sessions this directory currently lists, applying the same rules as the live portal: `active`, type `coaching` or `persona`, visibility `public` or `merchant_public` for this merchant, and `tags` containing every tag of `tags_interview_set_filter`. Empty when the filter is null. Capped at 200."
    • removedOutput schema / properties / matched_sessions / items / properties / id / description
      Removed value: -"Interview definition id of the coaching/persona session."
    • removedOutput schema / properties / matched_sessions / items / properties / name / description
      Removed value: -"Session name."
    • removedOutput schema / properties / matched_sessions / items / properties / status / description
      Removed value: -"Lifecycle status (always `active` here — nothing else is listed)."
    • removedOutput schema / properties / matched_sessions / items / properties / tags / description
      Removed value: -"The session's own tags — the superset that matched this directory's filter."
    • removedOutput schema / properties / matched_sessions / items / properties / type / description
      Removed value: -"Product type — `coaching` or `persona`."
    • removedOutput schema / properties / matched_sessions / items / properties / type_avatar / description
      Removed value: -"Avatar/voice modality of the session."
    • removedOutput schema / properties / matched_sessions / items / properties / type_credit / description
      Removed value: -"Credit bucket the session draws from."
    • removedOutput schema / properties / matched_sessions / items / properties / visibility / description
      Removed value: -"Visibility."
    • removedOutput schema / properties / matched_sessions_truncated / description
      Removed value: -"True when more sessions match than the 200 returned — narrow `tags_interview_set_filter` if you see this."
    • removedOutput schema / properties / merchant_id / description
      Removed value: -"Owning merchant id. Null for a platform-wide directory."
    • removedOutput schema / properties / merged_into / description
      Removed value: -"Set when this directory was folded into another as one of its language versions: the directory to edit instead. Its old URL redirects there."
    • removedOutput schema / properties / mojito_language_code / description
      Removed value: -"Directory language."
    • removedOutput schema / properties / mojito_language_code / example
      Removed value: -"en"
    • removedOutput schema / properties / name / description
      Removed value: -"Display name."
    • removedOutput schema / properties / status / description
      Removed value: -"Lifecycle status."
    • removedOutput schema / properties / sub_directories / description
      Removed value: -"The directories listed in `tags_sub`, resolved and in display order. An id in `tags_sub` that does not resolve (deleted, or not visible to you) is simply absent here — compare the two to spot a broken link."
    • removedOutput schema / properties / sub_directories / items / properties / description / description
      Removed value: -"Short description."
    • removedOutput schema / properties / sub_directories / items / properties / id / description
      Removed value: -"Sub-directory id."
    • removedOutput schema / properties / sub_directories / items / properties / mojito_language_code / description
      Removed value: -"Directory language."
    • removedOutput schema / properties / sub_directories / items / properties / name / description
      Removed value: -"Display name."
    • removedOutput schema / properties / sub_directories / items / properties / status / description
      Removed value: -"Lifecycle status."
    • removedOutput schema / properties / sub_directories / items / properties / visibility / description
      Removed value: -"Visibility."
    • removedOutput schema / properties / tags_interview_set_filter / description
      Removed value: -"Tag filter selecting which coaching sessions this directory lists: a session appears when its own `tags` contain EVERY tag here (an AND, not an OR). Only `active` coaching/persona sessions with visibility `public` or `merchant_public` are listed. Set the matching tags on the session with the create-interview / job-interview-update `tags` field."
    • removedOutput schema / properties / tags_interview_set_filter / example
      Removed value: -[
      -  "sales",
      -  "objection-handling"
      -]
    • removedOutput schema / properties / tags_sub / description
      Removed value: -"Ids of the directories nested under this one, in display order. Replaces the whole list — send the full set, not just the additions. A referenced directory only appears if it exists and is visible to the viewer."
    • removedOutput schema / properties / tags_sub / example
      Removed value: -[
      -  "sales-coaching-objections-en",
      -  "sales-coaching-closing-en"
      -]
    • removedOutput schema / properties / translations / description
      Removed value: -"The directory's OTHER language versions, keyed by mojito language code. The top-level fields are the default language (`mojito_language_code`); each version here is a page of its own with its own name, Markdown, session filter and sub-directories, shown to learners who pick that language in the catalogue (falling back to English, then the default). A key may not equal `mojito_language_code`."
    • removedOutput schema / properties / updated_at / description
      Removed value: -"Last update timestamp (ISO 8601)."
    • removedOutput schema / properties / viewed_language / description
      Removed value: -"The language version `sub_directories` and `matched_sessions` were resolved for: the requested `mojito_language_code`, else the default."
    • removedOutput schema / properties / viewed_language / example
      Removed value: -"sk"
    • removedOutput schema / properties / visibility / description
      Removed value: -"Who can see it."
  3. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  4. Changed7 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"Id of the catalogue directory to read (the catalogue URL segment)."New value: +"Id of the catalogue directory to read (the catalogue URL segment). The old id of a renamed directory also works; the response carries its current `id`."
    • addedInput schema / properties / mojito_language_code
      Added value: +{
      +  "description": "Show `sub_directories` and `matched_sessions` for this language version of the directory (one of its `languages`) instead of the default one - how you verify a translation lists the right sessions.",
      +  "enum": [
      +    "ar",
      +    "bg",
      +    "zh",
      +    "hr",
      +    "cs",
      +    "da",
      +    "nl",
      +    "en",
      +    "fil",
      +    "fi",
      +    "fr",
      +    "de",
      +    "el",
      +    "hi",
      +    "hu",
      +    "id",
      +    "it",
      +    "ja",
      +    "ko",
      +    "ms",
      +    "no",
      +    "pl",
      +    "pt",
      +    "br",
      +    "ro",
      +    "ru",
      +    "sk",
      +    "es",
      +    "sv",
      +    "ta",
      +    "th",
      +    "tr",
      +    "uk",
      +    "vi"
      +  ],
      +  "example": "en",
      +  "type": "string"
      +}
    • addedOutput schema / properties / languages
      Added value: +{
      +  "description": "Every language the directory has, the default (`mojito_language_code`) first. `matched_sessions` and `sub_directories` describe the default language unless the request names another one in `mojito_language_code`.",
      +  "example": [
      +    "en",
      +    "sk"
      +  ],
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / merged_into
      Added value: +{
      +  "description": "Set when this directory was folded into another as one of its language versions: the directory to edit instead. Its old URL redirects there.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / translations
      Added value: +{
      +  "additionalProperties": {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  "description": "The directory's OTHER language versions, keyed by mojito language code. The top-level fields are the default language (`mojito_language_code`); each version here is a page of its own with its own name, Markdown, session filter and sub-directories, shown to learners who pick that language in the catalogue (falling back to English, then the default). A key may not equal `mojito_language_code`.",
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / viewed_language
      Added value: +{
      +  "description": "The language version `sub_directories` and `matched_sessions` were resolved for: the requested `mojito_language_code`, else the default.",
      +  "example": "sk",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "description",
      -  "mojito_language_code",
      -  "visibility",
      -  "status",
      -  "coach_plan",
      -  "cover_image_url",
      -  "merchant_id",
      -  "tags_sub",
      -  "tags_interview_set_filter",
      -  "content_md",
      -  "created_at",
      -  "updated_at",
      -  "catalogue_url",
      -  "is_start_directory",
      -  "sub_directories",
      -  "matched_sessions",
      -  "matched_sessions_truncated"
      -]New value: +[
      +  "id",
      +  "name",
      +  "description",
      +  "mojito_language_code",
      +  "visibility",
      +  "status",
      +  "coach_plan",
      +  "cover_image_url",
      +  "merchant_id",
      +  "tags_sub",
      +  "tags_interview_set_filter",
      +  "content_md",
      +  "translations",
      +  "languages",
      +  "viewed_language",
      +  "merged_into",
      +  "created_at",
      +  "updated_at",
      +  "catalogue_url",
      +  "is_start_directory",
      +  "sub_directories",
      +  "matched_sessions",
      +  "matched_sessions_truncated"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it."New value: +"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."
  6. Changed2 schema fields changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / _mcp_instructions
      Added value: +{
      +  "description": "Server-issued metadata for this conversation.",
      +  "properties": {
      +    "conversation_id": {
      +      "description": "The server-issued conversation identifier.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  7. Changed2 schema fields changed
    • changedOutput schema / properties / content_md / description
      Previous value: -"Markdown for a custom directory page. When set (even as an empty string) the markdown replaces the default grid and decides the layout itself; null renders the plain grid of sub-directories and sessions. Alongside normal Markdown you can place these directives, each ALONE on its own line: `[plan-progress]` (the learner's coaching-plan progress), `[directory:<tag-id>]` (a card for one sub-directory), `[session:<interview-id>]` (a card for one session), `[sessions]` (every session in this directory), `[sessions:<term>]` (sessions matching a term), `[sessions:filter=<term>,limit=<n>]` (a filtered, capped list). A directive on a line with other text is rendered as ordinary text."New value: +"Markdown for a custom directory page. When set (even as an empty string) the markdown replaces the default grid and decides the layout itself; null renders the plain grid of sub-directories and sessions. Alongside normal Markdown you can place these directives, each ALONE on its own line: `[plan-progress]` (the learner's coaching-plan progress), `[directory:<tag-id>]` (a card for one sub-directory), `[session:<interview-id>]` (a card for one session), `[sessions]` (every session in this directory), `[sessions:<term>]` (sessions matching a term), `[sessions:filter=<term>,limit=<n>]` (a filtered, capped list). A directive on a line with other text is rendered as ordinary text. Chips, callouts, cards, columns and buttons are available here too — full vocabulary: https://developer.jobmojito.com/cookbooks/format-content-with-markdown"
    • changedOutput schema / properties / content_md / example
      Previous value: -"## Sales coaching\n\nPick a session to practise with.\n\n[sessions:filter=objection-handling,limit=6]\n"New value: +"## Sales coaching\n\nPick a session to practise with.\n\n[chip:6 sessions] [chip:Beginner,tone=accent]\n\n[sessions:filter=objection-handling,limit=6]\n"
  8. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description wisely spends its space elsewhere: it warns that content_md, tags_sub and tags_interview_set_filter are replaced wholesale on update, which is critical read-modify-write context for the paired save tool. It also explains that translations/languages cover other language versions, though it says nothing about size, cost, or failure modes.

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?

Front-loaded with the resource and its contents, then the update-replacement warning, then the language note. Dense but every clause carries information; the parenthetical model-of-tag-matching clause is slightly verbose but still purposeful.

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

Completeness5/5

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

An output schema exists, so return values need no further explanation, and the annotations cover the safety profile. Combined with the mutation warning and the language-version semantics, an agent has everything needed to call this correctly.

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 the schema already documents id, mojito_language_code and the analytics fields; the description largely restates the language-switch behavior. It adds a small amount of meaning by noting that `languages` lists available versions with the default first, which helps an agent know valid values.

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?

Opens with a specific verb+resource ("Read one catalogue directory in full") and enumerates exactly what comes back: settings, content_md, resolved sub-directories, and tag-matched sessions. That is clearly distinguishable from list_catalogue_directories (many) and save_catalogue_directory (write).

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?

Usage is only implied — the singular "one ... directory" plus the required id conveys a fetch-by-id case, and no sibling is named as an alternative or exclusion. The one genuinely directive sentence routes the agent to get_tool_reference for argument detail, but there is no explicit when-to-use guidance.

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.