Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HF_TOKEN | Yes | Your Hugging Face API token, required to access or download the dataset. |
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 |
|---|---|
| get_sample | Get n random samples from the emotion dataset. Args: n: Number of samples to retrieve (default: 5, max: 20) Returns: JSON string with samples including text and emotion label |
| count_by_emotion | Count samples for a specific emotion. Args: emotion: One of 'sadness', 'joy', 'love', 'anger', 'fear', 'surprise' Returns: JSON string with count and percentage |
| search_text | Search for samples containing specific text. Args: query: Text to search for (case-insensitive) limit: Maximum results to return (default: 10) Returns: JSON string with matching samples |
| analyze_emotion_distribution | Get the distribution of emotions in the dataset. Returns: JSON string with counts and percentages for each emotion |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |