docs: guide agents to schema-first Galaxy tool calls#143
Open
dannon wants to merge 1 commit into
Open
Conversation
…ad the kwd error Adds a gotchas section so the brain fetches a tool's parameter schema before galaxy_run_tool and treats the masked 'Required parameter(s) kwd not provided' error as an input-shape mismatch to fix, not a sign the MCP/Galaxy version is incompatible. Pairs with the galaxy-mcp enrich-on-failure change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Short addition to the agent gotchas. Before
galaxy_run_tool, fetch the tool's parameter schema (galaxy_get_tool_details(..., io_details=True), or the newgalaxy_get_tool_input_template) and build inputs to the real parameter names with the right flattened-key notation (section|param,conditional|selector,repeat_0|param). And if a call comes back with an opaque parameter error -- especiallyRequired parameter(s) kwd not provided in request-- treat it as your own input-shape mismatch to fix, not a sign the MCP or the Galaxy version is incompatible.Pairs with the galaxy-mcp change that enriches those errors at the source; this is the brain-side nudge so models do the schema lookup proactively and read the failure correctly.