get_car_context
Retrieve configuration, build status, and modification details for a 1994 BMW E36 325is Spec3 race car to support personalized advice, troubleshooting, or modification planning.
Instructions
Get information about the user's 1994 BMW E36 325is Spec3 race car build.
Returns current configuration, build status, modifications, and car-specific details. Call this tool when providing personalized advice, troubleshooting, or planning modifications.
Returns: dict: Car configuration, history, and current state
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/spec3_mcp_server/server.py:70-88 (handler)The handler function decorated with @mcp.tool(), including docstring schema, logging, and return of car context data.@mcp.tool() async def get_car_context() -> dict[str, Any]: """ Get information about the user's 1994 BMW E36 325is Spec3 race car build. Returns current configuration, build status, modifications, and car-specific details. Call this tool when providing personalized advice, troubleshooting, or planning modifications. Returns: dict: Car configuration, history, and current state """ logger.info("get_car_context called") return { "context": CAR_CONTEXT, "last_updated": "2025-10-05" }
- src/spec3_mcp_server/server.py:27-33 (helper)Constant string containing the car-specific context data referenced and returned by the get_car_context tool.CAR_CONTEXT = """ # My Spec3 E36 Build ## Vehicle Information - Year/Model: 1994 BMW E36 325is - Build Status: [In-progress] """
- src/spec3_mcp_server/server.py:72-81 (schema)Docstring providing the tool description and return type schema used by FastMCP for tool registration.""" Get information about the user's 1994 BMW E36 325is Spec3 race car build. Returns current configuration, build status, modifications, and car-specific details. Call this tool when providing personalized advice, troubleshooting, or planning modifications. Returns: dict: Car configuration, history, and current state """
- src/spec3_mcp_server/server.py:70-70 (registration)@mcp.tool() decorator that registers the get_car_context function as an MCP tool.@mcp.tool()