Skip to main content
Glama

Robot Actions — Remote Device Control

testrail_get_attachment

Download a TestRail attachment by id. Returns filename, contentType, and the file content base64-encoded inline. Capped at 10MB — if you expect a larger file, list first and ask the user before downloading. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attachmentIdYesAttachment id from testrail_list_attachments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses read-only status, the 10MB cap, and the exact return format (filename, contentType, base64-encoded content). It does not cover error handling, but the key behavioral traits are well-covered.

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?

Three sentences, each earning its place: the action, the return format, and the size cap with user guidance. Front-loaded and free of fluff.

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

Completeness4/5

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

For a single-parameter download tool with no output schema, the description adequately explains the return format and safety traits. It could mention error handling, but that is not necessary for correct invocation.

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 coverage is 100% and the parameter already includes a reference to testrail_list_attachments. The description only adds 'by id' without further semantic detail, so it meets the baseline 3 for high schema coverage.

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 verb 'Download' and resource 'TestRail attachment by id', and mentions the return values. It is distinct in action, but it does not explicitly name or contrast with siblings like testrail_list_attachments, so it slightly misses full differentiation.

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?

It provides clear context by noting the 10MB cap and advising to list first for larger files, implying when to use the list tool instead. It lacks an explicit when-not-to-use or named alternative, but the guidance is actionable and clear.

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