Skip to main content
Glama

akb_graph

Retrieve a knowledge graph of vault resources and relations. Use a URI to get a BFS subgraph, or provide a vault name for the full graph.

Instructions

Get a same-vault knowledge graph — nodes (documents, tables, files) and edges (relations). Provide uri to get a subgraph centered on any resource with BFS traversal. Provide vault (without uri) to get the full vault graph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriNoCenter resource URI (omit + pass vault for full vault graph)
hopsNoBFS traversal radius in edge hops. Disambiguated from `akb_browse.depth` (which is collection-tree depth) — hops here counts relations followed, not folder levels.
limitNoMax nodes
vaultNoVault name (only when uri is omitted — for full vault graph)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv2.0.7
    • removedInput schema / properties / depth
      Removed value: -{
      -  "default": 2,
      -  "description": "BFS depth",
      -  "maximum": 5,
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • addedInput schema / properties / hops
      Added value: +{
      +  "default": 2,
      +  "description": "BFS traversal radius in edge hops. Disambiguated from `akb_browse.depth` (which is collection-tree depth) — hops here counts relations followed, not folder levels.",
      +  "maximum": 5,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. Addedv2.0.4
  3. Removedv2.0.1
  4. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral disclosure burden and does so well: it states the traversal strategy (BFS), the two graph scopes (centered subgraph vs full vault graph), and the returned element types (nodes and edges). It stops short of describing output shape or pagination, but the essentials are present.

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, front-loaded with the core resource and action, and free of filler. Every clause adds useful information about graph scope or traversal behavior.

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, but the description covers the return shape at a high level (nodes for documents/tables/files and edges for relations), plus both invocation modes. It is complete enough for an optional-parameter retrieval tool, though it omits behavior when neither `uri` nor `vault` is provided.

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%, so the parameters are already documented. The description reinforces the `uri`/`vault` mode distinction but does not add material meaning beyond the schema, so the baseline score of 3 is appropriate.

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 clearly identifies the resource (same-vault knowledge graph) and the action (get), enumerating node types and edge meaning. It does not explicitly contrast with sibling graph-adjacent tools like akb_relations or akb_browse, so it misses the top score for sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit within-tool usage guidance: pass `uri` for a BFS-centered subgraph, or pass `vault` without `uri` for the full vault graph. It also leverages schema text to disambiguate `hops` from `akb_browse.depth`, but it does not discuss when to choose this tool over alternatives.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dnotitia/akb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server