Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
get_last_command

Get the most recent terminal command and its output. Use this to see what the user just ran in their terminal.

get_last_error

Get the last terminal command only if it failed (non-zero exit code). Returns nothing if the last command succeeded.

get_recent_commands

Get the last N terminal commands and their outputs.

search_output

Search through recent terminal output for a specific pattern or error message.

clear_history

Clear the captured terminal history log file.

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/chrisvin-jabamani/terminal-reader-mcp'

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