Model Context Protocol server for formae - provides tools for infrastructure automation, policy management, profile management, and codebase operations
formae-mcp exposes 25 tools with inconsistent quality. Tool names follow verb_noun convention (get_, list_, create_, delete_, set_, prepare_, submit_, attach_, detach_) which is good. Many tools lack visible input schemas in the provided code excerpt, only 6 of 25 tools show explicit schema definitions (check_health, list_resources, list_stacks, list_policies, list_generators, list_targets, list_profiles, current_profile, read_profile, use_profile, save_profile, create_profile, delete_profile, diff_profiles, write_profile, create_standalone_policy, attach_standalone_policy, detach_standalone_policy, delete_standalone_policy). The policy standalone tools show detailed validation logic and error handling in policy_standalone_tools.go, but the core server.go file is truncated and does not reveal complete schemas for tools 1 - 6 and others. Parameter descriptions are present for the visible tools (e.g., create_standalone_policy with label, policy_type, ttl_seconds, etc.) but sparse for profile and basic read tools. Error handling is adequate for policy tools (validateStandalonePolicyFields, guardStandalonePolicy) but unclear for others. Output schemas are not documented in the excerpt. Schema structure for tools 1 - 14 cannot be verified from the code provided.
Attach a standalone policy to a stack
Check health and reachability of the formae agent
Create a new profile
Create a new standalone policy for infrastructure automation
Get the currently active profile
Delete a profile
Delete a standalone policy
15 tools (set_drift_preference, prepare_bug_report, submit_bug_report, get_codebase_context, list_codebases, register_codebase, list_stacks, list_policies, list_generators, list_targets, list_profiles) have descriptions under 20 characters or are missing entirely, violating the tool-description pattern.
Tools 1 - 6 (set_drift_preference through register_codebase) and tools 9 - 13 have no visible input schemas in the provided code excerpt (internal/server/server.go is truncated). Cannot verify schema compliance.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 50 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 38 | - | v1 |
Detach a standalone policy from a stack
Compare differences between two profiles
Retrieve context about the current codebase
List all registered codebases
List all secret generators configured in formae
List all policies configured in formae
List all available profiles
List infrastructure resources managed by formae
List all infrastructure stacks
List all deployment targets
Prepare a bug report for submission
Read the contents of a specific profile
Register a new codebase
Save current profile state
Configure drift preference settings
Submit a prepared bug report
Switch to an active profile
Write content to a profile file
Output schemas are not documented for any tool. Tool descriptions do not state what fields or structure the tool returns. LLMs cannot plan chaining or extract data without knowing return schema. Violates response-shaper and tool-chain patterns.
Many list_* tools (list_resources, list_stacks, list_policies, list_generators, list_targets, list_profiles) do not show pagination parameters (limit, offset, cursor, page). Large result sets could blow context windows. Violates paginated-result pattern.
Destructive tools (delete_profile, delete_standalone_policy) do not show confirmation or dry-run logic in visible code. No evidence of confirmation-request pattern to prevent accidental deletion.
Error handling is evident in policy_standalone_tools.go (validateStandalonePolicyFields, guardStandalonePolicy, errorResult) but not shown for other tools. Inconsistent error guidance, no evidence that all tools return actionable error messages with next-step guidance as required by recovery-guide pattern.
Policy-related tools show detailed descriptions and enum constraints (policy_type: 'ttl' or 'auto_reconcile', on_dependents: 'abort' or 'cascade') but other tools do not document enum constraints or value restrictions. Inconsistent constraint documentation across the server.