Skip to content

Commit 564d6c4

Browse files
committed
better depscore tool description
1 parent 7f518c4 commit 564d6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const server = new McpServer({
3434
tools: {},
3535
},
3636
});
37-
server.tool("depscore", "Get the dependency score of a package with the `depscore` tool from Socket. Use 'unknown' for version if not known. Use this tool to scan dependencies for their quality and security on existing code or when code is generated. Stop generating code and ask the user how to proceed when any of the scores are low.", {
37+
server.tool("depscore", "Get the dependency score of a package with the `depscore` tool from Socket. Use 'unknown' for version if not known. Use this tool to scan dependencies for their quality and security on existing code or when code is generated. Stop generating code and ask the user how to proceed when any of the scores are low. When checking dependencies, make sure to also check the imports in the code, not just the manifest files (pyproject.toml, package.json, etc).", {
3838
ecosystem: z.string().describe("The package ecosystem (e.g., npm, pypi)").default("npm"),
3939
depname: z.string().describe("The name of the dependency"),
4040
version: z.string().describe("The version of the dependency, use 'unknown' if not known").default("unknown"),

0 commit comments

Comments
 (0)