Skip to main content
Glama

create_result_bulk

Add multiple test run results at once to the QASE test management platform, streamlining batch result creation for efficient test execution tracking.

Instructions

Create multiple test run results in bulk

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
idYes
resultsYes

Implementation Reference

  • MCP tool handler for 'create_result_bulk' that validates input arguments using CreateResultBulkSchema and calls the createResultBulk helper function.
    .with({ name: 'create_result_bulk' }, ({ arguments: args }) => {
      const { code, id, results } = CreateResultBulkSchema.parse(args);
      return createResultBulk(code, id, results);
    })
  • Zod schema defining the input structure for the create_result_bulk tool: project code, run ID, and bulk results.
    export const CreateResultBulkSchema = z.object({
      code: z.string(),
      id: z.number(),
      results: z.record(z.any()).transform((v) => v as ResultCreateBulk),
    });
  • src/index.ts:160-164 (registration)
    Registration of the 'create_result_bulk' tool in the ListToolsRequestSchema handler, including name, description, and input schema.
    {
      name: 'create_result_bulk',
      description: 'Create multiple test run results in bulk',
      inputSchema: zodToJsonSchema(CreateResultBulkSchema),
    },
  • Helper function that composes the Qase client bulk result creation call with result transformation using Ramda pipe.
    export const createResultBulk = pipe(
      client.results.createResultBulk.bind(client.results),
      toResult,
    );
Behavior1/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral insight. It states 'Create' (implying a write/mutation operation) but doesn't disclose permissions needed, whether creation is atomic/transactional, rate limits, error handling for partial failures, or what happens on success. This is inadequate for a mutation tool with zero annotation coverage.

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 with no wasted words. It's appropriately sized for a basic tool description, though the brevity contributes to gaps in other dimensions.

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

Completeness1/5

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

For a mutation tool with 3 required parameters (including a nested object), 0% schema coverage, no annotations, and no output schema, the description is severely incomplete. It doesn't explain what the tool returns, how to interpret parameters, or critical behavioral aspects like error handling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description provides no information about the three required parameters (code, id, results). The term 'results' in the description refers to the resource being created, not the parameter named 'results', creating potential confusion. No parameter meanings, formats, or examples are given.

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 action ('Create multiple test run results') and resource ('in bulk'), distinguishing it from the singular 'create_result' sibling tool. However, it doesn't specify what 'test run results' are in this context or how they differ from other test entities like cases or suites.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like 'create_result' (singular) or other creation tools. The description implies bulk creation but doesn't specify thresholds, performance considerations, or prerequisites for using bulk operations.

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/rikuson/mcp-qase'

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