-
-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Issue
When following the same steps, like mentioned: https://github.com/MCPJam/inspector/blob/main/docs/evals/overview.mdx
with the following test
[
{
"title": "Basic tag search - Claude Haiku 3.5",
"prompt": "Can you list Tag-* tags from my instance? Use a wildcard pattern like TAG* to search.",
"runs": 1,
"model": "claude-3-5-haiku-20241022",
"provider": "anthropic",
"expectedToolCalls": [
"search_tags"
]
}
]
We get:
Error: [
{
"expected": "string",
"code": "invalid_type",
"path": [
0,
"query"
],
"message": "Invalid input: expected string, received undefined"
}
]
When changing prompt to query the error is gone.
It makes me wonder, if we are using an outdated CLI or is the online documentation incorrect?
How to reproduce
- Follow the documentation about evals: https://docs.mcpjam.com/evals/overview
- run
npx @mcpjam/cli evals run -e environments/local-dev.json -t tests/01-search-tags-claude-haiku.json -l environments/llms.json - See error
Expected Behavior
Successfully run the tests.
Running tests
Connected to 1 server: Localhost
Found 15 total tools
Running 1 test
Test 1: Basic tag search - Claude Haiku 3.5
Using anthropic:claude-3-5-haiku-20241022
run 1/1
Platform
npx
Additional Context
The documentation on https://www.npmjs.com/package/@mcpjam/cli shows different properties (prompt <> query). There is also no mention of the advancedConfig, selectedServers.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation