Skip to main content
Glama

create_test_collection

Create a test collection to bundle test cases for a project, optionally linking to a release and assigning a tester, with priority defaulting to medium.

Instructions

Create a Test Collection and optionally add test cases to it. This is one Test Collection, NOT the top-level Executions-page container - use create_execution for that (an execution can then include this collection via add_collections_to_execution). Returns the created collection with count of added tests. Omit priority to default to "medium". A new Collection always starts at status not_started and there is no status argument here: use update_test_collection if it needs to start anywhere else, which is a second call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCollection name (e.g., "Sprint 42 Regression")
caseIdsNoNumeric test case IDs to add to collection (e.g., [1, 2, 3])
folderIdNoFolder UUID to place collection in (omit for root level)
priorityNoOptional, defaults to medium. Unlike a case priority, a collection priority is NOT project-configurable: the storage layer accepts only these four, in lowercase, so a project-custom case priority cannot be used here. Matching ignores case, and the value is stored lowercase.
projectIdYesProject UUID to create collection in
releaseIdNoLink to a release UUID
assignedToNoEmail address of the assigned tester
descriptionNoDetailed description of the test collection
environmentNoTarget environment (e.g., "staging", "production")

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changedv1.5.3
    • removedInput schema / properties / priority / default
      Removed value: -"medium"
    • changedInput schema / properties / priority / description
      Previous value: -"OPTIONAL - defaults to \"medium\". Valid: low, medium, high, critical."New value: +"Optional, defaults to medium. Unlike a case priority, a collection priority is NOT project-configurable: the storage layer accepts only these four, in lowercase, so a project-custom case priority cannot be used here. Matching ignores case, and the value is stored lowercase."
    • changedInput schema / properties / priority / enum
      Previous value: -[
      -  "low",
      -  "medium",
      -  "high",
      -  "critical"
      -]New value: +[
      +  "critical",
      +  "high",
      +  "medium",
      +  "low"
      +]
  2. First observedv1.5.0

TDQS

A4.9/5.0
Behavior5/5

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

The description discloses important non-obvious behaviors: newly created collections always start at status not_started, no status argument is accepted, priority defaults to 'medium', and priority matching is case-insensitive but stored lowercase. It also states return behavior (created collection with count of added tests) and clarifies the distinction from an execution container. These details go well beyond the minimal annotation hints.

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?

The description is information-dense but efficiently organized, front-loading the core purpose and the critical disambiguation from executions. Every sentence adds value, and there is no filler or repetition of schema basics.

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 9-parameter creation tool, the description covers the essential call context: what it returns, how defaults work, what it cannot do, and how it relates to adjacent sibling operations. The absence of an output schema is adequately mitigated by explicitly stating the created collection and added test count.

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?

Though the schema already documents all nine parameters, the description adds meaningful semantic nuance such as the default for priority, the lowercase-only constraint, the fact that collection priority cannot be project-customized, and that caseIds are optional. It does not restate every parameter, but it enriches the most behaviorally important one.

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 clearly identifies the action ('Create a Test Collection') and the resource, and immediately distinguishes it from the top-level Executions-page container ('NOT the top-level Executions-page container - use create_execution'). This makes the tool's purpose unambiguous and separates it from sibling tools.

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?

The description explicitly explains when to use this tool versus create_execution and update_test_collection, including routing to add_collections_to_execution for attaching collections to executions. This gives an agent clear decision guidance with named alternatives.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/m00nreport/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server