Skip to main content
Glama

register_entity

Register code entities such as classes, functions, or modules into a knowledge graph. Capture details like name, type, summary, signature, language, and observations to organize and retrieve codebase information efficiently.

Instructions

Register a code entity in the knowledge graph.

Args: name: Name of the entity (e.g., class name, function name) entity_type: Type of entity (class, function, module, etc.) summary: Brief description of the entity signature: Entity signature (e.g., function signature) language: Programming language observations: List of observations about the entity metadata: Additional metadata as key-value pairs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_typeYes
languageNo
metadataNo
nameYes
observationsNo
signatureNo
summaryYes

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/sarathsp06/sourcesage'

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