# lint_oop_policy

Lint nearest .twincat-validator.json policy keys/types and return normalized policy.

Agent View of the PolicyLayer registry record for `lint_oop_policy`. HTML page: https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/lint-oop-policy

## Facts

- Tool: `lint_oop_policy`
- Server: TwinCAT Validator MCP Server (`agenticcontrolio/twincat-validator-mcp`) — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp.md
- Homepage: https://github.com/agenticcontrolio/twincat-validator-mcp
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

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

## Why lint_oop_policy is rated Low

This is a read-only validation/analysis tool. It inspects configuration files and returns normalized output for inspection purposes. There are no side effects, data modifications, code execution, or destructive operations. The blast radius of misuse is minimal—at worst, the tool returns incorrect policy analysis, which would be caught by subsequent validation steps.

From the tool's own definition: "The tool 'lint_oop_policy' reads and validates a policy configuration file (.twincat-validator.json), returning normalized policy data. Keywords: 'lint', 'return normalized policy' indicate analysis without modification."

## Use case

AI agents call lint_oop_policy to retrieve information from TwinCAT Validator MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches TwinCAT Validator MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "lint_oop_policy": {}
  }
}
```

## Other tools on TwinCAT Validator MCP Server (15)

- `process_twincat_batch` — Execute — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/process-twincat-batch.md
- `verify_determinism_batch` — Execute — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/verify-determinism-batch.md
- `process_twincat_single` — Other — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/process-twincat-single.md
- `check_specific` — Read — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/check-specific.md
- `get_context_pack` — Read — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/get-context-pack.md
- `get_effective_oop_policy` — Read — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/get-effective-oop-policy.md
- `get_validation_summary` — Read — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/get-validation-summary.md
- `suggest_fixes` — Read — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/suggest-fixes.md
- `validate_batch` — Read — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/validate-batch.md
- `validate_file` — Read — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/validate-file.md
- `validate_for_import` — Read — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/validate-for-import.md
- `autofix_batch` — Write — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/autofix-batch.md
- `autofix_file` — Write — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/autofix-file.md
- `extract_methods_to_xml` — Write — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/extract-methods-to-xml.md
- `generate_skeleton` — Write — https://policylayer.com/tools/agenticcontrolio-twincat-validator-mcp/generate-skeleton.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=agenticcontrolio-twincat-validator-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/agenticcontrolio-twincat-validator-mcp
