Skip to content

Commit ddb2128

Browse files
committed
WIP
1 parent 64f376a commit ddb2128

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/aignostics/mcp/skills/visualize-readouts/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: |
1212
- Requests cell type distribution or cell class breakdown visually
1313
- Wants to compare categories visually (e.g., "compare cell types")
1414
- Asks for distribution plots of numeric features (area, size, etc.)
15-
- Uses words like: scatter, plot, chart, graph, visualize, display, show me, map
15+
- Uses words like: distribution, scatter, plot, chart, graph, visualize, display, show me, map
1616
1717
CRITICAL: Check the schema FIRST to discover exact column names. Do NOT guess.
1818
---

tests/aignostics/utils/mcp_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def plugin2_tool() -> str:
8787
assert isinstance(server, FastMCP)
8888
assert server.name == MCP_SERVER_NAME
8989
# Verify exactly 2 tools from both plugins are mounted with namespacing
90-
tools = asyncio.run(server.get_tools())
91-
tool_names = list(tools.keys())
90+
tools = asyncio.run(server.list_tools())
91+
tool_names = [tool.name for tool in tools]
9292
assert len(tool_names) == 2
9393
# Verify namespacing: tools should be prefixed with server name
9494
plugin1_tools = [n for n in tool_names if "plugin1" in n]
@@ -127,8 +127,8 @@ def unique_tool() -> str:
127127
# Verify warning was logged for duplicate
128128
assert "Duplicate MCP server name 'duplicate_name'" in caplog.text
129129
# Verify only first duplicate and unique server were mounted (2 servers, not 3)
130-
tools = asyncio.run(server.get_tools())
131-
tool_names = list(tools.keys())
130+
tools = asyncio.run(server.list_tools())
131+
tool_names = [tool.name for tool in tools]
132132
assert len(tool_names) == 2
133133
# dup1_tool should be present (first occurrence)
134134
assert any("dup1_tool" in name for name in tool_names)

0 commit comments

Comments
 (0)