Skip to main content
Glama

rush_test

Run tests for Python and JS/TS projects at a given path, returning status, findings, and a summary. Supports pytest and Vitest/npm to validate code quality.

Instructions

Run tests for project at . Returns {status, findings[], summary}. Engines: pytest (Python), vitest/npm (JS/TS). status='skipped' means engine not on PATH.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNo
toolNo
engineNo
statusNo
metricsNo
summaryNo
findingsNo
metadataNo
artifactsNo
duration_msNo
review_kindNo
engine_versionNo
review_providerNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses the return shape, supported engines, and the special 'skipped' status meaning, all of which are behavioral details beyond what the schema or annotations provide. With no annotations available, this is meaningful transparency, though possible side effects or prerequisite conditions are not mentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with purpose, then delivers return shape, engine support, and an important edge case. Every sentence contributes useful information with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The single required parameter is covered, the return shape is stated, and the skipped status edge case is addressed. Missing context includes setup requirements and behavior on failure or timeout, but for a single-argument test runner with an output schema, the definition is nearly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% parameter description coverage, so the description must compensate. 'Project at <path>' adds semantic meaning that the path refers to a project root rather than an arbitrary file, and the single parameter is simple enough that this is largely sufficient.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'Run' with the identifiable resource 'tests for project at <path>', which makes the tool's function immediately clear and separates it from sibling lint/typecheck/format tools. It also adds return shape and engine support, reinforcing exactly what the tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance about when to prefer this tool over sibling test-related tools such as rush_e2e, rush_test_heal, or rush_coverage, and no exclusion criteria. The engine list implies language fit, but it does not state when to use versus when not to use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/jamesdsizemore/rush-cli'

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