Turn a web app's interaction surface into a typed, traversable journey graph an LLM can plan over — the frontend sibling of footprintjs.
The hcifootprint MCP server exposes three tools with minimal descriptions and incomplete parameter schemas. While tool naming follows a pattern (whats_here, do_action, why), the implementations lack comprehensive documentation required for LLM agent planning. Tool descriptions are present but generic (10 - 40 chars, below the 50-200 char baseline for LLM optimization). Parameter schemas are visible but sparse: do_action has three parameters with basic type info but no enum constraints on 'edge', no format specifications; why has a single string parameter with minimal context. Output schemas are not documented anywhere in the provided source. Error handling guidance is absent, tools do not indicate what failures look like, what recovery steps apply, or how to disambiguate failures. The server is a library primarily designed for web frontend integration (React demos), not as a standalone agent tool provider, which explains the minimal MCP documentation. Security checks are minimal: no rate limits, no audit trail definitions, no permission gates visible. Composition is reasonable (three orthogonal concerns: discovery, action, causality tracing), but the tool interface requires agent-side knowledge of journey graph structure (edges, state keys) rather than abstracting web affordances into natural language operations.
Execute an action on the current page with optional arguments
List available actions at the current location in the journey graph
Get backward slice explanation of how a state value came to be
Parameter descriptions missing or minimal. 'edge' parameter in do_action has no enum or format specification; 'confirm' flag has no guidance on when it applies (which actions require confirmation?); 'args' is vaguely documented as 'Arguments required by the action' but does not clarify structure, type, or how LLM determines correct arguments.
Tool descriptions are too short (10 - 40 characters). Baseline for LLM-optimized descriptions is 50 - 200 chars. whats_here: 'List available actions at the current location in the journey graph' (64 chars), adequate but minimal context on WHEN to call vs other tools. do_action: 'Execute an action on the current page with optional arguments' (60 chars), does not clarify side effects, idempotency, or error modes. why: 'Get backward slice explanation of how a state value came to be' (63 chars), does not explain preconditions or what 'backward slice' means to an unfamiliar LLM.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 38 | 2026-07-28+ | v2 |
Output schemas are not documented. None of the three tools declare what they return. An LLM cannot plan downstream calls without knowing response structure. E.g., whats_here must return a list of actions with edge IDs, but this is inferred, not documented. do_action's return value and error structure are unknown. why's response format (is it a tree? a list? structured trace?) is undocumented.
No error handling guidance. Tools do not specify what errors can occur (e.g., invalid edge ID, action preconditions unmet), whether errors are retryable, or what recovery steps apply. A raw error or exception from do_action leaves the LLM with no way to self-correct or ask the user.
do_action mixes configuration-level concerns (confirm flag for high-effect actions) with runtime parameters (args). The confirm pattern suggests this tool mutates state in ways that require approval, but the description does not clarify when confirm is mandatory, what 'high-effect' means, or what happens if confirm=false on a high-effect action.
Tool interface leaks internal graph structure (edge IDs, state keys, backward slices). LLMs must understand 'journey graph', 'edges', 'state keys', and 'backward slice' concepts, domain-specific jargon that is not abstracted into natural language operations like 'Go to checkout' or 'Explain why the form is disabled'. This increases cognitive load on the agent and makes the tool less portable.
Parameter 'args' in do_action has type 'object' with no schema for its contents. This is under-specified: the LLM cannot know which keys args accepts, their types, whether they are required, or how to populate them without inspecting whats_here responses or trial-and-error. A proper schema would be a discriminated union based on action type.
No documented pagination or result limits. whats_here presumably returns a list of available actions. If a page has 100+ affordances, does it return all? Is there pagination? Result limits? Without bounds, an LLM could request a very large action list and exhaust the context window.