Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONSTELLATION_ACCESS_KEYYesAPI key required for all requests to the Constellation service.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
code_intelA

DECISION RULE: Structure questions → this tool. Text search → Grep.

Before using Grep, ask: Is this a STRUCTURE question (definitions, callers, impact) or a TEXT question (strings, config)?

QUICK START: return await api.searchSymbols({query: "AuthService"}) — simple queries are one-liners. Run api.listMethods() for full API reference with signatures and descriptions. Run api.help("methodName") for inline TypeScript type definitions — no resource reads needed. Compose: const [impact, deps] = await Promise.all([api.impactAnalysis({symbolId}), api.getDependents({filePath})]);

WHY THIS TOOL: Graph-backed intelligence finds indirect relationships, transitive dependencies, and breaking change risks that text search cannot detect.

"What uses X?" disambiguation: getDependents (file imports) vs getCallGraph (call chain) vs traceSymbolUsage (all usages).

USE IMMEDIATELY WHEN: • BEFORE using Edit on a function/class → run impactAnalysis({symbolId}) first • BEFORE exploring an unfamiliar codebase → run getArchitectureOverview() • BEFORE refactoring → trace getDependencies + getDependents for blast radius • Running 3+ Grep calls for structure? STOP → use code_intel instead

TOP 5 QUESTIONS (query is case-insensitive substring match): • "Where is X defined?" / "Find function Y" → searchSymbols({query}) • "What calls X?" / "What imports this?" → getDependents({filePath}) or getCallGraph({symbolId}) • "What does X depend on?" → getDependencies({filePath}) • "Safe to modify X?" / "Blast radius?" → impactAnalysis({symbolId}) • "Find dead code" / "Unused exports?" → findOrphanedCode()

NOT FOR: literal string search, log messages, config values, or reading source code. Use Grep/Glob/Read for those. Supports TypeScript, JavaScript, Python, and more — run api.getCapabilities() to check your project.

WRONG TOOL SIGNAL: If you've run 3+ Grep calls for structure (callers, dependencies, impact), STOP and use code_intel instead. Typical workflow: code_intel to find → Read to view source → Edit to modify

IMPORTANT: The cwd parameter is required — always set it to the target project directory path.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
api-typesPrefer constellation://types/api/{methodName} for individual methods. This resource is ~147KB and may consume excessive context. Full TypeScript type definitions for all Code Mode API methods.
code-mode-guideFull method reference, response shapes, composition recipes, and error recovery patterns. Read this when writing code_intel queries.
metricsRuntime metrics: execution counts, durations, error rates, and API call patterns.
searchSymbols typesType definitions for api.searchSymbols()
getSymbolDetails typesType definitions for api.getSymbolDetails()
getDependencies typesType definitions for api.getDependencies()
getDependents typesType definitions for api.getDependents()
findCircularDependencies typesType definitions for api.findCircularDependencies()
traceSymbolUsage typesType definitions for api.traceSymbolUsage()
getCallGraph typesType definitions for api.getCallGraph()
impactAnalysis typesType definitions for api.impactAnalysis()
findOrphanedCode typesType definitions for api.findOrphanedCode()
getArchitectureOverview typesType definitions for api.getArchitectureOverview()
ping typesType definitions for api.ping()
getCapabilities typesType definitions for api.getCapabilities()
Method ReferenceMethod lookup table, disambiguation guide, and parameter reference (~1,200 tokens)
Response Shapes & RecipesResponse contract, top 3 response shapes, and workflow recipes (~1,000 tokens)
Common Mistakes & RecoveryCommon mistakes, empty result debugging, and error recovery patterns (~800 tokens)

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/ShiftinBits/constellation-mcp'

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