Skip to main content
Glama

MCPGuard Remote MCP

audit_repo_bundle

Audit a repository bundle of MCP JSON/JSONC configs and AI Agent rules/SKILL.md files into one unified Security Score (0-100), Grade (A-F), SARIF 2.1.0, and PR Markdown report.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "audit_repo_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
sarifNoInclude unified SARIF 2.1.0 JSON.
markdownNoInclude PR-ready Markdown report.
maxTokensNoContext Bloat advisory cap per rules file (default: 4000).
mcpConfigsNoArray of { path, content } MCP config entries (content may be object or JSONC string).
rulesFilesNoArray of { path, content } agent rules/SKILL.md entries.
targetNameNoRepository or bundle label (default: .).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the concrete output set and the four grading artifacts, which is meaningful behavioral context, but it never states that the operation is read-only/non-destructive, nor anything about performance or limits for large bundles. For a zero-annotation tool this leaves a notable gap.

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

Conciseness5/5

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

A single dense sentence with the scope first and the deliverable list second; every clause maps to a real input or output. No filler or redundancy.

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 six-parameter, all-optional tool with no output schema, the description names the four return artifacts, which covers the essential return-value question. It stops short of describing the report structure or how scores are composed, but nothing needed merely to call it correctly is missing.

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?

Schema description coverage is 100%, so every parameter (sarif, markdown, maxTokens, mcpConfigs, rulesFiles, targetName) is already documented in the schema. The description only echoes the SARIF and Markdown outputs and adds no syntax, defaults, or shape guidance beyond what the schema says. Baseline 3 applies.

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?

Uses a specific verb ('Audit') on a specific resource ('repository bundle of MCP JSON/JSONC configs and AI Agent rules/SKILL.md files') and enumerates the artifacts produced (Security Score, Grade, SARIF, Markdown). The word 'bundle' implicitly distinguishes it from single-artifact siblings like audit_mcp_config and audit_rules_file, though it never says so outright.

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

Usage Guidelines3/5

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

The scope word 'bundle' hints that this is for whole repositories rather than individual files, which is the right usage cue. However, there is no explicit 'use this when...' clause and no reference to the single-file audit siblings, so the agent must infer the selection boundary.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources