Skip to main content
Glama

Get Test Case Links

get_test_case_links
Read-only

List automated tests linked to a manual test case with recent success rates, last execution times, and platforms; use returned link IDs to unlink tests.

Instructions

List the automated tests linked to one manual test case, each enriched with recent automation metrics (successRate, lastExecution, platforms). caseId accepts the internal _id or the "TC-123" key. get_manual_test_case also returns the raw linkedTests array; use this tool when you need the metrics or a linkId to pass to unlink_automated_test.

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": {
      "projectId": "<projectId>",
      "caseId": "<caseId>"
    },
    "name": "get_test_case_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoMetrics window in days (server default applies when omitted)
caseIdYesInternal _id or "TC-123" style ID
projectIdYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv2.2.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / caseId / description
      Previous value: -"Test case ID (Required). Can be internal _id or human-readable ID like 'TC-123'."New value: +"Internal _id or \"TC-123\" style ID"
    • changedInput schema / properties / days / description
      Previous value: -"Metrics window in days (server default applies when omitted)."New value: +"Metrics window in days (server default applies when omitted)"
    • addedInput schema / properties / days / maximum
      Added value: +365
    • addedInput schema / properties / days / minimum
      Added value: +1
    • changedInput schema / properties / days / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / projectId / description
      Previous value: -"Project ID (Required). The TestDino project identifier."New value: +"Project ID"
  2. Addedv2.0.3

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds value on top by disclosing the enrichment fields returned (successRate, lastExecution, platforms) and by noting the prerequisite relationship to unlink_automated_test. It does not address result-size behavior or what an unlinked case returns, which keeps it below a 5.

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?

Two tight sentences with zero filler: the first defines what is returned, the second handles ID formats and sibling routing. The most decision-relevant facts (single-case scope, enrichment, alternative tool) are front-loaded.

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?

There is no output schema, and the description does the work of naming the enriched return fields and the routing information an agent needs before calling. The only residual gaps are the role of the optional days parameter and empty-result behavior for an unlinked case, which are minor for a read-only lookup of this size.

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 coverage is 100%, so all three parameters are already documented, including the dual _id / "TC-123" form of caseId which the description merely restates. The description adds nothing about the optional days window (bounds, default, effect on the metrics), so it neither compensates nor detracts from the schema baseline.

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 states a specific verb and resource (list automated tests linked to one manual test case) plus a scope qualifier (single case, enriched with automation metrics). It explicitly differentiates itself from the sibling get_manual_test_case by noting that sibling already returns the raw linkedTests array, so an agent can pick the right tool without opening either schema.

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

Usage Guidelines5/5

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

It names both the when-to-use condition (you need the automation metrics) and the concrete downstream trigger (you need a linkId to pass to unlink_automated_test), and it names the alternative (get_manual_test_case) for the case where raw links suffice. That is an explicit use/use-instead decision rather than implied guidance.

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