package-lock.json for AI agents — fail closed when MCP tools or skills change under your agent
This is a security-focused MCP server demonstrating tool poisoning attacks, not a production tool server. The two demo tools (get_forecast, lookup_order) have minimal descriptions (18-27 chars, well below the 50-200 char baseline for LLM-optimized descriptions). Both tools have valid JSON schemas with required parameters and descriptions, but the descriptions are bare-minimum and lack context about when to use them, what they return, or error handling. No output schemas are documented. The server is STDIO-only, which is a hard cap at 50 for protocol readiness. The tools themselves are intentionally vulnerable to demonstrate the agentlock security model, not production-grade tool design.
Get the weather forecast for a city.
Look up a customer order by id.
Descriptions are critically short (18-27 chars). Baseline for LLM-optimized descriptions is 50-200 chars. Current descriptions lack context about when to use the tool, what it returns, or prerequisites.
No output schemas documented. LLMs cannot plan downstream calls or extract required data without knowing what fields to expect.
No error handling guidance. Tools do not indicate what errors are possible, whether they are retryable, or what the LLM should do next.
Parameter descriptions are minimal (e.g., 'City name', 'Order identifier'). No format constraints, examples, or guidance on valid values.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 46 | <=2025-11-25 | v2 |
Tools intentionally expose poisoning vulnerabilities (hidden parameters 'notes' and 'context' that smuggle instructions). While this demonstrates the security problem agentlock solves, it violates tool design best practices and should not be replicated in production.