Skip to main content
Glama

unlink_automated_test

Remove an automated test link from a manual test case using its linkId. If it's the last link, the case's automation status reverts to Manual.

Instructions

Remove one automated-test link from a manual test case by its linkId (the _id of a linkedTests entry — from get_test_case_links or get_manual_test_case). Requires write permission; not gated by plan so a downgraded org can still detach. When the last link is removed the case automationStatus reverts to Manual. 404 when the linkId is not on that case.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caseIdYesManual test case ID (Required). Internal _id or 'TC-123' style ID.
linkIdYeslinkedTests[]._id (Required), e.g. 'tcm_link_…'.
projectIdYesProject ID (Required). The TestDino project identifier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.3

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly: it flags write permission, plan downgrade behavior, automatic automationStatus revert on last link removal, and a 404 when linkId is absent. This goes well beyond the input schema.

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 information-dense sentences with no filler; each clause adds a distinct fact (operation, identifier source, permission, plan gating, side effect, error). Front-loaded with the core action.

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?

For a three-parameter mutation with no annotations and no output schema, the description covers permission, error behavior, side effects, and identifier provenance. Nothing essential is missing for selecting or invoking the tool.

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 provenance for linkId ('from get_test_case_links or get_manual_test_case') and clarifies accepted caseId forms, which helps correct invocation beyond the schema text.

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 the exact operation ('Remove one automated-test link'), the object ('manual test case'), and the key identifier ('by its linkId'), and implicitly distinguishes from siblings like link_automated_test and bulk_link_automated_tests. An agent can tell immediately what resource is affected.

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 invocation context: requires write permission, is not plan-gated, and describes side effects and error conditions. It doesn't explicitly name when to prefer this over link_automated_test/bulk_link, but the unlink semantics make that self-evident.

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