Skip to main content
Glama

Bulk Link Automated Tests

bulk_link_automated_tests

Links up to 500 manual test cases to automated tests in a single batch call, returning per-pair success or error results so one invalid row does not fail the entire batch.

Instructions

Link up to 500 manual case ↔ automated test pairs in one call. Requires write permission and the automation_linking plan feature. Returns per-item results ({ manualTestCaseId, fullTitle, success, error?, link? }) — one bad row never fails the batch, so ALWAYS check each item's success. manualTestCaseId is the case internal id (tcm_tc…), not the TC-123 key. Take pwTestId + fullTitle for every row from list_automated_tests.

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>",
      "links": "<links>"
    },
    "name": "bulk_link_automated_tests"
  }
}

Input Schema

NameRequiredDescriptionDefault
linksYesPairs to link (1–500)
projectIdYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 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 / links / description
      Previous value: -"Pairs to link (1–500)."New value: +"Pairs to link (1–500)"
    • addedInput schema / properties / links / items / additionalProperties
      Added value: +false
    • addedInput schema / properties / links / items / properties / displayTitle / maxLength
      Added value: +500
    • addedInput schema / properties / links / items / properties / displayTitle / minLength
      Added value: +1
    • addedInput schema / properties / links / items / properties / fullTitle / maxLength
      Added value: +2000
    • addedInput schema / properties / links / items / properties / fullTitle / minLength
      Added value: +1
    • changedInput schema / properties / links / items / properties / manualTestCaseId / description
      Previous value: -"Case internal _id (tcm_tc_…)."New value: +"Case internal _id (tcm_tc_…)"
    • addedInput schema / properties / links / items / properties / manualTestCaseId / maxLength
      Added value: +80
    • addedInput schema / properties / links / items / properties / manualTestCaseId / minLength
      Added value: +1
    • addedInput schema / properties / links / items / properties / pwTestId / maxLength
      Added value: +200
    • addedInput schema / properties / links / items / properties / pwTestId / minLength
      Added value: +1
    • changedInput schema / properties / projectId / description
      Previous value: -"Project ID (Required). The TestDino project identifier."New value: +"Project ID"
  2. Addedv2.0.3

TDQS

A4.3/5.0
Behavior3/5

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

Annotations only cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false); the description goes further by disclosing auth/plan requirements, partial-failure semantics ("one bad row never fails the batch"), and the per-item result shape despite no output schema. That is genuinely useful context beyond the annotations, though rate limits and ordering/duplicate handling are unaddressed.

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?

Three tight sentences, front-loaded with scope and cardinality, then constraints, then the return-value caveat. Every sentence carries unique information and the most failure-prone point (checking per-item success) is emphasized.

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

Completeness5/5

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

No output schema exists, and the description supplies the return shape and the partial-failure contract itself, which is the main risk an agent must handle. Combined with plan/permission prerequisites and the ID-format caveat, nothing essential for a correct call is missing.

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%, so the baseline is 3; the description earns one step more by clarifying that manualTestCaseId is the internal _id (tcm_tc_…) rather than the TC-123 key and by telling the agent where pwTestId/fullTitle must come from. However, it repeats the _id convention already present in the schema and says nothing about the optional displayTitle parameter.

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?

States a specific verb and resource with scope: "Link up to 500 manual case ↔ automated test pairs in one call." The batch/cardinality framing plus the singular sibling link_automated_test makes the distinction clear 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 Guidelines4/5

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

Gives concrete prerequisites (write permission, automation_linking plan feature) and explicitly routes the agent to list_automated_tests for sourcing pwTestId + fullTitle per row. It never states when to prefer this over the single-pair link_automated_test sibling, so the batch-vs-single choice is left to inference.

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