Skip to main content
Glama

Codemind

test_component

Run standalone cloud verification on code you already have: give it a component (filePath/exportName/signature) plus acceptance criteria, and it generates a black-box verification test, validates that test against a mechanical stub, then executes your REAL code against it in the cloud (isolate or container, per stack). No code generation happens here — use build_feature for that. Returns a testId immediately; call stream_test to follow progress and get the pass/fail verdict. Call get_usage_guide for detailed usage guidance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe REAL implementation to test. Never shown to the model that generates the verification test.
componentYesMUST match the real code exactly — the generated verification test imports/calls by these exact names.
stackTypeYesRuntime target stack (JavaScript/TypeScript only at launch), e.g. "worker", "typescript", "node", "react".
contextFilesNoOptional ambient read-only files the code under test may import.
acceptanceCriteriaYesWhat the code must do — the verification test is generated from this alone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources