Skip to main content
Glama
lyw405

Code Intelligence MCP

by lyw405

suggest_utilities

Analyzes your coding requirement and recommends ready-to-use utility methods from a private library, eliminating need to build common functions from scratch.

Instructions

USE WHEN: 用户想要实现某些逻辑功能、数据处理、格式转换、工具函数等时。分析用户的逻辑需求,从工具方法库中智能推荐可以直接复用的方法,避免重复开发。自动触发场景:"实现数据格式化"、"需要加密功能"、"时间处理"、"IP校验"、"数据转换"等所有逻辑开发任务。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes用户的逻辑需求描述,例如"需要格式化数字显示千分位"、"实现密码加密"、"转换时间戳为日期"
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It explains that the tool analyzes the prompt and recommends directly reusable methods, which is a safe, read-only operation implied. However, it does not disclose details such as the number of recommendations, what happens when no match is found, or any limitations. This is adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single block with a clear 'USE WHEN' header and a list of trigger phrases. It is not excessively long and front-loads the key usage context. The repetition of examples is somewhat redundant but does not harm clarity, so it earns a 4.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with one parameter and no output schema, the description provides sufficient context: it explains the purpose, usage, and trigger scenarios. It does not describe the return format or fallback behavior, but these are less critical given the simplicity of the tool. Overall, it is complete enough for an agent to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, and the parameter 'prompt' is well described with examples. The tool description itself does not add significant semantic value beyond what the schema already provides; it repeats similar examples. Thus, the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: analyzing user logic requirements and recommending reusable methods from a utility library. It uses specific verbs like '推荐' and mentions resource ('工具方法库'), and provides multiple trigger examples. However, it doesn't explicitly distinguish itself from sibling tools like 'suggest_components' or 'query_utility', so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit 'USE WHEN' guidance with concrete trigger scenarios (e.g., '实现数据格式化', '需要加密功能') and states it covers '所有逻辑开发任务'. This gives clear context for when to use the tool. It lacks explicit exclusions or alternatives, so it doesn't reach a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/lyw405/code-intelligence-mcp'

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