Skip to main content
Glama

testrail_upload_case_file

Upload a saved TestRail case-pack JSON file from a local path, attach embedded images to steps, and use section_id overrides to place cases in the correct section.

Instructions

Upload a saved testrail-case-pack .json file from this computer (full path). Embedded images in the file are attached to their steps. section_id overrides the file's section_id, which overrides TESTRAIL_SECTION_ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
fieldsNo
dry_runNo
project_idNo
section_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose two useful traits: embedded images are attached to their steps, and section targeting follows an override precedence. It omits the important operational behaviors for a write tool, such as whether cases are created vs overwritten, what dry_run returns, permission/auth requirements, and error/conflict handling.

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?

Three compact sentences, front-loaded with the core action, and the precedence rule is stated tersely without wasted words. Slightly dense grammar in the final sentence, but no filler.

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 5-parameter mutation tool with no annotations, no output schema, and no parameter documentation in the schema, the description leaves too much unspecified: dry_run semantics, fields contents, project_id role, and expected results are all absent.

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 coverage is 0% across 5 parameters, so the description must compensate. It clarifies only 'path' (full path on this computer) and touches 'section_id' via the precedence rule; 'fields', 'dry_run', and 'project_id' receive no explanation anywhere.

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?

States a specific verb and resource: uploading a saved 'testrail-case-pack .json' file from a local path. That is clearly distinct from sibling testrail_add_cases, though the description never explicitly contrasts the two, so the differentiation is inferred rather than stated.

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?

Usage is implied by the file-pack framing and the section_id precedence chain (section_id > file's section_id > TESTRAIL_SECTION_ID), which tells the agent how targeting resolves. However, there is no explicit when-to-use versus testrail_add_cases or when to prefer dry_run, leaving the choice to inference.

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