Skip to main content
Glama

show

Navigate to and display areas, projects, tags, todos, or built-in lists like inbox or today in Things 3 task management.

Instructions

导航到并显示区域、项目、标签、待办事项或内置列表。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoID或内置列表名(inbox, today, anytime, upcoming, someday, logbook等)
queryNo查询名称(如果未提供id)
filterNo按标签筛选,逗号分隔

Implementation Reference

  • The handler function for the 'show' tool. It constructs a Things URL using buildThingsUrl('show', args) and opens it via openThingsUrl to navigate and display the specified item or list in Things.
    async handleShow(args) { const url = buildThingsUrl('show', args); await this.openThingsUrl(url); return { content: [ { type: 'text', text: `✅ 导航命令已发送${args.id ? ` (${args.id})` : args.query ? ` (${args.query})` : ''}`, }, ], }; }
  • src/index.js:318-338 (registration)
    Registration of the 'show' tool in the MCP server's tool list, including name, description, and input schema definition.
    { name: 'show', description: '导航到并显示区域、项目、标签、待办事项或内置列表。', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID或内置列表名(inbox, today, anytime, upcoming, someday, logbook等)', }, query: { type: 'string', description: '查询名称(如果未提供id)', }, filter: { type: 'string', description: '按标签筛选,逗号分隔', }, }, }, },
  • Helper function used by the 'show' handler to construct the Things URL scheme for the 'show' command.
    export function buildThingsUrl(command, params = {}) { const baseUrl = `things:///${command}`; const queryString = buildQueryString(params); if (!queryString) { return baseUrl; } return `${baseUrl}?${queryString}`; }

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/Mieluoxxx/things_mcp'

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