Skip to main content
Glama

akb_relations

Retrieve relations for any document, table, or file to see cross-type connections (doc→table, doc→file) and whether each link is explicit or implicit.

Instructions

Get relations for any resource (document, table, or file). Shows same-vault cross-type connections: doc→table, doc→file, table→file, etc. Each row identifies whether it is an explicit link or implicit document-derived edge.

Input Schema

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

Schema Changelog

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

  1. Changed1 schema field changedv2.0.8
    • changedInput schema / properties / type / description
      Previous value: -"Filter by relation type (depends_on, related_to, implements, references, attached_to)"New value: +"Filter by relation type (depends_on, related_to, implements, references, attached_to, derived_from)"
  2. Addedv2.0.4
  3. Removedv2.0.1
  4. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It does disclose the scope (same-vault only), the cross-type nature of results, and the explicit/implicit classification per row. It doesn't mention auth needs, rate limits, or potential absence of results, which leaves some transparency gap for a read operation.

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?

Three short sentences, front-loaded with the core purpose, then output details, then the edge-classification nuance. Every sentence contributes value with no filler or repetition.

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 read-only filtering tool of this complexity, the description covers what the tool returns, the scope, and the key distinction between explicit and implicit links. With no output schema, the description partially explains the return shape. It is complete enough for an agent to call the tool correctly, though a brief note on when no relations are expected would make it fully complete.

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 67%, so the schema already documents uri, type, and direction. The description adds useful context about resource categories ('document, table, or file') but does not explain the semantics of each relation type or direction values beyond what the schema provides. Baseline 3 is appropriate given the moderate coverage.

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 opens with a specific verb and resource scope ('Get relations for any resource (document, table, or file)') and adds differentiating detail: same-vault cross-type connections and explicit vs implicit edges. This sets it apart from siblings like akb_graph and akb_provenance.

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

Usage Guidelines3/5

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

Usage is implied by the description: call this when you need relations for a resource. However, it does not explicitly state when to prefer this tool over related siblings (e.g., akb_graph, akb_provenance) or when not to use it.

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