Skip to main content
Glama

Spacery: Matterport and 3D scan hosting

Upload files

upload_files

Starts resumable uploads for capture files the agent holds (for example photos or video shared in the conversation) and returns where to PUT each file's bytes. Files on the person's own device are dropped on the space's page instead.

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": {
      "space_id": "<space_id>",
      "files": "<files>"
    },
    "name": "upload_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYes
space_idYesThe space ID (12 hexadecimal characters) from create_space or space_status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare this is a non-read-only, non-destructive, non-idempotent write scoped to the closed environment. The description adds the critical behavior beyond that: this is a begin-phase call that returns PUT targets rather than transferring bytes itself, so an agent knows to follow up with an actual HTTP PUT and a separate completion step. It omits upload expiry, size caps, and auth expectations for the PUT target.

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. The scope-defining clause comes first and the disambiguation clause second, so the agent reads the selection criterion before the edge case.

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?

For a two-parameter mutation tool with no output schema, the description covers the essential contract: what it does, which files qualify, and that it returns PUT destinations. It is missing only secondary detail — what completes the upload afterwards, limits, and error conditions — which is defensible given no output schema exists to lean on.

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?

With 50% schema description coverage, the schema already documents space_id, size, and type, and the description adds little per-parameter detail. It implies a per-file response ("returns where to PUT each file's bytes"), which hints that each entry in files maps to an upload target, but leaves constraints such as filename/extension rules and size limits unstated.

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?

Uses a specific verb and resource — "Starts resumable uploads for capture files" — and scopes which files qualify (agent-held capture files such as photos or video shared in the conversation). It distinguishes itself from generic upload behavior by contrasting with files on the person's device. It does not name the follow-up sibling (finish_upload), so the boundary with siblings is implied rather than stated.

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?

Gives a clear positive condition (files the agent holds) and an explicit exclusion with the alternative route (files on the person's own device are dropped on the space's page instead), which prevents the most likely misuse. It stops short of naming finish_upload as the required next step, so the agent must infer the remainder of the two-phase flow.

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.