Skip to main content
Glama

Get a link for adding files

create_upload_link

Produce a one-off link that puts files into this mailbox, for when you need to attach something that is NOT already in the mailbox and NOT reachable by URL - typically a file on the person's own computer. The files land in their Drafts folder as a draft, and check_upload then gives you a fileRef for each so you can attach them to a real message. That holding draft cleans itself up when you attach the files, so never offer to delete it. TWO WAYS TO USE THE LINK, AND YOU SHOULD PICK. If you can run shell commands or make HTTP requests yourself, upload the file directly and the person does nothing: curl -T "/path/to/file.pdf" "<uploadUrl>?filename=file.pdf". If you cannot, GIVE THE LINK TO THE PERSON and ask them to open it and choose their files - it needs no sign-in and no password, and it takes several files at once. Either way, call check_upload afterwards. DO NOT use this for a file already in this mailbox (read_email gives you a ref) or for one with a web address (pass it as an attachment url); both of those are automatic and this is not.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

The description goes far beyond the sparse annotations: it discloses that files land in Drafts as a holding draft, that the draft cleans itself up when files are attached, that the link requires no sign-in or password, and that check_upload provides fileRef values. This gives the agent important side-effect awareness that nothing in the annotations or schema conveys.

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 long, but every sentence earns its place: purpose, side effects, two usage modes, the mandatory follow-up, and explicit anti-usage cases. It is front-loaded with the core purpose and clearly organized, so the length is justified by the amount of behavior it must convey without an output schema.

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?

Given zero parameters, no output schema, and minimal annotations, the description is remarkably complete. It covers what the tool returns indirectly (uploadUrl), what the user receives (a no-login link), what happens to files (draft + auto-cleanup), the follow-up call (check_upload), and the exclusion cases. An agent has enough context to decide when and how to invoke it correctly.

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?

The input schema has zero properties, so there are no parameter semantics to explain. The description still references the expected returned uploadUrl and filename convention for the curl path, which is useful, but that is output/invocation context rather than input-parameter meaning. A 4 matches the baseline for a zero-parameter tool.

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 specific verb and resource: "Produce a one-off link that puts files into this mailbox." It also distinguishes itself from siblings by explicitly saying when not to use it (files already in the mailbox via read_email, or files with a URL). This makes the tool's purpose unmistakable and distinct from related tools like check_upload and read_email.

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?

Usage guidance is exceptionally concrete: use it for files not in the mailbox and not reachable by URL, typically local files. It gives two explicit modes of use — direct curl upload versus giving the link to the person — and tells the agent to call check_upload afterwards. It also states clear exclusions: do not use for in-mailbox files or already-URL-reachable files.

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.

TDQS

A4.3/5.0
Disambiguation4/5

Most tools target clearly distinct actions and resource types, and the near-overlapping pairs (archive_email vs move_email, check_bounces vs check_receipts) are explicitly cross-referenced in their descriptions. However, the delivery-status pair genuinely overlaps — both scan inbound mail to answer "did my message get there?" — and archive_email is functionally a role-aware move_email, so an agent could still select the wrong one without careful reading.

Naming Consistency4/5

Virtually every tool follows a consistent verb_noun pattern with clear prefix families (check_*, create_*, draft_*, list_*, mark_*, read_*). The single outlier is not_junk, which breaks the mark_* symmetry of its counterpart mark_junk and is not a standard verb-noun construction, though it remains perfectly readable.

Tool Count3/5

31 tools is firmly in the heavy range, though email is a genuinely broad domain spanning send/reply/forward, three draft variants, folder management, flags, junk handling, and diagnostics. Real consolidation was possible — check_bounces and check_receipts could be one delivery-status tool, archive_email is a special case of move_email, and the read-state/flag pairs could take boolean parameters — but each tool has a defensible job.

Completeness4/5

The core email lifecycle is thoroughly covered: send/reply/forward, three draft types plus draft editing, read/search/list/thread, full folder CRUD, move/archive/delete, flags, read state, junk handling, and file-upload intake. Minor gaps exist — there is no permanent-deletion or purge tool, no filter/rules management, and identity/contact maintenance is deliberately out of scope — but real user workflows can be completed without dead ends.

Resources