Skip to main content
Glama

lumoz_audit_agent_config

AI coding-agent security audit: scan .mcp.json, claude_desktop_config.json, CLAUDE.md, .cursorrules, .windsurfrules, AGENTS.md, or SKILL.md for hidden Unicode/BiDi prompt injection, planted exfiltration directives, hardcoded API keys/tokens, unpinned npx runners, raw shell wrappers, and insecure HTTP MCP URLs.

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": "lumoz_audit_agent_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoOptional list of {filename, content} objects to audit multiple agent config files in one call.
contentNoRaw contents of the single file to audit.
filenameNoSingle file name (e.g. ".mcp.json", "CLAUDE.md", ".cursorrules") when auditing one file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 add real behavioral value by disclosing the audit dimensions (Unicode/BiDi injection, exfiltration directives, hardcoded keys, unpinned npx, raw shell wrappers, insecure HTTP URLs), but it never states that the operation is read-only, whether file contents leave the local environment, or what the findings look like.

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?

A single front-loaded sentence that leads with the action and then lists targets and detection categories; the enumeration is long but each item specifies real audit scope rather than padding. No filler or restated title.

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

Completeness3/5

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

With no annotations and no output schema, the agent still lacks two things it would want: confirmation this is a safe read-only scan and some sense of the result shape (findings list vs. pass/fail). The scan surface itself is thoroughly covered, so the gap is moderate rather than severe.

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% and each of the three optional parameters (filename, content, files) is documented in the schema with examples. The description adds no clarification about the single-file vs. batch-files relationship or that all parameters are optional, so it does not improve on the schema.

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?

States a specific verb+resource ('security audit: scan ... agent config files') and enumerates concrete targets (.mcp.json, CLAUDE.md, .cursorrules) plus the exact classes of issues detected. This makes it clearly distinguishable in practice from lumoz_check_site_security and lumoz_check_package_trust, but it never names or contrasts a sibling explicitly.

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?

Usage is only implied by the enumerated file types and issue categories — an agent can infer 'use this to vet agent config files before install.' There is no statement of when to prefer it over lumoz_check_site_security / lumoz_check_package_trust, no prerequisite or scope exclusions, and no note about when a clean result is expected.

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