Skip to main content
Glama

Upload ProteinIQ File

upload_file

Upload a file into the ProteinIQ file library for later use as a saved file input. Provide exactly one of file, content_base64 or content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoA file the user attached in the chat. Supplied by the client; do not construct it.
tagsNoOptional file tags.
contentNoPlain UTF-8 file content. Do not combine with content_base64.
filenameNoOriginal filename, including extension. Required unless the attached file has a name.
mime_typeNoOptional MIME type, for example text/plain.
descriptionNoOptional file description.
collection_idsNoOptional collection IDs to attach.
content_base64NoBase64-encoded file bytes. Use this for binary or large text files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / file
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "A file the user attached in the chat. Supplied by the client; do not construct it.",
      +  "properties": {
      +    "download_url": {
      +      "type": "string"
      +    },
      +    "file_id": {
      +      "type": "string"
      +    },
      +    "file_name": {
      +      "type": "string"
      +    },
      +    "mime_type": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "download_url",
      +    "file_id"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / filename / description
      Previous value: -"Original filename, including extension."New value: +"Original filename, including extension. Required unless the attached file has a name."
    • changedInput schema / required
      Previous value: -[
      -  "filename"
      -]New value: +[]
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the safety profile is covered and the description is consistent with it. The description adds only the mutual-exclusivity rule across the three input modes; it says nothing about overwrite/duplicate handling, size limits, permissions, or what the caller gets back to reference the file later.

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 sentences, zero filler, with the destination and purpose front-loaded before the input constraint. Nothing is redundant with the title.

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?

Adequate but thin for an 8-parameter mutation tool with no output schema: the agent is never told what the operation returns (e.g., a file_id needed for later get_file/read_file calls) or how collection_ids/tags affect subsequent retrieval. No required parameters are explained either, so the 'exactly one-of' rule is the only guard against a malformed call.

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 baseline is 3. The 'exactly one of file, content_base64 or content' statement does add tri-state exclusivity that the schema only partially expresses (only content warns against content_base64), but it contributes no format, size, or value details beyond the schema.

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?

States a specific verb (upload) and destination (ProteinIQ file library) plus the downstream purpose ('for later use as a saved file input'), which goes beyond the name/title. It does not explicitly contrast itself with the read-side siblings (get_file, list_files, read_file), but the action and target are unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied via 'for later use as a saved file input' – an agent can infer this is the write/store counterpart to get_file/read_file, but no when-to-use condition or alternative is named. The 'provide exactly one of' sentence is an input constraint, not routing guidance.

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