Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NEWS_API_KEYYesYour News API key
OPENAI_API_KEYYesYour OpenAI API key
OPENWEATHER_API_KEYYesYour OpenWeather API key

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_weatherA

Get current weather for a location.

Args: location: City name or "City, Country Code"

Returns: Dictionary with weather information

fetch_newsC

Fetch news articles on a topic.

Args: topic: Search query/topic limit: Number of articles to return language: Language code (default: en)

Returns: Dictionary with news articles

create_fileC

Create a new file with content.

Args: path: File path (relative to data directory) content: File content

Returns: Result dictionary

read_fileB

Read file content.

Args: path: File path (relative to data directory)

Returns: File content and metadata

delete_fileB

Delete a file.

Args: path: File path (relative to data directory)

Returns: Result dictionary

search_filesB

Search for files matching a pattern.

Args: directory: Directory to search (relative to data directory) pattern: Glob pattern (e.g., ".txt", "data_")

Returns: List of matching files

list_directoryB

List contents of a directory.

Args: directory: Directory path (relative to data directory)

Returns: Directory contents

update_fileC

Update existing file content.

retrieve_current_working_directoryA

Retrieve the current working directory used as the base data path. This directory serves as the root location for all tools or operations that require file paths, relative directories, or working directory references.

Returns: Result Working Directory Path dictionary

fetch_webpageB

Fetch content from a webpage.

Args: url: URL to fetch extract_text: If True, extract and clean text content

Returns: Webpage content and metadata

calculateA

Evaluate a mathematical expression safely.

Args: expression: Mathematical expression (e.g., "2 + 2", "sqrt(16)")

Returns: Calculation result

convert_unitsA

Convert between units.

Args: value: Numeric value to convert from_unit: Unit to convert from to_unit: Unit to convert to

Supported conversions:

  • Temperature: celsius, fahrenheit, kelvin

  • Length: meter, kilometer, mile, foot, inch

  • Weight: kilogram, gram, pound, ounce

execute_commandA

Execute an arbitrary shell command with full control over execution context. This method allows running simple commands (e.g., ls, cat, echo, pwd, mv) as well as complex shell pipelines and redirections (e.g., grep pattern file | sort > output.txt). It captures both standard output and standard error, and returns structured results.

Args: command (str): Command to execute (any valid shell command) cwd (str, optional): Relative Working directory (defaults to data directory) timeout (int, optional): Command timeout in seconds

Returns: Result dictionary with stdout, stderr, and return code

store_memoryA

Store one or more key–value pairs in persistent memory. This method updates the existing memory store with the provided key–value pairs. If a key already exists, its value will be overwritten.

Args: input_data (Dict[str, Any]): A dictionary containing one or more key–value pairs to be stored.

Returns: Dict[str, Any]: A result dictionary indicating success and listing the stored items.

forget_memoryA

Remove one or all items from persistent memory.

If the input key is "ALL", the entire memory store is cleared. Otherwise, only the specified key will be removed if it exists.

Args: input_data (Dict[str, Any]): A dictionary containing a single key "key" that specifies which memory entry to remove, or "ALL" to clear all entries.

Returns: Dict[str, Any]: A result dictionary indicating success, failure, or whether the requested key was not found.

retrieve_memoryB

Retrieve the entire memory store.

Returns: Any: The complete memory store as a dictionary.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Agent Stored MemoriesAccess to all user stored memories

TDQS

A3.5/5.0

Scored across 16 tools

Disambiguation4/5

Most tools are clearly distinct, but execute_command is very broad and could be used to replicate file operations or other tasks, causing potential overlap. Otherwise, file operations, memory, and web fetching are well-separated.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_file, fetch_webpage, store_memory). Even longer names like retrieve_current_working_directory adhere to the pattern. No mixing of conventions.

Tool Count5/5

16 tools is a well-scoped set for an AI agent server, covering file operations, web fetching, weather, news, computation, unit conversion, and memory. Each tool has a clear role without being excessive.

Completeness4/5

The tool set covers most key operations for its domain: CRUD for files, memory storage and retrieval, web and news fetching, weather, calculation, and conversions. Minor gaps exist (e.g., no explicit memory update function, but store can overwrite), but overall it is comprehensive.

Maintenance

ActivityInactive
ResponsivenessNo issues