Skip to main content
Glama
testrail-mcp
by tmurraypt

update_run

Updates an existing TestRail test run by run ID, letting you change its name, description, included cases, or milestone.

Instructions

Update a test run

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "run_id": "<run_id>"
    },
    "name": "update_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
run_idYesRun ID
case_idsNo
descriptionNo
include_allNo
milestone_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden and supplies none of it. It does not disclose that this is a mutating operation, whether fields are overwritten or merged, what include_all does relative to case_ids, or whether changes are reversible.

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

Conciseness2/5

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

The single sentence is short but that brevity reflects under-specification rather than efficiency. Nothing is front-loaded beyond the bare verb and resource.

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

Completeness1/5

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

A six-parameter mutating tool with no annotations, no output schema, and near-zero schema documentation cannot be called correctly from this definition. The description does nothing to close any of those gaps.

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

Parameters1/5

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

Schema description coverage is only 17% — just run_id has a (trivial) description, and the other five parameters (name, case_ids, description, include_all, milestone_id) are undocumented in both schema and description. The description adds zero meaning about what any parameter does, and the include_all/case_ids interaction is especially opaque.

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

Purpose2/5

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

"Update a test run" only restates the tool name with no additional specificity: it does not say which run fields can be changed, whether the update is partial or full, or how it differs from sibling mutations such as update_case or update_plan. The verb+resource is identifiable, but an agent learns nothing beyond the name itself.

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?

There is no when-to-use guidance, no prerequisites (e.g., needing an existing run ID), and no mention of alternatives such as add_run, close_run, or delete_run. The agent must infer entirely from the name that this is for modifying an existing run rather than creating or closing one.

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