Skip to main content
Glama
deanchong
by deanchong

post_test_result_attachment

Destructive

Attach a file to a TestMonitor test result by its unique identifier to keep evidence with the correct result record.

Instructions

Upload an attachment for a test result. Upload an attachment for a test result using its unique identifier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the agent knows this is a non-idempotent write. The description adds nothing on top of that: no auth requirements, no size/encoding constraints (the 14 MB base64 limit lives only in the schema), and no note that re-uploading creates a distinct attachment. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences that say the same thing; the second is pure redundancy with no added information. The text is short, but the redundancy means no sentence earns its place beyond the first.

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 destructive, non-idempotent upload with a nested two-level payload and no output schema, the description is far too thin. It omits payload shape, encoding/limit constraints, and any indication of what is returned or how failures behave. Annotations cover the safety profile, but the payload semantics are left entirely to 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 0%, so the description is expected to compensate but does not. It never mentions the two required structures (body.file with filename/base64/mimeType, and path.testResultId), the base64 encoding requirement, or the size ceiling. 'Using its unique identifier' loosely gestures at testResultId but adds no actionable meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a clear verb+resource ('Upload an attachment for a test result'), so an agent knows the general operation. However, it offers no differentiation from near-identical siblings such as post_test_case_attachment, post_issue_attachment, or post_application — all of which are also upload operations. The second sentence merely restates the first with 'using its unique identifier' appended.

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?

There is no statement of when to use this tool versus the sibling attachment-upload tools, no prerequisites, and no mention of the required testResultId being the selector for the target result. The phrase 'using its unique identifier' is the only contextual hint and is not framed as usage guidance.

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

Deploy Server

Other Tools