Skip to main content
Glama

Torah Library

Topic relationship graph

get_topic_graph
Read-onlyIdempotent

Get the network of topics connected to a topic (e.g. students/teachers of a sage, parts of a concept). Optionally restrict to one link type such as "is-a", "has-student", "has-teacher", "related-to", "part-of".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
link_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds the concept of a graph/network and enumerates link types, which is useful behavioral context beyond the annotations. However, it does not disclose potential limitations (e.g., whether the graph includes the source topic, depth, or pagination). Given the annotation coverage, a 3 is appropriate.

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 two sentences with no filler. The primary purpose is front-loaded, and the optional filter is presented second. Every word earns its place; it is concise and well-structured.

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?

With no output schema, the description should clarify what the response looks like. It states the tool returns a 'network of topics connected to a topic,' which implies a graph structure, but does not describe the format (e.g., nodes and edges), whether the source topic is included, or any pagination or depth limits. Given the complexity of a graph tool, this is a notable gap, but the description is still adequate for basic usage, hence a 3.

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?

Schema description coverage is 0%, so the description must compensate. It implicitly explains 'slug' as the topic to which connections are sought, and explicitly describes 'link_type' as an optional filter with examples. This adds meaningful meaning beyond the bare schema property names. However, it does not specify the exact format or allowed values for link_type beyond examples, so a 4 rather than 5.

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 states a specific verb ('Get') and a specific resource ('the network of topics connected to a topic'), with clarifying examples ('students/teachers of a sage, parts of a concept'). It clearly distinguishes this from sibling tools like get_topic, which would retrieve a single topic, and get_related_content, which likely returns related items. The optional link_type filter further refines the purpose.

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?

The description explains the optional link_type parameter and gives examples of allowed values, but it does not provide explicit guidance on when to use this tool versus alternatives like get_topic, get_related_content, or recommend_topics. The usage context is implied by the purpose but not stated as exclusions or conditions.

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.

Resources