Skip to main content
Glama
block
by block

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
load_index

Load the IndexStore for a project from the Derived Data folder.

Args: projectName: Name of the project to load the index for.

Returns: bool: True if the index was loaded successfully, False otherwise.

symbol_occurrences

Get symbols occurring at a specific location in a file.

Args: filePath: Absolute path to the file lineNumber: Line number in the file

Returns: Dict containing symbol information at the specified location

get_occurrences

Get all occurrences of a symbol by its USR.

Args: usr: The USR (Unified Symbol Resolution) of the symbol roles: The roles to search for (must be "reference" or "definition")

Returns: Dict containing all occurrences of the symbol

search_pattern

Search for symbol occurrences matching a pattern.

Args: pattern: The pattern to search for options: Optional list of search options. Valid options are: - anchorStart: Match pattern at start of symbol name - anchorEnd: Match pattern at end of symbol name - subsequence: Match pattern as subsequence (not exact match) - ignoreCase: Case-insensitive matching

Returns: Dict containing matching canonical symbol occurrences

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/block/xcode-index-mcp'

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