Rust AI Agent runtime framework: orchestration, sessions, streaming built-in. You define tools, prompts, domain knowledge.
Four tools with basic schemas and descriptions, but significant gaps in parameter documentation and error handling. Calculator and system_info have minimal descriptions (under 50 chars). The 'run' tool lacks parameter constraints and error guidance. No tool includes output schema documentation, error recovery hints, or actionable error messages. Parameter descriptions are sparse: 'expression' in calculator is adequate, but 'prompt' in run is vague. No tool declares permissions, security boundaries, or idempotency guarantees. Schemas are present but incomplete, missing type constraints, ranges, and validation rules.
Evaluate a simple arithmetic expression
Read an environment variable value
Run a task through the phi-agent MCP server for external orchestrators
Get current system information (OS, time, working directory)
Missing output schema documentation. No tool documents what fields or structure it returns, forcing LLMs to infer output shape and risking downstream tool chaining failures.
'run' tool description is vague ('Run a task through the phi-agent MCP server for external orchestrators'). Does not explain what 'task' means, what the agent does with the prompt, or what output to expect. LLMs cannot determine when to use this vs. other tools.
No error handling guidance. Tools do not document failure modes, recovery steps, or actionable error messages. If 'env_var' fails to find a variable, the LLM has no hint to try a different name or check availability.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | <=2025-11-25 | v2 |
'system_info' has no parameters but description is generic ('Get current system information'). Does not explain what fields are returned (OS, time, working directory) or when to call it. Baseline: 194 chars avg; this is ~40 chars.
No security declarations. Tools that read environment variables and system info do not declare permissions (read:env, read:system) or document what sensitive data they expose. No audit trail guidance.