pytest --inline-snapshot=fix,create to fill in the snapshot() with actual data.
For values that change you can leverage the dirty-equals library to perform flexible equality assertions on dynamic or non-deterministic values.
parametrize decorator, you can easily test your tools with a wide variety of inputs.
The FastMCP Repository contains thousands of tests for the FastMCP Client and Server. Everything from connecting to remote MCP servers, to testing tools, resources, and prompts is covered, take a look for inspiration!

