Skip to main content
Glama
hald

Things MCP Server

by hald

get_trash

Retrieve deleted or trashed tasks from the Things app to review, restore, or manage them efficiently using the Things MCP Server.

Instructions

Get trashed todos

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get_trash' tool. It retrieves trashed todos using the 'things.trash' method, formats them with 'format_todo', and returns a concatenated string of the formatted todos separated by delimiters. If no todos, returns 'No items found'.
    @mcp.tool async def get_trash() -> str: """Get trashed todos""" todos = things.trash(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)

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