Skip to main content
Glama

get_launch_details

Retrieve comprehensive launch details and test session data from Zebrunner Test Case Management for analysis and reporting.

Instructions

🚀 Get comprehensive launch details including test sessions (uses new reporting API with enhanced authentication)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectKeyNoProject key (e.g., 'android' or 'ANDROID') - alternative to projectId
projectIdNoProject ID (e.g., 7) - alternative to projectKey
launchIdYesLaunch ID (e.g., 118685)
includeLaunchDetailsNoInclude detailed launch information
includeTestSessionsNoInclude test sessions data
formatNoOutput formatjson

Implementation Reference

  • MCP tool registration for 'get_launch_details'. Defines input schema inline and handler that delegates to reportingHandlers.getLauncherDetails(args). This is the entry point where the tool is made available via MCP server.tool().
    server.tool(
      "get_launch_details",
      "🚀 Get comprehensive launch details including test sessions (uses new reporting API with enhanced authentication)",
      {
        projectKey: z.string().min(1).optional().describe("Project key (e.g., 'android' or 'ANDROID') - alternative to projectId"),
        projectId: z.number().int().positive().optional().describe("Project ID (e.g., 7) - alternative to projectKey"),
        launchId: z.number().int().positive().describe("Launch ID (e.g., 118685)"),
        includeLaunchDetails: z.boolean().default(true).describe("Include detailed launch information"),
        includeTestSessions: z.boolean().default(true).describe("Include test sessions data"),
        format: z.enum(['dto', 'json', 'string']).default('json').describe("Output format")
      },
      async (args) => reportingHandlers.getLauncherDetails(args)
    );
  • Zod schema definition for GetLauncherDetailsInput used by the get_launch_details tool (imported in server-with-reporting.ts but schema redefined inline in registration).
    export const GetLauncherDetailsInputSchema = z.object({
      projectKey: z.string().min(1).optional(),
      projectId: z.number().int().positive().optional(),
      launchId: z.number().int().positive(),
      includeLaunchDetails: z.boolean().default(true),
      includeTestSessions: z.boolean().default(true),
      format: z.enum(['dto', 'json', 'string']).default('json')
    });
  • ZebrunnerReportingClient.getLaunch(): Core API method to fetch launch details, likely called within the tool handler reportingHandlers.getLauncherDetails().
    async getLaunch(launchId: number, projectId: number): Promise<LaunchResponse> {
      const url = `/api/reporting/v1/launches/${launchId}?projectId=${projectId}`;
      const response = await this.makeAuthenticatedRequest<any>('GET', url);
      
      // Extract the actual launch data from the nested response
      const launchData = response.data || response;
      
      return LaunchResponseSchema.parse(launchData);
    }
  • ZebrunnerReportingClient.getTestSessions(): Fetches test sessions for a launch, supporting the includeTestSessions parameter in the tool.
    async getTestSessions(launchId: number, projectId: number): Promise<TestSessionsResponse> {
      const url = `/api/reporting/v1/launches/${launchId}/test-sessions?projectId=${projectId}`;
      const response = await this.makeAuthenticatedRequest<any>('GET', url);
      
      // Handle different response structures
      const sessionsData = response.data || response;
      
      return TestSessionsResponseSchema.parse(sessionsData);
    }
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'enhanced authentication', which hints at potential auth requirements, but doesn't specify what those are (e.g., API keys, permissions). It also doesn't describe rate limits, error handling, pagination, or what 'comprehensive' entails beyond test sessions. For a read operation with 6 parameters and no annotations, this leaves significant gaps in understanding how the tool behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose ('Get comprehensive launch details including test sessions') and adds contextual notes ('uses new reporting API with enhanced authentication'). There's no wasted verbiage, and every part serves a purpose. It loses a point because the emoji (🚀) is decorative and doesn't add functional clarity.

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

Completeness3/5

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

Given the tool's complexity (6 parameters, no output schema, no annotations), the description is minimally adequate. It covers the basic purpose and hints at authentication needs, but doesn't explain output structure, error cases, or how 'comprehensive' differs from sibling tools. For a tool with moderate complexity and no structured behavioral hints, it should do more to guide effective use.

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?

The schema description coverage is 100%, meaning all parameters are documented in the schema itself. The description doesn't add any parameter-specific information beyond what's in the schema (e.g., it doesn't explain relationships between projectKey and projectId, or clarify what 'dto' format means). Since the schema does the heavy lifting, the baseline score of 3 is appropriate—the description neither compensates for gaps nor adds extra value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Get comprehensive launch details including test sessions'. It specifies the verb ('Get'), resource ('launch details'), and scope ('including test sessions'), which distinguishes it from simpler summary tools. However, it doesn't explicitly differentiate from sibling tools like 'get_launch_summary' or 'detailed_analyze_launch_failures', which prevents a perfect score.

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

Usage Guidelines3/5

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

The description provides some usage context by mentioning 'uses new reporting API with enhanced authentication', which implies this is a preferred or updated method. However, it doesn't explicitly state when to use this tool versus alternatives like 'get_launch_summary' or 'get_all_launches_for_project', nor does it specify prerequisites or exclusions. The guidance is implied rather than explicit.

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

Install Server

Other Tools

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/maksimsarychau/mcp-zebrunner'

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