Skip to main content
Glama

akb_relations

Retrieve cross-type relations between documents, tables, and files in the knowledge base. Filter by direction and relation type to understand dependencies and connections.

Instructions

Get relations for any resource (document, table, or file). Shows cross-type connections: doc→table, doc→file, table→file, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriYesResource URI (akb://vault/doc/path, akb://vault/table/name, akb://vault/file/uuid)
directionNoboth
typeNoFilter by relation type (depends_on, related_to, implements, references, attached_to, derived_from)
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It implies a read-only operation but does not mention required permissions, side effects, rate limits, or whether the tool is safe to call repeatedly.

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, no wasted words. The purpose is front-loaded, and the description immediately conveys the tool's value with concrete examples.

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?

Given 3 parameters, no output schema, and no annotations, the description is minimally adequate. It explains what relations are but omits details like output format, pagination, or behavior when no relations exist.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers 67% of parameters with descriptions; the 'direction' parameter lacks a description. The tool description adds no detail about parameter values or usage beyond the schema, missing an opportunity to clarify the 'direction' and 'type' parameters.

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 clearly states the tool retrieves relations for resources and explicitly lists resource types (document, table, file) and connection types (doc→table, etc.), making its purpose distinct from sibling tools like akb_link or akb_graph.

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

Usage Guidelines2/5

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

The description lacks explicit guidance on when to use this tool versus alternatives like akb_graph or akb_provenance. It does not mention prerequisites, when not to use it, or specific use cases.

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