Skip to main content
Glama

Upload a model

create_upload

Start a quote for an STL file (units: millimetres). Returns quote_id and a one-time link: PUT the file's bytes to upload.url with the given Content-Type header and Content-Length equal to size_bytes, within 10 minutes. Then call get_price.

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": {
      "filename": "<filename>",
      "size_bytes": "<size_bytes>"
    },
    "name": "create_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesThe file name, ending .stl
size_bytesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, closed-world mutation. The description adds genuinely useful behavior beyond that: it returns quote_id plus a one-time upload URL, requires a PUT with matching Content-Type and Content-Length, and the link expires in 10 minutes. It still omits what happens on expiry or on repeated calls (relevant since idempotentHint is false) and does not mention the 50 MB ceiling enforced by the schema.

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, both front-loaded: the action and units come first, then the operational contract and the required follow-up call. Every clause carries information the agent needs; nothing is redundant.

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, non-idempotent tool with no output schema, the description adequately covers the two-phase upload flow and tells the agent which tool to call next. Missing edge-case behavior (expired link, size-limit rejection, re-entry) keeps it below complete.

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 50% — filename is documented, size_bytes carries only numeric bounds. The description partially compensates by tying size_bytes to the Content-Length of the PUT and noting millimetre units, but it never states the 52428800 byte limit or validation behavior, so it does not fully close the 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 and resource ('Start a quote for an STL file'), and the closing 'Then call get_price' positions it as the first step of a distinct workflow, distinguishing it from the pricing sibling. It does not explicitly contrast with list_quotes or place_order, so it stops short of full sibling differentiation.

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?

Gives a clear procedural sequence — start the quote, PUT the bytes, then call get_price — which implicitly tells the agent this is the entry point. However, it offers no exclusions such as when to use place_order or list_quotes instead, and no guidance on what to do if the 10-minute window lapses.

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