Skip to main content
Glama

Fluxmail Cloud

Create an attachment upload link

create_attachment_upload

Creates a one-time link that adds a file to a saved draft without the file's content passing through a tool call. Opening the link in a browser shows a page for choosing the file, and an HTTP PUT of the raw file to the link, such as with curl -T, also works. The file is attached under filename. The link works once and expires after 15 minutes. A draft's attachments can total 15 MB. Fluxmail Cloud passes the file to the mailbox and doesn't keep it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "draftId": "<draftId>",
      "filename": "<filename>"
    },
    "name": "create_attachment_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftIdYes
filenameYes
mimeTypeNo
accountIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond annotations (readOnlyHint=false, idempotentHint=false), the description discloses that the link is single-use, expires in 15 minutes, that a draft's attachments are capped at 15 MB total, and that the cloud provider does not retain the file. Those are exactly the operational constraints an agent needs before generating a link, and none of them appear in the annotations.

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

Conciseness4/5

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

Purpose is front-loaded and each sentence carries distinct information – mechanism, invocation methods, naming, expiry, quota, retention. It is dense but not padded, though the sentence on browser-vs-PUT could be tightened.

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?

With no output schema, a mutation-flagged tool, and four undocumented parameters, the description does substantial work: it conveys the return artifact implicitly (the link), its lifetime, size limits, and data retention. What is missing is explicit mention of what the response contains and the role of mimeType/accountId.

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% across four parameters, so the description must carry the load. It only clarifies filename ('The file is attached under filename') and implicitly draftId via 'saved draft'; mimeType and accountId are given no meaning anywhere, leaving half the parameters opaque.

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 opens with a precise verb and resource ('Creates a one-time link that adds a file to a saved draft') and immediately scopes it with the constraint that file content does not pass through a tool call. That detail alone distinguishes it from sibling tools like download_attachment or create_draft, which operate on existing content.

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 tells the agent how to use the link: open it in a browser to pick a file, or HTTP PUT raw bytes such as with curl -T. That is actionable context, but there are no explicit when-not conditions or named alternatives, so it stops short of full routing guidance.

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