Skip to main content
Glama

Codacy MCP Server

Official
by codacy
getPatternTool.ts837 B
import { CodacyTool, toolNames } from '../schemas.js'; const rules = ` Common use cases: - When the user asks for the definition of a specific pattern - When the user asks for more information about an issue found by Codacy Common mistakes: - Using this tool with the wrong toolUuid - Using this tool with the wrong patternId `; export const getPatternTool: CodacyTool = { name: toolNames.CODACY_GET_PATTERN, description: `Get the definition of a specific pattern. \n ${rules}`, inputSchema: { type: 'object', properties: { toolUuid: { type: 'string', description: 'The identifier of the tool that the pattern belongs to.', }, patternId: { type: 'string', description: 'Pattern identifier', }, }, required: ['toolUuid', 'patternId'], }, };

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/codacy/codacy-mcp-server'

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