Skip to main content
Glama

test_bridge

Run tests, discover available test cases, and receive suggestions for tests to run after code changes, with enriched failure context.

Instructions

Run tests, parse output, enrich failures with context. actions: run/suggest/discover. Find tests? find_tests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoFor action=suggest/discover: source file path relative to workspace_dir
scopeNoTest scope: 'tests/', 'tests/test_a.py', 'tests/test_a.py::test_x', '.'
actionYesrun: execute tests; suggest: recommend tests after changes; discover: find available tests
symbolNoFor action=suggest: narrow to a specific symbol
timeoutNoTest execution timeout in seconds (default: 60)
frameworkNoOverride: pytest/jest/vitest/go_test/cargo_test/maven/gradle
workspace_dirYesREQUIRED: project root (abs). reindex first if new.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wulun811/LiuHe'

If you have feedback or need assistance with the MCP directory API, please join our Discord server