Skip to main content
Glama

tarn_fix_plan

Analyze a Tarn JSON report from tarn_run or run tests first, then generate a prioritized fix plan with next actions, evidence, and remediation hints.

Instructions

Analyze a Tarn JSON report and return a prioritized fix plan with next actions, evidence, and remediation hints. Accepts either a report object from tarn_run or the same inputs as tarn_run to execute first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoAbsolute path to the project root used when `path` is provided. Defaults to the workspace root captured during MCP `initialize`, or the server process's current directory.
envNoEnvironment name used when `path` is provided
max_itemsNoLimit the number of failing steps included in the plan
pathNoOptional .tarn.yaml path or directory to run before planning. Relative paths resolve against `cwd`.
reportNoStructured JSON report from tarn_run
tagNoTag filter used when `path` is provided
varsNoVariable overrides used when `path` is provided
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 for behavioral disclosure. It mentions the tool analyzes and returns a plan, but doesn't state whether it has side effects (e.g., creates files, modifies state) or if it is read-only. The name suggests planning, but confirmation is missing.

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: the first states the core purpose, the second explains the two input modes. No extraneous words or repetition. Every sentence adds essential information.

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

Completeness3/5

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

Given no annotations, no output schema, and 7 parameters (including nested objects), the description is fairly complete about inputs but omits details about the output format (e.g., structure of the plan) and any prerequisites. It covers the two modes well but could describe what the plan contains for an agent to process the result.

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?

Schema coverage is 100% with descriptions for each parameter. The description adds significant value by clarifying the two invocation modes: either supplying a `report` or the same inputs as tarn_run (path, env, tag, vars). This contextual information is not captured in the individual parameter descriptions.

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 tool analyzes a Tarn JSON report to produce a prioritized fix plan with next actions, evidence, and remediation hints. It distinguishes from siblings like tarn_run (which runs tests but doesn't plan) by explicitly mentioning both modes: accepting a report or running tarn first.

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?

The description explains the two usage modes—passing a report object or the same inputs as tarn_run—which helps an agent decide how to invoke it. However, it lacks explicit guidance on when not to use it or comparison to alternatives like tarn_run_agent.

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