Skip to main content
Glama
Discourse Graph MCP Server

Discourse Graph MCP Server

Official

get_node

Retrieve a node's title, full block tree, creator, creation and modification dates by UID. Use it to inspect complete page or block content with configurable depth.

Instructions

Get complete details for a node by its UID. Returns the title, full block tree (content), creator, creation date, and last modified date.

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": {
      "uid": "<uid>"
    },
    "name": "get_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesThe block/page UID to fetch.
graphNoGraph name or nickname.
max_depthNoMaximum child depth to fetch. Default 10. Increase for deeply nested pages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the response shape (title, full block tree, creator, timestamps, last-modified), which is the most valuable thing it can say without an output schema. It says nothing about read-only guarantees, required permissions, behavior when the UID is missing, or what happens when max_depth truncates the tree.

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 operation and its key are front-loaded, and the second sentence spends its words on return contents rather than restating the name. Nothing could be cut without losing information.

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 simple UID-keyed read with 100% schema coverage and no output schema, the description covers the essentials and usefully substitutes for a missing return-value spec. The gaps are around depth/truncation semantics and failure modes, which are minor for this tool class but not nothing.

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 all three parameters (uid, graph, max_depth) are already documented, including the default of 10 and the exclusiveMinimum on depth. The description adds no syntax, format, or graph-nickname resolution detail beyond the schema, so the baseline 3 applies.

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?

Specific verb+resource+key: "Get complete details for a node by its UID," followed by an enumeration of what comes back (title, block tree, creator, dates). That is enough for an agent to distinguish a full-fetch from the narrower siblings (get_node_section, get_linked_nodes, search_nodes), but none of those alternatives are named, so discrimination is left to inference.

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?

"by its UID" implies this is the tool for when you already have an identifier, as opposed to searching. There is no explicit when-to-use, no exclusions, and no mention of when get_node_section or get_node_neighborhood would be preferable.

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