Skip to main content
Glama

tarn_run_agent

Run test suites in agent mode to get compact reports with artifact paths, ideal for iterating on failures.

Instructions

Run a suite with report_mode=agent pre-selected, surfacing the compact AgentReport (NAZ-412) plus artifact paths. Preferred entry point when the caller will iterate on failures. Equivalent to: tarn run --agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoAbsolute path to the project root. Defaults to the workspace root captured during MCP `initialize`, or the server process's current directory.
env_nameNoEnvironment name (loads tarn.env.{name}.yaml).
no_default_excludesNoDisable the default discovery ignore rules.
pathNoPath to a `.tarn.yaml` file or directory. Relative paths resolve against `cwd`.
selectNoExplicit `FILE[::TEST[::STEP]]` selectors. Combine with `test_filter`/`step_filter` if desired.
step_filterNoRun only this step (name or zero-based index) within the filtered tests.
tagNoComma-separated tag filter.
test_filterNoRun only this named test across every discovered file (wildcard selector).
varsNoVariable overrides as key-value pairs.
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only describes the function (runs suite, returns report) without disclosing side effects, permissions, or state changes. Minimal behavioral transparency.

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 two sentences plus an equivalence line, all front-loaded with the core action and usage guidance. No unnecessary words; every sentence adds value.

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?

Given 9 parameters, nested objects, and no output schema, the description adequately explains the tool's purpose and preferred use case. It mentions the AgentReport (NAZ-412) and artifact paths, though could be more detailed on return values.

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 9 parameters have descriptions in the input schema (100% coverage). The description adds no additional parameter-level information beyond what the schema provides, so baseline score of 3 is appropriate.

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 clearly states the verb 'Run', the resource 'suite with report_mode=agent pre-selected', and distinguishes from tarn_run via agent report and failure iteration focus. It also provides the CLI equivalent.

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

Usage Guidelines4/5

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

Explicitly states it is the preferred entry point when the caller will iterate on failures, giving clear context. Implicitly differentiates from tarn_run via the equivalence statement, though no explicit when-not guidance is given.

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/NazarKalytiuk/tarn'

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