Skip to main content
Glama

Upload Test Plan evidence

traceable_test_plan_evidence_upload

Upload a file as evidence on a Test Plan entry (or one of its test steps). Pass the file as base64 in content with its name. An image (PNG, JPEG, GIF, WebP, detected from the bytes, not the name) is shown inline in the Evidence column, exactly as an editor upload is. Any other file type is added to the project's Reference Library, referenced by this document, and attached as a file chip labelled in the document's citation format; its text is indexed for traceable_library_search where the type allows (the result says indexed). Entries belong to the Test Plan, not to this document: every document bound to the plan (boundDocuments in traceable_test_plan_read) shows the same entries, and they stay on the plan if this document is archived or deleted. At most 3 MB per file. Calling it twice uploads twice. The Test Plan row goes to review.

Input Schema

NameRequiredDescriptionDefault
rowYesIdentify the Test Plan row by itemId or atOrder (pass one).
nameYesThe file name, e.g. "torque-trace.png" or "calibration.pdf"
stepNoA test step, numbered from 1; omit for the entry's own evidence
entryYesIdentify the entry by entryId or protocol (pass one).
contentYesThe file content, base64-encoded (a data: URL prefix is accepted)
documentIdYesThe document holding the Test Plan row

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false): it discloses that type detection is byte-based not name-based, that non-images are added to the Reference Library and indexed for search, that entries live on the plan rather than the document and survive archival/deletion, and that the row is moved to review. This is unusually rich side-effect disclosure for a mutation tool.

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?

Purpose is front-loaded in the first sentence, then behavior follows in a dense but information-rich block. It is long, but nearly every clause carries a distinct operational fact; a slightly tighter grouping of the plan-vs-document semantics would improve it.

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

Completeness5/5

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

For a 6-parameter, nested-object mutation tool with no output schema, the description supplies the missing pieces: size limit, idempotency, downstream indexing behavior, scope/persistence of entries, and the review side effect. An agent has everything needed to invoke it correctly.

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 every parameter including the nested row/entry identification. The description restates the base64/name convention but adds little parameter-level meaning beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ('Upload a file as evidence on a Test Plan entry (or one of its test steps)') and scopes it precisely. It is clearly distinguishable from siblings like traceable_test_plan_evidence (read/list) and traceable_library_upload, and even names the read tool that supplies the identifiers.

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?

Gives clear operational context: how the file is passed, what happens for images vs other types, the 3 MB cap, and that repeat calls upload twice. It does not explicitly route between alternative upload tools (traceable_image_upload, traceable_library_upload), so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources