Skip to content

Commit d45f591

Browse files
committed
refactor: stratify search tools again
1 parent c9908c9 commit d45f591

File tree

10 files changed

+2113
-1748
lines changed

10 files changed

+2113
-1748
lines changed

mcp-server-galaxy-py/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,11 @@ The Python implementation provides the following MCP tools:
103103
- `run_tool`: Execute a Galaxy tool with parameters
104104
- `filter_tools_by_dataset`: Recommend tools based on dataset characteristics
105105
- `get_user`: Get current user information
106-
- `get_histories`: List available Galaxy histories
107-
- `list_history_ids`: Get simplified list of history IDs and names
106+
- `get_histories`: List available Galaxy histories (use `ids_only=True` for a simplified list)
108107
- `get_history_details`: Get detailed information about a specific history
109108
- `upload_file`: Upload local files to Galaxy
110109
- `get_invocations`: View workflow executions
111-
- `get_iwc_workflows`: Access Interactive Workflow Composer workflows
112-
- `search_iwc_workflows`: Search IWC workflows by keywords
110+
- `iwc_workflows`: Access or search Interactive Workflow Composer workflows
113111
- `import_workflow_from_iwc`: Import an IWC workflow to Galaxy
114112

115113
## Testing

mcp-server-galaxy-py/USAGE_EXAMPLES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ histories = get_histories()
2727
#### Get just IDs and names (simplified)
2828

2929
```python
30-
history_list = list_history_ids()
30+
history_list = get_histories(ids_only=True)["histories"]
3131
# Returns: [{"id": "abc123", "name": "My Analysis"}, ...]
3232
```
3333

@@ -112,10 +112,10 @@ upload_result = upload_file("/path/to/your/file.txt", history_id="abc123")
112112

113113
```python
114114
# Get all workflows from Interactive Workflow Composer
115-
iwc_workflows = get_iwc_workflows()
115+
iwc_catalogue = iwc_workflows()
116116

117117
# Search for specific workflows
118-
matching_workflows = search_iwc_workflows("RNA-seq")
118+
matching_workflows = iwc_workflows(term="RNA-seq")
119119
```
120120

121121
#### Import a workflow

0 commit comments

Comments
 (0)