Skip to main content
Glama

get_topic_page_content

Retrieve a topic page's content structure by variant or collection ID. See swimlanes with headings and material IDs, optionally with fully resolved content cards in JSON format for rendering.

Instructions

Get the CONTENT STRUCTURE of a Themenseite (topic page): its sections (swimlanes) — each with a heading and the nodeIds of the materials/collections embedded in it. Use this AFTER search_wlo_topic_pages to see what is actually ON a topic page (search_wlo_topic_pages only returns its URL). Resolve the returned nodeIds to human titles with get_nodes_details.

Provide EITHER variantId (a "Variante-ID" from search_wlo_topic_pages — fastest) OR collectionId (a "Sammlung-nodeId"). At least one is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
variantIdNoA specific page-variant nodeId (the "Variante-ID" from search_wlo_topic_pages). Faster than collectionId.
targetGroupNoWhen resolving by collectionId, pick the variant for this target group.
collectionIdNoOwning collection nodeId of the Themenseite (the "Sammlung-nodeId" from search_wlo_topic_pages).
outputFormatNo"markdown" (default) or "json". JSON is RENDER-READY: each swimlane carries its heading + up to maxPerSwimlane real content cards (resolved by EXECUTING the swimlane widget's saved query) + a hasMore flag, plus variantTitle and a topicPageUrl jump link. Use JSON to show "Themenseiten-Inhalte".markdown
maxPerSwimlaneNoJSON only: max real content cards resolved per swimlane (default 3). hasMore signals there is more on the full topic page (topicPageUrl).
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It explains that JSON output is render-ready and resolves cards by executing the swimlane widget's saved query, and mentions the hasMore flag and topicPageUrl. It lacks explicit details on read-only nature or error cases, but for a content retrieval tool this is sufficient transparency, earning a 4.

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 concise, well-structured, and front-loaded with the primary purpose. The first sentence states what the tool does, followed by usage guidance and parameter clarification. Every sentence earns its place, and the line breaks improve readability. No unnecessary fluff.

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?

Given no annotations and no output schema, the description provides comprehensive context: it explains the result structure (swimlanes, headings, nodeIds), the JSON output specifics, the maxPerSwimlane behavior, and how to resolve nodeIds with another tool. It also ties into the workflow with search_wlo_topic_pages, making it complete for a tool with 5 parameters and multiple output formats.

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?

The schema covers 100% of parameters, so the baseline is 3. The description adds value by explaining the relationship between variantId and collectionId, noting that variantId is faster, and explicitly stating that at least one is required (a constraint not captured in the schema). This goes beyond the individual parameter descriptions, meriting a 4.

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 clearly states the tool retrieves the content structure of a Themenseite (topic page), detailing swimlanes with headings and nodeIds. It explicitly differentiates from sibling tool search_wlo_topic_pages by noting the latter only returns a URL. This is a specific verb+resource+scope with clear distinction.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'Use this AFTER search_wlo_topic_pages' and 'Resolve the returned nodeIds to human titles with get_nodes_details.' It also tells when to use variantId vs collectionId and that at least one is required, giving clear context for when to invoke this tool versus alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/janschachtschabel/wlo-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server