Skip to main content
Glama

upload_attachments

Upload a single file to a Vika datasheet attachment endpoint using its datasheet ID and file path, with optional file name and MIME type.

Instructions

Upload a single file to a datasheet attachment endpoint.

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": {
      "datasheetId": "<datasheetId>",
      "filePath": "<filePath>"
    },
    "name": "upload_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNameNo
filePathYes
mimeTypeNo
datasheetIdYesDatasheet ID, usually starts with dst.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=false, so the write/closed-world profile is covered. The description adds only the 'single file' scope, and says nothing about overwrite behavior on filename collision, size limits, or what the response contains. With annotations present the bar is lower, so a 3 is fair, but the mutation-specific risk details are absent.

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

Conciseness4/5

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

A single short sentence with no filler and the core action front-loaded. It is not padded, though brevity here reflects under-specification rather than disciplined editing.

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?

Hmm, corrected: for a mutation tool with four parameters, only 25% schema coverage, and no output schema, the description leaves the agent guessing about file source, collision behavior, and result shape. Incomplete relative to the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 25%: only datasheetId is documented in the schema. The description does not compensate for fileName, filePath, or mimeType — it does not say whether filePath is local or remote, whether fileName defaults to the basename, or whether mimeType is auto-detected. For a 4-parameter tool with low coverage, this is a clear gap.

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+resource: "Upload a single file to a datasheet attachment endpoint." The word "single" usefully constrains scope. It does not differentiate from any sibling, though no sibling in the listed set performs uploads, so the omission is low-cost.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance, no prerequisites (auth or permission scope, datasheet write access), and no mention of alternatives or limits on what can be uploaded. An agent must infer all of this.

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