Skip to main content
Glama

Bulk Link Automated Tests

bulk_link_automated_tests

Link up to 500 manual test cases to automated tests in one call. Returns per-item success or failure, so a single bad row won't fail the 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.

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.7/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint=false/destructiveHint=false annotations by disclosing the write-permission and plan-feature prerequisites, the per-item result shape, and the critical partial-failure semantics ('one bad row never fails the batch'). The instruction to always check each item's success is exactly the kind of non-obvious behavior an agent needs.

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?

Front-loads purpose and scope, then prerequisites, then return/failure behavior, then the id gotcha. Dense and information-rich with no filler sentences; every clause earns its place.

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?

With no output schema, the description carries the return contract (per-item success/error/link) and the failure model, plus permission and plan prerequisites and correct id sourcing. Nothing essential for a correct bulk mutation 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, but the description adds real value: it clarifies manualTestCaseId is the internal _id (tcm_tc_…), not the TC-123 key, and specifies the provenance of pwTestId/fullTitle. These are semantic details that prevent mis-population of the links array.

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 (Link), the resource (manual case ↔ automated test pairs), and the scope (up to 500 in one call). It is immediately distinguishable from the singular sibling link_automated_test through the bulk framing and the 500-row cap.

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 clear operational context: requires write permission and the automation_linking plan feature, and directs the agent to source pwTestId + fullTitle from list_automated_tests. It does not explicitly state when to prefer this over the single-item link_automated_test sibling, but the 'up to 500 ... in one call' framing makes the choice inferable.

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