yotambraun/Toolscore - LLM Agent Evaluation

Catch LLM agent regressions before deployment. Test tool-calling accuracy for OpenAI, Anthropic, Gemini with pytest-like simplicity.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
gold-filePath to gold standard JSON file containing expected tool callsyes
trace-filePath to agent trace JSON file to evaluateyes
formatTrace format (auto, openai, anthropic, gemini, langchain, custom)noauto
thresholdMinimum accuracy threshold (0.0-1.0). Fails if selection_accuracy or invocation_accuracy falls below this.no0.9
baseline-filePath to baseline JSON for regression testing. If provided, runs regression check instead of threshold check.no""
regression-thresholdMaximum allowed regression as decimal (e.g., 0.05 = 5%). Only used with baseline-file.no0.05
fail-on-regressionFail the action if accuracy drops below threshold or regression is detectednotrue
generate-reportGenerate HTML report artifactnotrue
python-versionPython version to useno3.11
mcp-commandMCP server command to test (e.g. "uvx my-mcp-server"). When set, the action runs `toolscore mcp test <command>` instead of the eval/regression path.no""
mcp-fail-underMinimum MCP scorecard grade (A-F or 0.0-1.0). Only used with mcp-command.noB
namedescription
selection-accuracyTool selection accuracy score (0.0-1.0)
invocation-accuracyTool invocation accuracy score (0.0-1.0)
argument-f1Argument match F1 score (0.0-1.0)
passedWhether all thresholds were met (true/false)
regression-detectedWhether a regression was detected (true/false). Only set when using baseline-file.