Skip to main content
Glama
subbuyalla

WeTrack Enterprise MCP Server

by subbuyalla

wetrack_get_upload_presign_url

Generate an S3 presigned upload URL for direct browser-side file uploads, returning a final S3 URL to register attachments in WeTrack.

Instructions

Generate an S3 pre-signed upload URL for direct browser-side file uploads.

This is step 1 of the two-step upload flow:

  1. Call this to get a presigned PUT URL and the final S3 file URL.

  2. The client/browser PUTs the file binary directly to the presigned URL.

  3. Use the final S3 URL in wetrack_add_ticket_attachment or wetrack_add_project_file to register the file in WeTrack.

Args: file_name: Original file name e.g. 'screenshot.png', 'report.pdf'. file_type: MIME type e.g. 'image/png', 'application/pdf', 'video/mp4'.

Returns: presignedUrl: The S3 PUT URL to upload the file to (expires in ~15 min). url: The final public S3 URL to use as the attachment URL in WeTrack.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_nameYes
file_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals the key behavioral details: the presigned URL expires in ~15 minutes, the client/browser must perform the PUT, and the final URL is used later. It does not mention authentication or side effects, but for a read-oriented URL generator this is adequate transparency.

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?

The description is well-structured with a clear purpose statement, numbered workflow steps, an Args section, and a Returns section. It front-loads the core purpose and then logically details the flow. Every sentence adds value, with no redundant filler.

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?

The description covers the complete workflow, including how to use the returned URL with sibling tools, the parameter format, and the return values (presignedUrl and url). It mentions the 15-minute expiry, which is critical for timing. Given the output schema exists (though not shown), the description sufficiently covers all necessary context for an agent to invoke and use this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, so the description must fully compensate. It provides concrete examples for both parameters: 'file_name: Original file name e.g. 'screenshot.png'' and 'file_type: MIME type e.g. 'image/png''. This gives an agent clear guidance on format and expected values, exceeding what the schema alone offers.

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?

The description states a specific verb and resource: 'Generate an S3 pre-signed upload URL for direct browser-side file uploads.' It clearly explains the tool's role as the first step of a two-step upload flow, which distinguishes it from the attachment-registration siblings (wetrack_add_ticket_attachment, wetrack_add_project_file) that consume its output.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly describes when to use it: 'This is step 1 of the two-step upload flow' and walks through the exact sequence, including which subsequent tools to call with the returned URL. It leaves no ambiguity about the intended workflow, though it does not mention when not to use it; the clear step-by-step guidance is sufficient.

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