Skip to main content
Glama

add_triple

Add relationships between entities to build knowledge graphs, automatically creating entities when needed.

Instructions

Add a knowledge graph triple (subject -> predicate -> object).

Entities are auto-created by name if they don't exist.

Args:
    subject: The subject entity name.
    predicate: The relationship predicate.
    object_name: The object entity name.

Returns:
    JSON string with the created triple details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subjectYes
predicateYes
object_nameYes

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/novyxlabs/novyx-mcp-desktop'

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