Skip to main content
Glama

Link Session to Doc

vault_link_session

Create a manual cross-product link between a LoreConvo session and a LoreDocs document in a specified vault, for easy reference and association.

Instructions

Create a manual cross-product link from a LoreConvo session to a LoreDocs doc.

Both LoreConvo and LoreDocs must be installed. Manual links are accessible on all tiers. The linked doc must not be in an opt-out vault.

Args: session_id -- LoreConvo session UUID doc_id -- LoreDocs document ID vault_id -- LoreDocs vault containing the document

Returns dict with: ok -- bool session_id, doc_id on success reason -- failure description (generic; details in debug log)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
vault_idYes
session_idYes
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses that manual links are accessible on all tiers, that both products must be installed, and that doc must not be in an opt-out vault. However, it does not describe whether the operation is reversible, effects on existing links, or permission requirements. The return dict description is behavioral but incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is well-structured and efficient, using a short intro, a concise bullet-like 'Args' list, and a clear 'Returns' section. It avoids fluff. Only minor redundancy: 'Returns dict with ok -- bool' could be more concise, but it's still tight.

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 tool's moderate complexity (3 params, no output schema, no annotations), the description covers most key aspects: prerequisites, tier availability, return shape. However, it lacks error behavior (e.g., what 'generic' failure implies), and doesn't clarify the 'manual' link lifecycle (e.g., how to unlink, if replaceable). It's adequate but not complete.

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?

Schema coverage is 0%, so description must compensate. It lists all three parameters (session_id, doc_id, vault_id) with brief explanatory phrases (e.g., 'LoreConvo session UUID', 'LoreDocs document ID', 'LoreDocs vault containing the document'). This adds essential meaning beyond bare parameter names, though it doesn't provide format validation or relationships between params.

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?

Clearly states the action: 'Create a manual cross-product link from a LoreConvo session to a LoreDocs doc.' The verb is specific, the resources are named, and it distinguishes itself from sibling link tools like vault_link_doc (which likely links docs to docs) and vault_link_project. Also mentions manual vs automatic, which differentiates further.

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?

Gives clear when-to-use context: manual link creation, available on all tiers, requires both products installed, and doc must not be in an opt-out vault. Does not explicitly name alternatives, but the context implies when this is appropriate vs other link operations. Lacks explicit exclusions for when not to use.

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/labyrinth-analytics/loredocs'

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