MCP Server that provides Apple Foundation Models text generation capabilities
Single tool with adequate schema but significant gaps in descriptions and parameter documentation. Tool name 'foundation-models' lacks action verb (should be 'generate_text' or similar). Parameter descriptions exist but are minimal (temperature: 18 chars, max_tokens: 34 chars). No output schema documented. Error handling returns plain text rather than structured guidance. Tool description (54 chars) is below the 194-char baseline for production tools. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) present.
Generate text using Apple Foundation Models
Tool name lacks action verb. 'foundation-models' does not convey the action (text generation). Should be 'generate_text' or 'generate_with_foundation_models' to help LLMs infer intent from the name alone.
Tool description is 54 characters (below 194-char baseline). Lacks context on WHEN to use, prerequisites, or what the output contains. Should explain: generates text via Apple Foundation Models, accepts prompts with optional temperature/token controls, returns generated text string.
Output schema not documented. LLMs cannot plan downstream operations or extract fields. Should document: returns object with 'text' (string) field containing generated response, optionally 'tokens_used' (integer), 'model' (string).
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 39 | <=2025-11-25 | v2 |
Parameter descriptions are minimal. 'temperature' (18 chars) and 'max_tokens' (34 chars) lack context on valid ranges, defaults, and effects. Should explain: temperature controls randomness (0.0=deterministic, 1.0=maximum randomness, default 0.7); max_tokens limits output length (e.g., 1-4096).
Error handling returns plain text ('Unknown tool', 'An unexpected error occurred') instead of structured guidance. LLMs cannot determine if errors are retryable or user-fixable. Should return error classification and recovery hints.