Skip to main content
Glama

Get a presigned PUT URL for one file

request_upload

Get a presigned PUT URL for one file.

Step 1 of 3: returns a presigned PUT URL and the exact headers to send (Content-Type and Content-Length must match what you announced; the URL works only for that exact size and type — anything else is refused with 403 by storage). Then PUT the bytes to that URL, then call attach_file.

Input Schema

NameRequiredDescriptionDefault
filenameYes
issue_keyYesIssue key `{PROJECT}-{n}`, e.g. `KJ-101`.
size_bytesYes
project_keyYesProject key, e.g. `KJ`. 2–10 chars, uppercase letters and digits, starts with a letter.
content_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, but the description adds real behavioral context the annotations cannot express: Content-Type and Content-Length must exactly match the announced values, and any mismatch yields a 403 from storage. It does not mention URL expiry or auth prerequisites, which is the main remaining gap for a presigned-URL tool.

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 short sentences, front-loaded with the outcome, then the constraint, then the sequence. Every clause carries actionable information; nothing is restated from the title or schema.

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 5-required-param, no-output-schema tool, the description fully covers the return value (URL plus headers) and the downstream sequence, plus the 403 failure mode. It omits URL lifetime/expiry and permission requirements, which an agent would want before retrying or batching.

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

Parameters4/5

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

Schema coverage is only 40%, so the description must compensate, and it does for the two riskiest parameters: content_type and size_bytes are pinned as the exact values the URL is bound to. It adds nothing about filename beyond the schema's pattern, but the marginal value over structured fields is substantial.

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 ('Get a presigned PUT URL for one file') and immediately situates it as step 1 of a 3-step upload flow, which distinguishes it from attach_file and get_download_url among the many siblings. An agent can tell what it produces without opening the schema.

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 names the workflow position ('Step 1 of 3'), the intermediate action ('then PUT the bytes to that URL'), and the follow-up tool ('then call attach_file'). The alternative path is unambiguous, leaving no inference about ordering.

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