Deterministic local service topology for AI agents. Maps declared ports, runtime listeners, and env references into .portmap.json. Zero LLM.
portmap has 4 tools with clear, action-oriented names (portmap_scan, portmap_graph, portmap_resolve_url, portmap_findings) and reasonable descriptions (80 - 150 chars). All tools have input schemas with type definitions and parameter descriptions. However, output schemas are NOT documented, responses are JSON strings without declared field structures. Parameter descriptions are minimal (10 - 30 chars) and lack format/constraint details. No error handling guidance; tools return JSON but do not explain recovery paths. All tools are READ_ONLY, which is good for safety, but the server lacks pagination, result limits, and structured output documentation that production tools require.
List portmap findings (PRT-*) optionally filtered by severity
Return slim service graph: services, edges, and env references
Resolve an env key to its localhost URL and report if broken
Run a full portmap scan (static configs + OS listeners) and return .portmap.json report
Output schemas not documented. Tools return JSON strings but do not declare field structures, types, or required fields. LLMs cannot plan downstream calls or extract data reliably.
Parameter descriptions are too brief (10 - 30 chars). 'optional project path' lacks format, default behavior, or resolution rules. Descriptions should be 50 - 150 chars and explain WHAT, WHEN, and HOW.
No error handling guidance. Tools return JSON but do not explain what to do if a scan fails, a path is invalid, or an env key is not found. Error responses should guide recovery.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2026-07-28+ | v2 |
No result limits or pagination. portmap_findings could return hundreds of findings without pagination. Large results blow context windows. Implement limit/offset and document in descriptions.
STDIO transport only. Server is not remotely accessible and cannot be used by hosted MCP clients. Requires local stdio connection, limiting deployment flexibility.