A policy-aware NVIDIA NIM engineering preflight layer for AI coding agents
PolicyNIM defines 3 tools with basic schemas and descriptions. All tools have input schemas with typed parameters and descriptions, meeting minimum requirements. However, descriptions are generic and lack LLM-optimized guidance on WHEN to use each tool vs alternatives. Output schemas are not documented. Error handling is minimal, no recovery guidance or actionable error messages. Tool naming follows verb_noun convention (policy_preflight, policy_search, list_tools) but lacks clarity on distinctions. The 'list_tools' tool is a meta-tool that duplicates MCP's native capabilities, adding no value. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite all being read-only operations.
Verify MCP tool availability and confirm policy_preflight and policy_search are available
Retrieve policy evidence and produce grounded implementation guidance before code edits
Raw policy search to retrieve policy evidence and underlying source text for review comments, failing gates, or unclear constraints
Output schemas not documented. LLMs cannot plan downstream calls or extract required fields from policy_preflight and policy_search responses.
Descriptions lack LLM-optimized guidance. 'Retrieve policy evidence and produce grounded implementation guidance' does not explain WHEN to call policy_preflight vs policy_search, or what each returns. Descriptions should be 50-200 chars with clear intent.
list_tools is a meta-tool that duplicates MCP's native ListTools capability. It adds no value and wastes agent reasoning cycles. Remove it.
No tool annotations despite all tools being read-only. Add readOnlyHint=true to enable agent optimization and prevent accidental misuse.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
No error handling guidance. If policy_search fails (e.g., index missing, API timeout), responses do not tell the LLM what to do next or how to recover.