Skip to main content
Glama

export_junit

Runs assertions on multiple API requests and exports the results as JUnit XML for GitHub Actions, GitLab CI, or Jenkins test reporters.

Instructions

Run assertions on multiple requests and export the results as JUnit XML — compatible with GitHub Actions, GitLab CI, and Jenkins test reporters.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace_id": "<workspace_id>"
    },
    "name": "export_junit"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedNoSet to true to confirm sending to an external URL after reviewing it
suite_nameNoInsomnia API Tests
output_pathNoFile path to write JUnit XML (optional)
workspace_idYes
environment_idNo
expected_statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose that assertions are executed against multiple requests, which is meaningful beyond a pure serializer, but it omits critical behavior: that a 'confirmed' flag gates sending to an external URL, which requests are selected, permission/auth requirements, and what happens when output_path is omitted.

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?

A single, front-loaded sentence with no filler; the CI-compatibility clause is compact and informative. Slight deduction because the 'run assertions' clause and the export clause are run together without clarifying their relationship.

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

Completeness2/5

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

For a 6-parameter tool with no annotations, no output schema, and only 33% schema coverage, the definition is too thin. It says nothing about the confirmation requirement for external sending, the request selection scope, or default behavior, leaving an agent unable to call it safely without reading the schema.

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

Parameters2/5

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

Schema description coverage is only 33%, so the description needed to compensate and does not. It never explains workspace_id, environment_id, suite_name, or expected_status, nor does it connect 'multiple requests' to how the request set is determined. The 'confirmed' external-URL gate is documented only in the schema, not echoed here.

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 names a specific verb and output format ('export the results as JUnit XML') and distinguishes itself from the export_* siblings by format, plus it discloses that assertions are actually executed. The dual framing ('run assertions' + 'export') leaves some ambiguity about whether this is a test runner or a serializer, but the resource and format are clear.

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?

Naming GitHub Actions, GitLab CI, and Jenkins implies the usage context (CI test reporting), which is genuinely useful. However, there is no explicit when-to-use/when-not guidance and no reference to the sibling export tools (export_postman, export_openapi, etc.) that an agent would need to choose between.

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