Skip to main content
Glama
LiLara-AI

ShadowGraph

Official

shadowgraph_link

Create a named directed relationship between two existing entities to record how decisions, facts, or alternatives relate. Enables later traversal and replacement tracking when superseding links.

Instructions

Create one named, directed relationship between two entities that already exist. Read relationships back with shadowgraph_traverse; shadowgraph_supersede records replacement and its own relation. Every call mints a new relation id, so a repeat duplicates the relationship. There is no unlink tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget entity id. Must already exist.
fromYesSource entity id. Must already exist: a decision, attempt, memory, fact, or alternative.
relationYesRelationship name, chosen by the caller and stored verbatim, such as depends_on, contradicts, or informs. It is what shadowgraph_traverse filters and explains hits by, so keep names consistent.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesIdentifier minted for this relationship. A new one on every call.
toYesTarget entity identifier.
fromYesSource entity identifier.
kindYesAlways "relation".
relationYesRelationship name as supplied.
temporalYesBi-temporal window: validFrom, validTo, recordedAt, invalidatedAt.
createdAtYesISO 8601 creation time.
schemaVersionYesStorage schema version.
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the tool as non-read-only and non-idempotent, but the description adds crucial behavioral detail: every call mints a new relation id, repeats duplicate relationships, and there is no unlink mechanism. This goes well beyond the raw annotation flags.

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?

Four dense sentences, each earning its place: purpose, alternatives, duplication behavior, and absence of an unlink tool. The most critical behavioral caveat is front-loaded and no words are wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers existence requirements, duplication semantics, irreversibility, and how to read or supersede relationships. With an output schema present and annotations matching the behavior described, an agent has everything needed to invoke this tool correctly.

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 100%, and each parameter is already well described in the schema. The description reinforces that both entities must exist and that the relation name is caller-chosen, but it does not add substantial parameter-level meaning 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 states a specific verb and resource: 'Create one named, directed relationship between two entities that already exist.' This clearly distinguishes linking from reading, superseding, and deletion, and names related sibling tools without ambiguity.

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

Usage Guidelines5/5

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

The description explicitly routes the agent to shadowgraph_traverse for reading relationships and to shadowgraph_supersede for replacements, and explicitly warns that 'There is no unlink tool.' This gives clear when-to-use and when-not-to-use guidance relative to alternatives.

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

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/LiLara-AI/shadowgraph'

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