We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/doobidoo/MCP-Context-Provider'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
date_awareness_context.json•5.58 KiB
{
"tool_category": "date_awareness",
"description": "Temporal accuracy context to prevent date-related errors across all tools",
"auto_convert": true,
"current_date_awareness": {
"principle": "ALWAYS use the system's CURRENT date dynamically, NEVER hardcode specific dates",
"dynamic_date": "Use system date from context/environment",
"important_note": "The current date must be retrieved from the system dynamically, not stored as a static value",
"knowledge_cutoff": "January 2025 - DO NOT USE FOR CURRENT EVENTS OR TIMESTAMPS",
"validation_required": true
},
"date_rules": {
"system_date_usage": {
"rule": "Always retrieve current date from system context",
"implementation": "Use dynamic date functions, not static strings",
"dokuwiki": "Use //{{CURRENT_DATE}} - Action by Role// pattern or retrieve from system"
},
"memory_storage": {
"current_events": "For 'today' or 'now', use system's current date dynamically",
"rely_on_system": "Memory service automatically timestamps entries",
"avoid_redundancy": "Don't duplicate timestamps that the system provides",
"historical_events": "Only specify dates for historical events or specific past occurrences"
},
"common_mistakes": {
"static_dates": {
"wrong": "Hardcoding '2025-11-21' or any specific date",
"correct": "Using dynamic system date retrieval"
},
"dokuwiki_dates": {
"wrong": "//2025-01-21 - Created by Technical Consultant//",
"correct": "//{{CURRENT_DATE}} - Created by Technical Consultant// or dynamic date"
},
"knowledge_cutoff_confusion": {
"wrong": "Using January 2025 (knowledge cutoff) for current events",
"correct": "Using dynamically retrieved system date"
}
}
},
"best_practices": {
"dokuwiki_pages": [
"Retrieve actual system date for 'Last Updated' sections",
"Use placeholder {{CURRENT_DATE}} to be replaced with system date",
"Format: //YYYY-MM-DD - Action by Role// with dynamic date"
],
"implementation_notes": [
"Never store dates as static strings in contexts",
"Always use date functions or system variables",
"Let the system provide timestamps",
"For DokuWiki, use the actual system date when creating/updating pages"
],
"memory_entries": [
"Don't include 'stored on [date]' - the system handles this",
"Only mention dates when they're part of the actual content",
"For current actions, rely on system timestamps",
"Trust the memory service's automatic timestamping"
],
"scripts_and_code": [
"Use date functions like Date.now() or datetime.now()",
"Never hardcode current dates",
"Use placeholders like {{CURRENT_DATE}} for templates",
"Let users or system fill in current dates when running"
]
},
"simplified_approach": {
"principle": "Less is more - let systems handle their own timestamps",
"focus": "Content accuracy over temporal metadata",
"verification": "Check that dates make logical sense, not against hardcoded values"
},
"metadata": {
"version": "4.0.0",
"note": "Use DYNAMIC system date, NEVER hardcode dates",
"applies_to_tools": [
"*"
],
"priority": "critical",
"last_updated": "2025-11-21T12:51:35.817754"
},
"auto_store_triggers": {
"temporal_events": {
"tags": [
"temporal",
"scheduled",
"deadline"
],
"action": "store_with_metadata",
"patterns": [
"scheduled for",
"deadline is",
"due on",
"expires on",
"meeting on",
"appointment at"
],
"confidence_threshold": 0.8
},
"time_sensitive_info": {
"tags": [
"temporal",
"time-sensitive"
],
"action": "store_with_metadata",
"patterns": [
"valid until",
"available from",
"starting from",
"ending on",
"between .* and"
],
"confidence_threshold": 0.7
}
},
"auto_retrieve_triggers": {
"calendar_queries": {
"action": "search_and_suggest",
"patterns": [
"events on",
"appointments for",
"schedule for",
"what's on"
],
"search_tags": [
"temporal",
"calendar",
"scheduled"
],
"confidence_threshold": 0.7
},
"temporal_queries": {
"action": "search_and_suggest",
"patterns": [
"when is",
"what time",
"scheduled for when",
"deadline for",
"due date"
],
"search_tags": [
"temporal",
"scheduled"
],
"confidence_threshold": 0.8
}
},
"session_initialization": {
"enabled": true,
"actions": {
"on_startup": [
{
"action": "search_memory",
"store_as": "upcoming_events",
"parameters": {
"tags": [
"temporal",
"scheduled"
],
"n_results": 10
}
},
{
"action": "notify",
"message": "Date awareness context loaded. Found {upcoming_events.count} scheduled items."
}
]
}
},
"dynamic_date_resolution": {
"description": "How to properly handle dates in different contexts",
"dokuwiki": "When saving pages, use the actual current system date from the environment",
"memory": "Let memory service handle timestamps automatically",
"documentation": "Use relative references (today, yesterday) or system-provided dates",
"templates": "Use {{CURRENT_DATE}} placeholder to be replaced at runtime"
}
}