Skip to main content
Glama
hald

Things MCP Server

by hald

get_tagged_items

Filter and retrieve items associated with a specific tag in the Things app using natural language commands. Simplify task and project management by organizing tagged items efficiently.

Instructions

Get items with a specific tag

Args: tag: Tag title to filter by

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagYes

Implementation Reference

  • Handler function decorated with @mcp.tool that implements the get_tagged_items tool. It retrieves todos associated with a specific tag using the 'things' library and formats the output using format_todo.
    @mcp.tool async def get_tagged_items(tag: str) -> str: """Get items with a specific tag Args: tag: Tag title to filter by """ todos = things.todos(tag=tag, include_items=True) if not todos: return f"No items found with tag '{tag}'" 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