Skip to main content
Glama

akb_graph

Get a knowledge graph with nodes (documents, tables, files) and edges (relations). Provide URI for BFS subgraph or vault for full graph.

Instructions

Get a 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)
vaultNoVault name (only when uri is omitted — for full vault graph)
depthNoBFS depth
limitNoMax nodes
Behavior3/5

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

With no annotations, the description must cover behavior. It states it returns nodes and edges and uses BFS traversal for subgraphs. It lacks explicit declaration of being a read-only operation, potential side effects, or performance implications. The transparency is adequate but not thorough.

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, front-loaded with purpose, and every word adds value. Efficiently conveys key information without redundancy.

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?

For a tool with 4 optional parameters and no output schema, the description covers the two main usage modes and the output type (nodes and edges). It lacks details on the depth and limit parameters, but those are in the schema. Overall, it provides sufficient context for an agent to use the tool effectively.

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%, baseline 3. The description adds context on mutual exclusivity of uri and vault, and mentions BFS depth. This adds slight extra value but does not significantly enhance understanding beyond the schema.

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 explicitly states what the tool does: 'Get a knowledge graph — nodes and edges'. It distinguishes between two modes: subgraph centered on a URI (with BFS traversal) and full vault graph. This clearly differentiates it from sibling tools like akb_relations.

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 provides explicit guidance on when to use each parameter: provide 'uri' for a subgraph, or 'vault' (without uri) for the full graph. It also mentions BFS traversal, giving context. However, it does not explicitly state when not to use the tool or list alternatives.

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

Install Server

Other Tools

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