Skip to main content
Glama

test_cases_attachments_create

Initiate test case attachment upload by creating an attachment record and receiving a presigned S3 URL to upload the file.

Instructions

Create test case attachment (returns presigned upload URL)

Tag: Test Case Attachments

Cria o registro do anexo (uploaded=false) e retorna uma presigned URL S3 (PUT, 300s). Faça o PUT do arquivo na uploadUrl e depois confirme com PATCH /v1/test-cases/:id/attachments/:attachmentId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTest Case ID
md5Yes
sizeYesTamanho em bytes
typeYesMIME type
fileNameYes
Behavior4/5

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

With no annotations provided, the description discloses important behavioral traits: it creates a record with uploaded=false, returns a presigned URL expiring in 300s, and indicates a required subsequent PATCH confirmation. This adds value beyond schema but does not cover error states.

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

Conciseness3/5

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

The description mixes English and Portuguese, with redundancy. The Portuguese paragraph repeats the English content and adds length without essential new information for AI agents.

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

Completeness3/5

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

The description explains the multi-step upload process and the return of a presigned URL, but lacks details on response structure, error handling, and authentication. For a tool with no output schema, this is adequate but not thorough.

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 60%, with md5 and fileName lacking descriptions. The tool description adds no parameter-specific details, so it does not compensate for the missing schema explanations.

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 it creates a test case attachment and returns a presigned upload URL. However, it includes follow-up steps (PUT and PATCH) that are not part of this tool, slightly blurring the pure tool purpose.

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?

No explicit guidance on when to use this tool versus similar sibling tools like bugs_attachments_create. The description does not mention alternatives or conditions for use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/swl-informatica/meloQA-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server