Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tasks | {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
},
"prompts": {
"get": {}
},
"resources": {
"read": {}
}
}
} |
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| current_datetime | Return the current or today's local date and time in ISO 8601 format. ReturnsDict[str, Any] A dictionary containing: - status : str Indicates successful execution. - datetime : str Current local date and time in ISO 8601 format. |
| current_date | Return today's local date. ReturnsDict[str, Any] A dictionary containing: - status : str Indicates successful execution. - date : str Current date in YYYY-MM-DD format. |
| current_time | Return the current local time. ReturnsDict[str, Any] A dictionary containing: - status : str Indicates successful execution. - time : str Current time in HH:MM:SS format. |
| current_day | Return the name of the current day. ReturnsDict[str, Any] A dictionary containing: - status : str Indicates successful execution. - day : str Name of the current day (e.g., Monday). |
| current_month | Return the name of the current month. ReturnsDict[str, Any] A dictionary containing: - status : str Indicates successful execution. - month : str Name of the current month (e.g., January). |
| current_year | Return the current year. ReturnsDict[str, Any] A dictionary containing: - status : str Indicates successful execution. - year : int Current year. |
| unix_timestamp | Return the current Unix timestamp. ReturnsDict[str, Any] A dictionary containing: - status : str Indicates successful execution. - timestamp : int Number of seconds since the Unix epoch. |
| timezone_datetime | Return the current date and time for a specified timezone. Parameterstimezone : str, optional IANA timezone name (e.g., "UTC", "Asia/Kolkata"). Defaults to "UTC". ReturnsDict[str, Any] A dictionary containing: - status : str Indicates successful execution or error. - timezone : str Requested timezone. - datetime : str Current datetime in ISO 8601 format for the given timezone. If an invalid timezone is provided, an error response is returned. |
| formatted_datetime | Return the current date and time using a custom format. Parametersformat : str, optional strftime-compatible format string. Defaults to "%Y-%m-%d %H:%M:%S". ReturnsDict[str, Any] A dictionary containing: - status : str Indicates successful execution or error. - formatted : str Current datetime formatted according to the provided format string. If the format string is invalid, an error response is returned. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| tools_summary | Provide a human-readable summary of all datetime tools. This resource is intended for documentation, discovery, and client-side help interfaces. |