Skip to main content
Glama

get_launch_summary

Retrieve a concise launch summary from Zebrunner Test Case Management using the new reporting API, focusing on essential metrics without detailed test session data.

Instructions

📋 Get quick launch summary without detailed test sessions (uses new reporting API)

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)
formatNoOutput formatjson

Implementation Reference

  • MCP tool registration for 'get_launch_summary' - defines name, description, input schema, and delegates execution to ZebrunnerReportingToolHandlers.getLauncherSummary
    server.tool(
      "get_launch_summary",
      "📊 Get quick launcher summary without detailed test sessions (uses new reporting API)",
      {
        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)"),
        format: z.enum(['dto', 'json', 'string']).default('json').describe("Output format")
      },
      async (args) => reportingHandlers.getLauncherSummary(args)
    );
  • Zod input schema validation for get_launch_summary tool parameters: project identifier (key or ID), required launchId, and output format.
    {
      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)"),
      format: z.enum(['dto', 'json', 'string']).default('json').describe("Output format")
  • Comprehensive Zod schema for LaunchResponse from Reporting API, defining all fields for launch summary data including stats, metadata, and attributes.
    export const LaunchResponseSchema = z.object({
      id: z.number(),
      name: z.string(),
      ciRunId: z.string().optional(),
      status: z.string(),
      project: z.object({
        id: z.number(),
        name: z.string(),
        key: z.string(),
        deleted: z.boolean()
      }).optional(),
      projectId: z.number(),
      user: z.object({
        id: z.number(),
        username: z.string(),
        email: z.string()
      }).optional(),
      testSuite: z.object({
        id: z.number(),
        name: z.string(),
        projectId: z.number().nullable()
      }).optional(),
      ciBuild: z.object({
        jobUrl: z.string(),
        number: z.string()
      }).optional(),
      startedAt: z.coerce.number(), // timestamp - coerce to handle string or number
      endedAt: z.coerce.number().optional(), // timestamp - coerce to handle string or number
      elapsed: z.coerce.number().optional(),
      framework: z.string().optional(),
      environment: z.string().optional(),
      build: z.string().optional(),
      locale: z.string().optional(),
      platform: z.string().optional(),
      platformVersion: z.string().optional(),
      device: z.string().optional(),
      passed: z.coerce.number().optional(),
      passedManually: z.coerce.number().optional(),
      failed: z.coerce.number().optional(),
      failedAsKnown: z.coerce.number().optional(),
      skipped: z.coerce.number().optional(),
      blocked: z.coerce.number().optional(),
      inProgress: z.coerce.number().optional(),
      aborted: z.coerce.number().optional(),
      reviewed: z.boolean().optional(),
      isRelaunchPossible: z.boolean().optional(),
      isLaunchAgainPossible: z.boolean().optional(),
      isAbortPossible: z.boolean().optional(),
      labels: z.array(z.object({
        key: z.string(),
        value: z.string()
      })).optional(),
      artifacts: z.array(z.object({
        name: z.string(),
        value: z.string()
      })).optional(),
      testSuiteId: z.number().optional(),
      userId: z.number().optional()
    });
  • Core API method to fetch launch details/summary from Zebrunner Reporting API endpoint, validates with LaunchResponseSchema - underlying logic for the tool.
    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);
    }
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions 'uses new reporting API' which adds some context about implementation, but doesn't describe what 'quick launch summary' contains, whether it's read-only, what permissions are needed, rate limits, or response format. For a tool with no annotation coverage, this leaves significant behavioral gaps.

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 perfectly concise - one sentence with an emoji that adds visual context. Every word earns its place: 'Get quick launch summary' states the core purpose, 'without detailed test sessions' provides important differentiation, and 'uses new reporting API' adds implementation context. No wasted words.

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 no annotations and no output schema, the description provides adequate basic purpose but lacks important context about what the 'quick launch summary' actually contains, response format details, or behavioral constraints. For a tool with rich sibling context and no structured safety/behavior annotations, it should do more to compensate.

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?

Schema description coverage is 100%, so the schema already documents all 4 parameters thoroughly. The description adds no additional parameter information beyond what's in the schema. According to guidelines, when schema coverage is high (>80%), the baseline is 3 even with no param info in description.

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 quick launch summary without detailed test sessions' with the specific verb 'Get' and resource 'launch summary'. It distinguishes from siblings like 'get_launch_details' and 'get_launch_test_summary' by emphasizing 'quick' and 'without detailed test sessions'. However, it doesn't explicitly name these alternatives for full differentiation.

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 implies when to use this tool ('quick launch summary without detailed test sessions') versus more detailed alternatives, but doesn't explicitly state when-not-to-use or name specific sibling tools. It mentions 'uses new reporting API' which provides some context, but lacks explicit guidance on prerequisites or comparisons.

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