Skip to main content
Glama

Get an upload link

request_upload

Returns a one-hour HTTPS upload link: PUT/POST a file to it (curl -T file , or open it in a browser); the file lands in "mailmcp-uploads" and appears in list_uploads. Anyone with the link can upload. Upload it yourself if you can run commands; otherwise give the link to the user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYeslist_accounts id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / account / description
      Previous value: -"Account id from list_accounts"New value: +"list_accounts id"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations cover safety (readOnly=false, destructive=false), and the description adds real behavioral context beyond them: the link expires in one hour, anyone holding it can upload, and the resulting file surfaces in list_uploads. That is valuable operational detail the annotations don't carry.

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?

One dense paragraph, front-loaded with what is returned, followed by invocation mechanics and the routing decision. Every clause carries information; nothing is padding.

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?

No output schema is needed because the description already explains the return value (a one-hour URL), how to consume it, and the side effect (file appears in list_uploads). For a one-parameter tool this is fully sufficient.

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?

With a single parameter and 100% schema description coverage, the schema already explains 'account' as the list_accounts id. The description adds no further parameter meaning, so the baseline of 3 applies.

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 resource and outcome: returns a one-hour HTTPS upload link, where the file lands ("mailmcp-uploads"), and that it shows up in list_uploads. An agent can distinguish this from siblings like upload_attachment without opening either schema.

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?

Gives an explicit conditional: upload it yourself if you can run commands, otherwise hand the link to the user. It doesn't name the alternative sibling (e.g. upload_attachment) explicitly, so the routing is clear but not tied to a named tool.

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.