Skip to main content
Glama
S0ra-ai
by S0ra-ai

run_tests

Run test suites for any project with options to override commands, filter test names, enable coverage, and set timeout.

Instructions

Run the project test suite with configurable options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternNoTest name pattern to filter
projectNoProject name
timeoutNoTimeout in milliseconds (default: 120000)
coverageNoRun with coverage
testCommandNoTest command override. Auto-detected if not provided.
Behavior2/5

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

No annotations provided, so description should disclose behavioral traits. It only says 'Run the project test suite' without mentioning side effects, output format, or safety (e.g., whether it installs dependencies). This is insufficient for a tool with 5 parameters.

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

Conciseness4/5

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

Single sentence, no wasted words. Front-loaded with key action and resource. Could slightly expand to improve completeness without losing conciseness.

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

Completeness2/5

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

Tool has 5 parameters and no output schema or annotations. Description fails to explain return behavior (stdout/results), prerequisites (project must exist), or operational details (e.g., coverage impacts). Incomplete for a non-trivial tool.

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

Parameters3/5

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

All 5 parameters are described in the schema with 100% coverage, so baseline is 3. Description adds no extra meaning beyond 'configurable options', relying on schema for details.

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

Purpose4/5

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

Description clearly states it runs the project test suite, specifying the action and resource. It distinguishes from siblings like run_command by targeting 'test suite' specifically, but lacks specificity on test type.

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?

No guidance on when to use this tool versus alternatives like run_command. The description implies it's for project tests but doesn't state exclusions or preferred scenarios.

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

Install Server

Other Tools

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/S0ra-ai/OpenCode_MCP'

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