Skip to main content
Glama
hald

Things MCP Server

by hald

get_today

Retrieve todos due today from the Things app using natural language commands, enabling efficient task management and priority tracking.

Instructions

Get todos due today

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function for the 'get_today' tool, decorated with @mcp.tool for automatic registration in FastMCP. It retrieves todos due today using things.today(), formats them, and returns a formatted string.
    @mcp.tool async def get_today() -> str: """Get todos due today""" todos = things.today(include_items=True) if not todos: return "No items found" formatted_todos = [format_todo(todo) for todo in todos] return "\n\n---\n\n".join(formatted_todos)
  • things_server.py:25-25 (registration)
    The @mcp.tool decorator registers the get_today function as an MCP tool.
    @mcp.tool
  • Docstring providing description and implicit schema (no input parameters, returns str).
    """Get todos due today"""

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/hald/things-mcp'

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