Skip to main content
Glama

Upload File to Object

upload_file_to_object

Upload a file to an object. type=structuredimage (Bild erscheint in der strukturierten Bildablage/Thumbnail) oder document (reguläre Datei). name=Kategorie-Image-Name (z.B. Image01.jpg) bei structuredimage. SSR: landet im write_scope falls read-only. RUECKGABE: file_udid (32-hex). Genau dieser Wert gehoert in formdef.template_file, wenn die Datei als PDF-Vorlage dienen soll. | EN: file, upload, document, attachment

Input Schema

NameRequiredDescriptionDefault
nameNoKategorie-Name bei structuredimage (z.B. Image01.jpg)
typeNostructuredimage (Thumbnail/Bildablage) oder document
udidYesObject udid (32-hex)
filenameYesFilename
file_base64YesFile content as base64

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish that this is a non-readonly, non-destructive mutation. The description adds meaningful behavioral context beyond annotations by explaining structuredimage behavior, the read-only write_scope fallback, and that the return value is file_udid, including where that value belongs for PDF templates. It still omits permissions, limits, and overwrite behavior, but it adds substantial value.

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

Conciseness2/5

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

The core information is front-loaded, but the description is cluttered by mixed German/English prose, cryptic abbreviation such as 'SSR', and an SEO-style keyword suffix. Those elements reduce immediate readability and do not all earn their place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description usefully states the return value as file_udid and its downstream use. However, for a file upload mutation it does not mention permissions, size/type limits, overwrite behavior, or error cases, leaving some operational gaps.

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 the schema already documents all five parameters. The description clarifies the semantic distinction between structuredimage and document and the special name meaning for structuredimage, but it largely mirrors the schema and does not add deep syntax or validation details for udid, filename, or file_base64.

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 opening sentence states a clear verb+resource: upload a file to an object. The description also distinguishes the two upload modes, structuredimage versus document, which is useful. It does not explicitly differentiate itself from siblings such as upload_staging_csv or upload_code_allowlist, 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?

It gives concrete usage context: structuredimage produces a thumbnail/structured image filing, and document is for regular files. It also explains the downstream use case where file_udid becomes formdef.template_file for PDF templates. It lacks explicit when-not-to-use guidance or sibling alternatives.

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.