Skip to main content
Glama

create_relationship

Establish connections between ideas to organize dependencies, track evolution, and structure relationships like alternatives, dependencies, or parent-child hierarchies.

Instructions

Create a relationship between two ideas.

Relationship types:

  • related_to: General relationship (bidirectional)

  • alternative_to: Ideas that solve the same problem differently (bidirectional)

  • superseded_by: This idea was replaced by another (directional)

  • merged_into: This idea was merged into another (directional)

  • blocked_by: This idea depends on another (directional)

  • parent_of: This is a parent/epic of another idea (directional)

  • derived_from: This idea was inspired by another (directional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceIdeaIdYesThe source idea ID
targetIdeaIdYesThe target idea ID
relationshipTypeYesType of relationship
noteNoOptional note about the relationship

Implementation Reference

  • Definition of the 'create_relationship' tool in the proxy tools configuration.
      {
        name: 'create_relationship',
        description: `Create a relationship between two ideas.
    
    Relationship types:
    - related_to: General relationship (bidirectional)
    - alternative_to: Ideas that solve the same problem differently (bidirectional)
    - superseded_by: This idea was replaced by another (directional)
    - merged_into: This idea was merged into another (directional)
    - blocked_by: This idea depends on another (directional)
    - parent_of: This is a parent/epic of another idea (directional)
    - derived_from: This idea was inspired by another (directional)`,
        inputSchema: {
          type: 'object' as const,
          properties: {
            sourceIdeaId: { type: 'string', description: 'The source idea ID' },
            targetIdeaId: { type: 'string', description: 'The target idea ID' },
            relationshipType: {
              type: 'string',
              enum: ['related_to', 'alternative_to', 'superseded_by', 'merged_into', 'blocked_by', 'parent_of', 'derived_from'],
              description: 'Type of relationship',
            },
            note: { type: 'string', description: 'Optional note about the relationship' },
          },
          required: ['sourceIdeaId', 'targetIdeaId', 'relationshipType'],
        },
        annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: true },
        _meta: { 'openai/visibility': 'public' },
      },

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/Startvest-LLC/idealift-mcp-server'

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