Skip to main content
Glama

Upload a photo or video (step 1)

start_media_upload

Start uploading the owner's own photo or video. Returns, per file, an upload_id and a URL to PUT the bytes to. Then call complete_media_upload, wait until get_media_upload says ready, and pass the upload_id in create_post's media. Changes the owner's account.

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

Input Schema

NameRequiredDescriptionDefault
filesYes
brand_idNoOptional business id from list_brands (default: this connection's business).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false; the description adds the meaningful extra note "Changes the owner's account," which flags a state mutation without contradicting the hints. It also discloses the per-file return values, which annotations do not cover, though it omits size limits, content-type constraints, and whether retrying an upload is safe given idempotentHint=false.

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?

Three short sentences with the action and return value front-loaded, followed by the sequencing chain. No redundant restatement of the title and no filler.

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 mutation with no output schema, the description supplies the mutation warning, return shape, and the full multi-step workflow an agent needs to finish the upload. The remaining gap is per-file parameter constraints, which neither schema nor description cover.

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 coverage is 50%: brand_id carries its own description (defaults to the connection's business), but the nested UploadFileSpec fields (name, content_type, size_bytes) have no descriptions anywhere. The description only implies a files array via "per file" and adds no guidance on content_type format or size limits, so it fails to compensate for the uncovered half.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Start uploading the owner's own photo or video") plus the exact return shape per file (upload_id and a PUT URL). The title's "step 1" framing is reinforced in the body, so an agent can distinguish it from complete_media_upload and get_media_upload without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit downstream sequence: call complete_media_upload, wait until get_media_upload reports ready, then pass the upload_id in create_post's media field. The word "owner's own" implicitly scopes out third-party content, and the sibling calls are named directly rather than left to inference.

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