Skip to main content
Glama

Report on a tree's links

get_graph_report
Read-onlyIdempotent

How a tree's concepts link to each other: the most linked concepts, those with no links at all, and its areas (concepts more linked to each other than to the rest), with how many links join each pair of areas. An area joined to no other shows where the tree lacks links between its parts. Use it to see a tree's shape, or to find where links are missing; get_links lists one concept's links, and find_path how two connect.

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

Input Schema

NameRequiredDescriptionDefault
treeNoThe tree's slug, as list_trees gives it (not its name). Required unless the Forest has one tree.

Output Schema

NameRequiredDescriptionDefault
treeYesThe tree, and the commit it was read at.
areasYesThe tree's areas: concepts more linked to each other than to the rest.
linksYesHow many links join one concept to another.
orphansYesConcepts with no links to or from another concept.
conceptsYesHow many concepts the tree has.
mostLinkedYesThe concepts most linked to, most first (up to 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the description's job is to add interpretive context — which it does by explaining that an area with no external links signals disconnected parts of the tree. It does not mention output size, aggregation thresholds, or cost on large trees, which would have pushed it higher.

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?

Content is front-loaded with the report's contents, then usage and alternatives. The first sentence is long and clause-stacked, but every clause carries information; there is no filler.

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?

With an output schema present, return values needn't be described, and the definition still covers what the report analyzes plus the interpretation of disconnected areas. A note on scale or result-size limits is the only meaningful omission for a single-optional-parameter analytical tool.

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% and the schema itself explains the slug-vs-name distinction and the single-tree default. The description adds nothing about the tree parameter, so the baseline of 3 applies.

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 names the specific resource (a tree's link structure) and enumerates the exact contents of the report: most-linked concepts, unlinked concepts, and areas with pairwise link counts. It also explicitly contrasts itself with get_links and find_path, so an agent can distinguish it from siblings without opening schemas.

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?

It gives two concrete use cases ('see a tree's shape', 'find where links are missing') and names the alternatives with their scope ('get_links lists one concept's links, and find_path how two connect'). The selection rule between this tool and those siblings is stated outright.

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