Skip to main content
Glama

get_project_detail

Retrieve detailed information and all tasks for a specific project in Dida365. Use this tool to access project data by providing the project ID.

Instructions

获取指定项目的详细信息及其所有任务。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes项目ID

Implementation Reference

  • The logic for handling 'get_project_detail' tool requests in the 'dispatch_tool' function.
    elif name == "get_project_detail":
        data = client.get_project_with_tasks(args["project_id"])
        project = data.get("project", data)
        tasks = data.get("tasks", [])
    
        lines = ["📁 项目详情:\n"]
        lines.append("   名称: %s" % project.get("name", "未知"))
        lines.append("   ID: %s" % project.get("id", ""))
        lines.append("\n📝 任务列表(%d 个):\n" % len(tasks))
    
        for task in tasks:
            task["_projectId"] = args["project_id"]
            lines.append(format_task(task))
            lines.append("")
    
        if not tasks:
            lines.append("   (空)")
    
        return "\n".join(lines)
  • The tool definition and input schema for 'get_project_detail'.
    {
        "name": "get_project_detail",
        "description": "获取指定项目的详细信息及其所有任务。",
        "inputSchema": {
            "type": "object",
            "properties": {
                "project_id": {"type": "string", "description": "项目ID"}
            },
            "required": ["project_id"],
        },
    },

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/Martinqi826/dida-mcp'

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