TypeScript SDK for defining, running, and evaluating AI agents with first-class MCP support and pluggable storage
This server exhibits fundamental gaps in tool definition quality. While 7 of 8 tools have schemas and descriptions, the descriptions are often generic and lack depth. Most critically, tool #8 (invoke_<agentId>) is inferred rather than explicitly defined in source, capping it at 50. Naming is inconsistent: 'invoke_<agentId>' is a metaprogrammatic placeholder rather than concrete verb_noun. Parameter descriptions are sparse or absent in several tools. Output schemas are undocumented throughout. Error handling guidance is minimal. The server implements basic tool chaining but lacks the LLM-optimized descriptions, comprehensive parameter validation, and recovery guidance that production tools require.
Get the current weather for a city
Generate a personalized workout for the user
Invoke an agent and receive its response. Each registered agent becomes a callable tool with name invoke_{agentId}
Log a completed workout for the user
Search the knowledge base for relevant information
Search for restaurants near a location
Update the user's fitness profile (goals, preferences, injuries, etc.)
Tool #8 (invoke_<agentId>) is inferred from code rather than explicitly defined. Tool name is a metaprogrammatic placeholder, not a concrete verb_noun pattern. Cannot verify actual registration mechanism in source.
update_fitness accepts an untyped 'updates' object with only a generic description 'Key-value pairs to update'. No enum constraints, no parameter validation rules, no guidance on which keys are mutable. LLM cannot determine valid inputs.
Output schemas are undocumented for all 8 tools. Tools return results but LLMs have no formal specification of response structure, field types, or pagination. Forces LLMs to infer schema from examples.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 54 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 41 | - | v1 |
Search the web for information
web_search has minimal description ('Search the web for information'). Does not explain when to use this vs search_knowledge. No guidance on expected response format, rate limits, or result structure. Baseline: descriptions should be 50-200 chars; this is ~38 chars and lacks depth.
search_restaurants omits description of 'cuisine' and 'priceRange' parameter meanings. 'priceRange' enum includes '$','$$','$$$','$$$$' but description does not explain the scale or default behavior if omitted.
Error handling and recovery guidance absent across all tools. No tool specifies what errors are retryable, what user-fixable errors look like, or what the agent should do on failure. No dry-run or confirmation patterns for destructive ops (e.g., log_workout, update_fitness).
invoke_<agentId> accepts optional 'sessionId' parameter but does not document session semantics, lifetime, or when to reuse vs create new sessions. Undocumented dependencies force LLM guessing.
log_workout's 'exercises' array has nested properties (name, sets, reps, weight, duration) but the description for each nested property is missing or minimal. 'reps', 'sets', 'weight' lack units or ranges (e.g., 'reps: positive integer, typically 1 - 100').
get_workout's 'duration' parameter lacks units or range. Is it in minutes, seconds, or hours? Can it be 0? Over 1000? No validation rules stated.