Skip to main content
Glama
bitterdev

simple-support-system-mcp

by bitterdev

Upload a file

upload_attachment

Upload a local file to the site's file manager to get a file ID for attaching to support tickets.

Instructions

Upload a local file into the file manager of the site and return its file id. The file is not linked to a ticket yet, pass the id to add_ticket_attachments or to create_ticket.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNameNoFile name to store it under, defaults to the name of the local file.
filePathYesAbsolute path of the local file to upload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A4.5/5.0
Behavior4/5

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

With only openWorldHint in the annotations, the description carries most of the burden: it discloses the return value (file id) and the crucial behavioral fact that the upload is unlinked to any ticket, which dictates downstream flow. It does not mention permissions, size limits, or overwrite behavior for same-named files, so it is strong rather than complete.

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?

Two tightly written sentences with zero filler; the purpose and the follow-up routing are both front-loaded and every clause earns its place.

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?

Despite having no output schema, the description explains what is returned (file id) and how it should be used next. For a two-parameter, single-required upload tool this covers everything an agent needs to invoke it correctly.

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 description coverage is 100%, so both filePath and fileName are already documented in the schema with their defaults and format ('absolute path', default name). The description adds no additional parameter meaning, making the baseline 3 appropriate.

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?

Specific verb+resource+outcome: 'Upload a local file into the file manager of the site and return its file id.' It is clearly distinguishable from siblings like download_attachment and add_ticket_attachments, and the return value is stated up front.

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 states the post-upload state ('The file is not linked to a ticket yet') and routes the agent to the correct next tools ('pass the id to add_ticket_attachments or to create_ticket'). This is exactly the when-to-use/alternatives guidance the dimension asks for.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.