Skip to main content
Glama

List a concept's links

get_links
Read-onlyIdempotent

Lists one concept's connections, without its body: the concepts it links to, the concepts that link to it (backlinks), and the external URLs it cites. Use it to follow a concept to its neighbors, or to see what would be affected by changing it; get_concept reads the concept itself, find_path finds how two concepts connect, and get_graph_report shows the whole tree's links. An ID that isn't in the tree (or a tree you can't read) is an error saying so.

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": {
      "id": "<id>"
    },
    "name": "get_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesConcept ID, its tree first: `company:product/okforest-product-brief`. In a Forest of one tree, the tree may be left out.

Output Schema

NameRequiredDescriptionDefault
idYesThe concept's ID.
treeYesThe tree it's in, and the commit it was read at.
linksYesThe concepts it links to.
externalYesThe external URLs it links to or cites.
backlinksYesThe concepts that link to it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds behavior the annotations do not: the response excludes the concept body, and a missing ID or unreadable tree produces an explicit error rather than an empty result. It stops short of describing ordering, pagination, or result size, which keeps it from a 5.

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, zero filler. The first front-loads what the tool returns; the second front-loads usage and then the disambiguation list, so an agent can stop reading once it has the routing decision. The sibling enumeration is dense but every name is load-bearing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 need no prose, and with annotations present, safety needs no prose. What remains — scope of links, error behavior for bad IDs, and sibling routing — is fully covered, so nothing an agent needs to call this correctly is missing.

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's id description already supplies the tree-qualified format and the single-tree omission rule. The description contributes only the failure mode for an unknown ID, which is error handling rather than added parameter meaning. Baseline 3 is appropriate when the schema carries this much.

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 and resource ("Lists one concept's connections") and then enumerates the exact scope: outgoing links, backlinks, and external cited URLs. It also carves out what it does not return ("without its body"), which is precisely the distinction an agent needs against get_concept.

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 ("follow a concept to its neighbors" and "see what would be affected by changing it") and then explicitly routes three named alternatives: get_concept for the concept body, find_path for connectivity between two concepts, get_graph_report for the whole tree. When-to-use and when-not-to-use are both present.

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