Skip to main content
Glama

Manage Edges

manage_edges

Add or remove typed relationships between nodes, including batch operations and linking visual states to memory.

Instructions

Manage typed graph relationships between nodes. Supported actions: add (create typed relationship), remove (delete relationship), batch_add (create multiple relationships atomically), link_visual (link task or artifact to visual memory state).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoThe semantic relationship type.
edgesNoArray of edge objects for batch_add.
actionNoThe edge management action to execute.
projectNoTarget project name or slug.
metadataNoOptional metadata for link_visual.
source_idNoID of the source node.
target_idNoID of the target node.
propertiesNoOptional metadata properties for the edge.
source_urlNoOptional URL where the visual state was captured.
relationshipNoRelationship type for link_visual (e.g. renders_state, blocked_by_visual_state).
visual_state_idNoVisual Memory snapshot/state ID for link_visual.
visual_descriptionNoOptional text description for the visual state.
Behavior4/5

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

The description adds value beyond the annotations by disclosing the action enum ('add', 'remove', 'batch_add', 'link_visual') and clarifying that 'batch_add' is atomic ('create multiple relationships atomically'). The mention of 'link_visual' provides context for what would otherwise be an opaque parameter. However, there's no mention of destructive-behavior details, permission requirements, or failure semantics. The atomicity note shows the author knows how to disclose behavior when they want to.

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

Conciseness3/5

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

The description is compact—two sentences—but the parameter list in parentheses is dense and could be structured more effectively. The atomicity callout is front-loaded appropriately. It's readable but not as scannable as the best 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?

For a mutating, multi-action tool with no annotations, no output schema, and 12 parameters, a description would need to explain parameter groupings (which params apply to add vs. batch_add vs. link_visual) and clarify the new semantics of the 'link_visual' feature. The current description names the actions and parameters but doesn't provide this mapping. However, the schema covers all parameters, and the basic graph-operation behavior is simple enough for an agent to infer.

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?

With schema description coverage at 100%, the schema documents all 12 parameters, including the enum for 'type' and descriptions for each field. The description meaningfully adds value by naming the four actions and clarifying the atomicity of batch_add. However, the description could have provided a mapping between parameters and actions, which is essential given the complexity of a multi-action tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Manage'), a clear resource ('typed graph relationships between nodes'), and enumerates supported actions (add, remove, batch_add, link_visual). However, it doesn't differentiate this tool from its siblings beyond the generic graph-relationship scope, and 'Manage Edges' is tautological with the tool name. It's functional but lacks the precision of the best examples.

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?

The description implies a complex tool with a 'link_visual' action that 'links task or artifact to visual memory state,' which is somewhat distinct from the first three actions. However, it doesn't state when to use this tool vs. alternatives like manage_nodes, manage_tasks, or manage_snapshots, nor does it address the parameter-grouping complexity (12 params, 0 required) or which parameters apply to which action. The usage context is only partially clear.

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/putervision/state-memory-mcp'

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