Skip to main content
Glama

akb_link

Create a typed relation between two resources such as documents, tables, or files. Specify source and target URIs and select a relation type like depends_on or references.

Instructions

Create a relation between any two resources (documents, tables, files). Source and target are AKB URIs. Relation types: depends_on, related_to, implements, references, attached_to, derived_from. Example: link a design doc to its data table, or attach a diagram file to a spec.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesSource resource URI (e.g. akb://vault/doc/specs/api.md)
targetYesTarget resource URI (e.g. akb://vault/table/experiments)
relationYesRelation type
Behavior2/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. It states the tool creates a relation but does not clarify whether it overwrites existing relations, requires specific permissions, or handles invalid URIs. Key behavioral traits are missing, making it insufficient for a creation tool.

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 extremely concise with two sentences that front-load the purpose and then provide specific details (relation types, example). Every sentence adds value without redundancy or unnecessary words.

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 the lack of output schema and sibling tools that include akb_unlink and akb_relations, the description covers the core purpose adequately. However, it does not explain what the tool returns on success or how errors are handled, leaving some gaps for an agent to fully understand the invocation context.

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

Parameters4/5

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

The input schema has full coverage (100%), but the description adds significant meaning: it explains that source and target are AKB URIs, lists all relation types from the enum, and provides usage examples. This goes beyond the schema by offering contextual guidance on how to use each parameter.

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 creates a relation between two resources, lists all relation types, and provides an example by mentioning linking a design doc to a data table. This distinguishes it from sibling tools like akb_unlink, making the purpose specific and unambiguous.

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 clear context on when to use the tool (creating a relation between any two resources) and provides examples of usage (e.g., link a design doc to its data table). However, it does not explicitly exclude cases or mention alternatives like akb_relations for viewing existing relations, which prevents a higher score.

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