We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/siscale/arcanna-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
system.py•669 B
from datetime import datetime
from typing import Callable, List
from arcanna_mcp_server.utils.exceptions_handler import handle_exceptions
from arcanna_mcp_server.utils.tool_scopes import requires_scope
def export_tools() -> List[Callable]:
return [
get_system_timestamp
]
@handle_exceptions
@requires_scope('public')
async def get_system_timestamp() -> str:
"""
Get current system timestamp.
Use it when every time the time is needed.
Returns:
--------
str
A string representing the current system timestamp.
"""
utc_timestamp = datetime.now().strftime('%Y-%m-%dT%H:%M:%SZ')
return utc_timestamp