Skip to main content
Glama
Discourse Graph MCP Server

Discourse Graph MCP Server

Official

get_relationships

Find all typed discourse relations involving a node, such as claims supported by evidence or questions informed by evidence, grouped by relation type.

Instructions

Find all typed discourse relations involving a node. For example, what Evidence supports a Claim, what Questions a piece of Evidence informs, etc. Returns results grouped by relation type.

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_relationships"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesThe page UID to find discourse relations for.
graphNoGraph name or nickname.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 that results are returned grouped by relation type, which is genuinely useful, but it leaves open whether relations are directional, whether both inbound and outbound edges are included ('involving' only hints at this), and whether results are paginated or truncated.

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?

Three short sentences, front-loaded with the core action and followed by clarifying examples. The 'etc.' trailing example is slightly loose but the wording is otherwise tight and earns its space.

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 two-parameter read tool with a fully documented schema and no output schema, the description covers the essentials. It stops short on directionality of relations and result shape beyond 'grouped by relation type', which matters for an agent reasoning about a graph.

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 both parameters are already documented in the schema. The description confirms the uid is the node of interest but adds no meaning for the optional 'graph' parameter or any format expectations, 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?

Names a specific verb and resource ('Find all typed discourse relations involving a node') and the examples (Evidence supports a Claim, Questions informed by Evidence) make the domain concrete. It does not explicitly distinguish itself from the closely related sibling get_linked_nodes, which keeps it short of a 5.

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 via the examples: an agent can infer you call this when you want typed discourse connections rather than generic links. There is no explicit when-to-use statement, no exclusions, and no routing to alternatives such as get_linked_nodes or get_node_neighborhood.

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