Skip to main content
Glama

read_daily_note_full

Access complete daily notes with all content and sections for analysis, summarization, or information extraction from any part of the document.

Instructions

Read the entire daily note including all content and sections.

This gives you complete access to the note for analysis, summarization, or extracting information from any section.

Args: date_str: Optional date in YYYY-MM-DD format (defaults to today)

Returns: Full note content with metadata and all sections

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_strNo

Implementation Reference

  • The core logic for reading the full daily note content, interacting with the vault and formatting the result.
    async def read_daily_note_full(date_str: str = None) -> str:
        """Read the entire daily note including all content and sections.
    
        Args:
            date_str: Optional date in YYYY-MM-DD format (defaults to today)
    
        Returns:
            Full note content with metadata and all sections
        """
        vault = get_vault()
        if not vault:
            return "❌ Obsidian vault not configured."
    
        if date_str:
            try:
                date = datetime.strptime(date_str, "%Y-%m-%d")
            except ValueError:
                return f"❌ Invalid date format: {date_str}"
        else:
            date = datetime.now()
    
        note_data = vault.read_full_note(date)
    
        if not note_data:
            return f"❌ No daily note found for {date.strftime('%Y-%m-%d')}."
    
        result = f"📖 Daily Note: {note_data['path']}\n\n"
    
        # Show metadata
        if note_data["metadata"]:
            result += "**Metadata:**\n"
            for key, value in note_data["metadata"].items():
                result += f"  {key}: {value}\n"
            result += "\n"
    
        # Show all sections
  • The MCP tool registration for 'read_daily_note_full', which calls the handler in daily_notes.py.
    @mcp.tool()
    async def read_daily_note_full(date_str: str = None) -> str:
        """Read the entire daily note including all content and sections.
    
        This gives you complete access to the note for analysis, summarization,
        or extracting information from any section.
    
        Args:
            date_str: Optional date in YYYY-MM-DD format (defaults to today)
    
        Returns:
            Full note content with metadata and all sections
        """
        return await daily_notes.read_daily_note_full(date_str)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/94aharris/coach-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server