Skip to main content
Glama
jmars

memory-mcp

by jmars

create_relations

Creates multiple new relations between entities in a knowledge graph. Each relation must specify a source entity, a target entity, and a relation type.

Instructions

Create multiple new relations between entities in the knowledge graph.

Each relation must have: from (str), to (str), relationType (str).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
relationsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It only states the required fields for each relation, but does not reveal any behavioral traits such as whether the operation is idempotent, whether existing relations are overwritten or duplicated, how partial failures are handled, or any permission requirements. The mutation side effect is implied but not elaborated.

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, using two sentences to state the core purpose and required fields. It is front-loaded and every sentence earns its place, with no extraneous content.

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 tool with a single parameter and an output schema, the description provides the essential structure of the relations. It does not mention potential edge cases like entity existence validation, duplicate handling, or error behavior, which could be relevant for an agent invoking the tool. The description is adequate but lacks some contextual depth that 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?

The input schema provides no property descriptions (coverage 0%), so the description must compensate. The description adds meaning by specifying that each relation must have 'from (str), to (str), relationType (str)', which clarifies the array item structure. However, it does not explain optional properties, examples, or any constraints on relationType, leaving gaps in parameter understanding.

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's function: 'Create multiple new relations between entities in the knowledge graph.' This is a specific verb+resource that distinguishes it from siblings like create_entities (entities vs relations) and delete_relations (inverse operation). The scope is 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 implies its usage context: it is for creating relations, and sibling tools make it obvious that create_entities is for entities and delete_relations for removal. However, it does not explicitly state when to use this tool over alternatives or exclude any cases. The context is clear but lacks explicit when-not guidance.

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

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