Skip to main content
Glama

Prepare a file for your support ticket

upload_support_ticket_file

Get the upload URL, required Authorization header, attachment id, accepted file types and size limit. Send the file using the returned method and header, then pass the attachment id with your ticket or reply.

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": {
      "request_key": "<request_key>",
      "name": "<name>"
    },
    "name": "upload_support_ticket_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe original file name.
ticketNoThe ticket to attach the file to. Leave out for a new ticket.
request_keyYesMake a unique key for this change. Keep the same key and arguments when retrying it.
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

The annotations only say the tool is non-read-only, non-destructive, and closed-world, so what they add is modest. The description usefully discloses that the caller must perform the second step themselves – a real behavioral requirement – and lists what comes back. It does not say how long the URL or attachment id stays valid, what happens with an unused attachment, or how upload failures surface.

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?

It is two dense sentences with no filler. The payload of the call is front-loaded, followed immediately by the action required after the call returns.

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?

There is no output schema, but the description compensates by enumerating what comes back and how to use it. For a four-parameter tool this is nearly complete. The only gaps are lifecycle details such as URL expiration and what a failed upload looks like.

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?

Schema coverage is 100%, and every parameter has its own description, so the schema already explains name, ticket, request_key, and workspace_id. The description's only added meaning is the workflow link between the returned attachment id and the ticket/reply it is passed to. That is a baseline-appropriate contribution, not extra parameter depth.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description makes concrete what the tool actually returns: an upload URL, an Authorization header, an attachment id, accepted file types, and a size limit. That clarifies the misleading 'upload' in the name – it is really a prepare/register step – and separates it from read_support_ticket_file and upload_report_file. It does not explicitly name a sibling, so it stops short of a 5.

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?

The description lays out the calling sequence: fetch the URL and header, send the file with them, then pass the attachment id along with a ticket or reply. The schema complements this by noting that leaving out 'ticket' means a new ticket. It never states when not to use this tool or names an alternative file tool, so it is clear context rather than explicit routing.

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