Example MCP Server integrated with Resonate to provide asynchronous tool calling capabilities.
The server provides 3 tools for async weather data gathering with proper HTTP transport. Tool names follow verb-noun convention (start_gathering, probe_status, await_result), which is good. However, descriptions are minimal and lack critical context about when to use each tool, what makes them different, and dependencies between them. Input schemas are present with typed parameters and basic descriptions, but parameter descriptions are sparse (1-2 words) and lack constraints. Output schemas are not documented. Error handling is minimal, the probe_status tool has a JSON parsing error handler, but await_result does not. The tools form a logical async pattern (start → poll/await), but this relationship is not made explicit in descriptions.
Wait for the result of a weather data gathering jobs by their names. Args: job_names [(str), ...]: The names of the jobs. Returns: dict: A dictionary containing the results of the jobs.
Probe for the status of a data gathering jobs. Args: job_names [(str), ...]: The names of the jobs. Returns: statuses [(dict), ...]: An array of dictionaries containing the status of the jobs, either "running" or "complete".
Start a weather data gathering job. Args: latitude (float): The latitude of the location. longitude (float): The longitude of the location. year (int): The year for which to gather data. month (int): The month for which to gather data. Returns: dict: A dictionary containing the name of the job. This can be used to probe the status of the job or await its result.
Tool descriptions lack critical context about async dependencies and workflow order. LLM cannot infer that start_gathering must be called before probe_status or await_result.
Parameter descriptions are under 20 characters and lack actionable detail. Example: 'The latitude of the location.' does not specify valid range (-90 to 90), units, or format. Example: 'The names of the jobs.' does not explain the structure (array of strings vs array of objects).
Output schemas are not documented. LLM cannot plan downstream calls or know what fields to expect. start_gathering returns {job_name}, probe_status returns array of {job_name, status}, await_result returns {job_name: result}, but these are not formally declared.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 14 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 46 | - | v1 |
probe_status and await_result accept job_names as array but have inconsistent handling: probe_status attempts JSON parsing for string input, await_result does the same, but neither tool description documents this flexibility. LLM cannot determine if to pass array or string.
Error handling is incomplete. await_result calls handle.result() without try-catch; if a job failed, this will throw an unhandled exception rather than returning a clear error message the LLM can understand and act on.
start_gathering accepts timezone with default 'America/Edmonton', but ignores the parameter and hardcodes timezone='America/Edmonton' inside the weather_data function. Parameter is accepted but silently overridden.