Skip to main content
Glama

sourcesage

query_entities

Search and filter entities (classes, functions, modules) in a knowledge graph by type, programming language, or name pattern using customizable parameters for precise results.

Instructions

Query entities in the knowledge graph.

Args: entity_type: Filter by entity type (class, function, module, etc.) language: Filter by programming language name_pattern: Filter by name pattern (regex) limit: Maximum number of results to return

Input Schema

NameRequiredDescriptionDefault
entity_typeNo
languageNo
limitNo
name_patternNo

Input Schema (JSON Schema)

{ "properties": { "entity_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Entity Type" }, "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Language" }, "limit": { "default": 10, "title": "Limit", "type": "integer" }, "name_pattern": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Name Pattern" } }, "title": "query_entitiesArguments", "type": "object" }

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