Skip to main content
Glama

save_resource

Store AI-generated SVG visualizations or Markdown documents in a knowledge graph to preserve visual representations and node-related documentation.

Instructions

Save AI-generated SVG graphics or Markdown documents to the knowledge graph. This tool must be used in conjunction with get_creation_guidelines and list_graphs tools. Use cases:

  1. Save SVG visualization representation of the graph

  2. Save Markdown documents related to nodes

  3. Batch save multiple resource files

Usage recommendations:

  1. First call get_creation_guidelines to get resource creation standards

  2. Use list_graphs to get target graph ID and node ID (if needed)

  3. Create resource content according to standards

  4. Use this tool to save the resource

  5. After saving, use get_node_details to check resource association status

Return data:

  • data: Saved resource information

    • id: Resource ID

    • type: Resource type (svg/markdown)

    • title: Resource title

    • description: Resource description

    • nodeId: Associated node ID (if any)

    • createdAt: Creation time

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
graphIdYesGraph ID, must be obtained from list_graphs return data
resourceTypeYesResource type: - svg: SVG graphics file - markdown: Markdown document
titleYesResource title, must comply with naming rules in get_creation_guidelines
contentYesResource content, must comply with format specifications in get_creation_guidelines
descriptionNoResource description (optional)
nodeIdNoAssociated node ID (optional), if provided must be obtained from nodes array in list_graphs

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/aiuluna/knowledge-graph-mcp'

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