Skip to main content
Glama

CircleCI MCP Server

by ampcome-mcps

analyze_diff

Analyze git diff content against IDE rules to identify rule violations, with options to focus on violations, compliants, or human review required. Supports staged, unstaged, or all changes for targeted analysis.

Instructions

This tool is used to analyze a git diff (unstaged, staged, or all changes) against IDE rules to identify rule violations. By default, the tool will use the staged changes, unless the user explicitly asks for unstaged or all changes.

Parameters:

  • params: An object containing:
    • speedMode: boolean - A mode that can be enabled to speed up the analysis. Default value is false.
    • filterBy: enum - "Violations" | "Compliants" | "Human Review Required" | "None" - A filter that can be applied to set the focus of the analysis. Default is None.
    • diff: string - A git diff string.
    • rules: string - Rules to use for analysis, found in the rules subdirectory of the IDE workspace settings. Combine all rules from multiple files by separating them with ---

Returns:

  • A list of rule violations found in the git diff.

Input Schema

NameRequiredDescriptionDefault
paramsNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "params": { "additionalProperties": false, "properties": { "diff": { "description": "Git diff content to analyze. Defaults to staged changes, unless the user explicitly asks for unstaged changes or all changes.", "type": "string" }, "filterBy": { "default": "None", "description": "Analysis filter. Defaults to None", "enum": [ "Violations", "Compliants", "Human Review Required", "None" ], "type": "string" }, "rules": { "description": "Rules to use for analysis, found in the rules subdirectory of the IDE workspace settings. Combine all rules from multiple files by separating them with ---", "type": "string" }, "speedMode": { "default": false, "description": "The status of speed mode. Defaults to false.", "type": "boolean" } }, "required": [ "diff", "rules" ], "type": "object" } }, "type": "object" }

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/ampcome-mcps/circleci-mcp'

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