Skip to main content
Glama

test_reporting_connection

Verify connectivity to Zebrunner Reporting API using updated authentication methods to ensure reliable test reporting.

Instructions

🔌 Test connection to Zebrunner Reporting API with new authentication

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP server tool registration and inline handler implementation for 'test_reporting_connection'. Tests the Reporting API connection using the ZebrunnerReportingClient.testConnection() method and formats the result as MCP content.
    server.tool(
      "test_reporting_connection",
      "🔌 Test connection to Zebrunner Reporting API with new authentication",
      {},
      async () => {
        try {
          const result = await reportingClient.testConnection();
          return {
            content: [
              {
                type: "text" as const,
                text: JSON.stringify(result, null, 2)
              }
            ]
          };
        } catch (error: any) {
          return {
            content: [
              {
                type: "text" as const,
                text: `Reporting API Connection failed: ${error.message}`
              }
            ]
          };
        }
      }
    );
  • Core helper method in ZebrunnerReportingClient that implements the connection test logic by performing authentication and returning detailed success/failure status.
    async testConnection(): Promise<{ success: boolean; message: string; details?: any }> {
      try {
        const bearerToken = await this.authenticate();
        
        return {
          success: true,
          message: 'Connection successful to Zebrunner Reporting API',
          details: {
            baseUrl: this.config.baseUrl,
            tokenLength: bearerToken.length,
            expiresAt: this.tokenExpiresAt
          }
        };
      } catch (error) {
        return {
          success: false,
          message: `Connection failed: ${error instanceof Error ? error.message : 'Unknown error'}`,
          details: { error }
        };
      }
    }
Behavior3/5

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

With no annotations provided, the description carries full behavioral disclosure burden. It indicates this is a test/verification operation (implied read-only) and mentions authentication, but doesn't specify what 'test connection' entails (e.g., whether it validates credentials, endpoint availability, or both), what happens on success/failure, or any rate limits. It provides basic context but lacks operational details.

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 a single, efficient sentence that immediately conveys the tool's purpose with no wasted words. It's front-loaded with the core action and includes only essential contextual information about authentication.

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?

For a zero-parameter tool with no annotations and no output schema, the description provides adequate basic purpose and context. However, it doesn't explain what constitutes a successful test, what format/values the response might contain, or potential error conditions, leaving some operational ambiguity.

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?

The tool has zero parameters with 100% schema description coverage, so the baseline is 4. The description appropriately doesn't discuss parameters since none exist, focusing instead on the tool's purpose and authentication context.

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 states the specific action ('Test connection') and target resource ('Zebrunner Reporting API'), with the additional context of 'with new authentication' that distinguishes it from generic connectivity checks. It uses a precise verb and identifies the exact system being tested.

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?

The description implies usage context ('with new authentication') suggesting this should be used when authentication credentials have changed or need verification. However, it doesn't explicitly state when NOT to use it or name alternative tools for similar purposes among the many sibling tools.

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