Skip to main content
Glama
Discourse Graph MCP Server

Discourse Graph MCP Server

Official

get_all_discourse_nodes

Retrieve all discourse node instances from a Roam graph, such as Claims and Evidence, with text, UID, type, author, and timestamps; optionally filter by modification date.

Instructions

Get all discourse node instances from a Roam graph. Returns the actual pages/blocks that match configured discourse node types (e.g., all Claims, all Evidence). Each result includes the node text, UID, type, author, and timestamps.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_all_discourse_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
graphNoGraph name or nickname. Auto-selects if only one graph is configured.
sinceNoISO date string. Only return nodes modified after this date. Defaults to all time.

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 at all, the description must carry the full behavioral burden. It does disclose the returned fields (text, UID, type, author, timestamps) and that retrieval is scoped to configured discourse node types, but it never states that the operation is read-only, whether results are paginated or capped, or what happens when no discourse node types are configured.

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?

Three short sentences with no filler: purpose first, scope second, return shape third. Every sentence adds distinct information and the key scoping fact is front-loaded.

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?

There is no output schema, and the description usefully compensates by enumerating the fields each result includes. For a zero-required-parameter read tool this is nearly complete; only pagination/result-volume limits and the read-only nature are left unstated.

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%, with both `graph` (name/nickname, auto-select when a single graph exists) and `since` (ISO date, defaults to all time) fully documented in the schema. The description adds no additional meaning about either parameter, 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?

The description uses a concrete verb and resource ("Get all discourse node instances from a Roam graph") and clarifies that these are actual pages/blocks, not the type definitions. It implicitly separates itself from get_discourse_node_types by emphasising instances, but never names a sibling, so the differentiation is inferred rather than stated.

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 agent can infer it should call this when it wants the concrete nodes matching configured types, and the example ("all Claims, all Evidence") helps. There is no explicit when-to-use or when-not-to-use guidance and no routing toward alternatives such as search_nodes, get_candidate_nodes, or get_discourse_node_types.

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