We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ankimcp/anki-mcp-server-addon'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test_tool_discovery.py•811 B
"""Tests for tool listing and discovery."""
from __future__ import annotations
from .helpers import list_tools
class TestToolDiscovery:
"""Tests for tool listing and discovery."""
def test_tools_list_returns_tools(self):
"""Server should return a list of tools."""
tools = list_tools()
assert isinstance(tools, list)
assert len(tools) > 0
def test_list_decks_tool_exists(self):
"""list_decks tool should be registered."""
tools = list_tools()
tool_names = [t["name"] for t in tools]
assert "list_decks" in tool_names
def test_find_notes_tool_exists(self):
"""findNotes tool should be registered."""
tools = list_tools()
tool_names = [t["name"] for t in tools]
assert "findNotes" in tool_names