Skip to main content
Glama

get_version

Retrieve version information for the Things 3 task management application and its URL scheme integration to verify compatibility and available features.

Instructions

获取Things应用和URL Scheme的版本信息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get_version' tool. It constructs a Things URL for the 'version' command using buildThingsUrl, opens it with openThingsUrl, and returns a success text message.
    async handleGetVersion() { const url = buildThingsUrl('version', {}); await this.openThingsUrl(url); return { content: [ { type: 'text', text: '✅ 版本信息命令已发送。请查看Things应用获取版本信息。', }, ], }; }
  • src/index.js:352-359 (registration)
    Registration of the 'get_version' tool in the ListToolsRequestSchema handler, including its name, description, and empty input schema (no parameters required).
    { name: 'get_version', description: '获取Things应用和URL Scheme的版本信息。', inputSchema: { type: 'object', properties: {}, }, },
  • src/index.js:443-444 (registration)
    Tool dispatch registration in the CallToolRequestSchema handler's switch statement, routing 'get_version' calls to the handleGetVersion method.
    case 'get_version': return await this.handleGetVersion();
  • Input schema definition for 'get_version' tool: an empty object, indicating no input parameters are required.
    inputSchema: { type: 'object', properties: {},
  • Helper function used by the get_version handler to build the Things URL scheme: 'things:///version' with no parameters.
    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