Skip to main content
Glama
Gearset MCP Server
by jaredbt

Update External Test Run

update_external_test_run

Update an external test run for a CI job run by setting its status class and optional provider details, times, results URL, and messages.

Instructions

Update an external test run for a CI job 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": {
      "ciRunId": "<ciRunId>",
      "externalTestRunId": "<externalTestRunId>",
      "provider": "<provider>",
      "statusClass": "<statusClass>"
    },
    "name": "update_external_test_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoAn optional status from the provider
ciRunIdYesThe CI job run ID
providerYesThe provider (software/system/product) of the external testing data
endTimeUtcNoThe optional UTC end time of the test run
resultsUrlNoAn optional link to the external test run results
statusClassYesThe status class of the test run
startTimeUtcNoThe optional UTC start time of the test run
providerRunIdNoAn optional ID to identify the test run in the provider
statusMessageNoAn optional message providing additional information
externalTestRunIdYesThe external test run ID to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are present, so the description carries the full behavioral burden, yet it says nothing about permissions, whether updates are partial or full replacements, idempotency, or what happens to existing fields omitted from the call. For a mutation tool with ten parameters, this is a substantial gap.

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?

The single sentence is front-loaded and free of waste. However, it is so terse that it borders on under-specification for a ten-parameter mutation, though that is better judged under contextual completeness.

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?

Given a ten-parameter mutation tool with no annotations and no output schema, the description should explain update semantics, required fields, and effects. Instead it provides only a one-line restatement of the name, leaving the agent to infer all behavioral context from the schema alone.

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?

Schema description coverage is 100%, so all ten parameters are already documented in the input schema, including the statusClass enum and optional fields. The description adds no meaning beyond the schema, which is acceptable at this coverage level but provides no extra guidance on which optional fields matter.

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?

The description names a specific verb ('Update') and resource ('external test run') and scopes it to a CI job run, so an agent can tell what the tool does. It does not explicitly contrast with the sibling create_external_test_run, but the update/create distinction is inferable from the name and verb.

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 exclusions, and no mention of prerequisites or alternatives. The only context is 'for a CI job run', which implies the tool applies to existing runs but doesn't tell an agent when to choose it over create_external_test_run or other status tools.

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