Skip to main content
Glama

file_upload_create

Create a short-lived direct upload session for one Drive path prefix

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": {
      "workspaceSlug": "<workspaceSlug>",
      "body": "<body>"
    },
    "name": "file_upload_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-destructive, closed-world write. The description adds genuine behavioral context beyond them: the session is short-lived and the upload is direct, meaning data transfer occurs outside this call. However, it does not state what the session response looks like (URL, token, expiry duration) or any permission requirements, so the profile remains incomplete.

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 the key qualifiers (short-lived, direct, one path prefix) front-loaded and no filler. It is efficient, though so terse that it borders on under-specification.

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

Completeness2/5

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

There is no output schema, a nested input object, and zero schema description coverage, so the description carries most of the burden. It omits the return contract (upload endpoint/token and expiry), how to actually perform the upload, and the meaning of workspaceSlug, which leaves real gaps for a session-creation tool.

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 description coverage is 0% for two parameters, including a nested body object with a required pathPrefix, so the description must compensate and largely does not. It hints that pathPrefix is a Drive path prefix rather than a full file path, but workspaceSlug and path-prefix formatting constraints (trailing slash, folder must exist) are left unexplained.

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 states a specific verb ("Create") and a specific resource ("short-lived direct upload session") scoped to "one Drive path prefix." An agent can distinguish this from download-oriented siblings like file_download_create, though it does not name any of the train_upload_* alternatives.

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?

The phrase "direct upload session" implies the usage pattern (obtain a session, then upload out-of-band), but there is no explicit when-to-use or when-not-to-use guidance and no mention of the several sibling tools that also create upload sessions/URLs. The agent must infer selection criteria.

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.