codegraph-summary
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| summary_searchA | 【首选工具】搜索代码时必须首先调用此工具。输入中文业务术语或需求描述(如"清退转正常"、"交易溯源"、"订单状态机"),直接返回对应的函数/组件名称、文件路径和中文功能说明。比 grep 和 codegraph_explore 更快更准,因为它基于预生成的中文语义索引,一次调用即可定位目标代码,无需逐文件搜索。 |
| summary_generateA | 为当前项目的导出符号生成或更新中文摘要。首次运行全量生成,后续运行增量更新。需要 LLM API 配置(SUMMARY_LLM_API_KEY 等环境变量)。 |
| summary_statusA | 查看当前项目的摘要生成状态:覆盖率、PRD 关联情况。 |
| prd_importC | 导入 PRD/需求文档,按章节切分后与代码符号建立关联。支持 markdown 格式。需要向量库配置。 |
| prd_searchA | 【需求定位代码】当问题涉及"需求实现"、"功能在哪"、"这个需求怎么做的"时,必须调用此工具。输入需求描述文字,直接返回实现该需求的函数/组件及文件路径,基于 PRD 文档与代码的预关联索引。 |
| prd_coverageC | 分析 PRD 需求的代码覆盖率,找出没有对应实现的需求片段(离散节点)。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a distinct purpose: generating summaries, importing PRDs, searching via PRD or summaries, analyzing coverage, and checking status. No overlap.
Tool names follow a clear domain_action pattern: 'summary_generate', 'prd_import', 'prd_search', etc. Consistent prefixing and verb usage.
6 tools is well-scoped for the server's purpose of code summary and PRD management. Not excessive or insufficient.
Covers core workflows: generation, import, search, coverage, status. Minor gap: no explicit tool for deleting or updating individual summaries, but incremental generation works around.