Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GROQ_API_KEY | Yes | API Key for Groq to power the LLM engine (Llama 3.1). | |
| SERPER_API_KEY | Yes | API Key for Serper (Google Search API) used for news retrieval. | |
| WEATHER_API_KEY | Yes | API Key for WeatherAPI to access real-time meteorology data. | |
| AGENTOPS_API_KEY | Yes | API Key for AgentOps for observability, tracing, cost management, and debugging. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_note | Append a new note to the note file. Args: message (str): The note content to be added. Returns: str: Confirmation message indicating the note was saved. |
| search_news | Fetch search results from Google News via Serper |
| fetch_weather | Fetch current weather for a city |
| read_notes | Read and return all notes from the note file. Returns: str: All notes as a single string separated by line breaks. If no notes exist, a default message is returned. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| note_summary_prompt | Generate a prompt asking the AI to summarize all current notes. Returns: str: A prompt string that includes all notes and asks for a summary. If no notes exist, a message will be shown indicating that. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_latest_note | Get the most recently added note from the note file. Returns: str: The last note entry. If no notes exist, a default message is returned. |