Skip to main content
Glama

Open an upload link for a piece

open_channel

Opens an upload link for ONE piece: a URL with which a device uploads files into the piece's material without signing in. own is the creator on another device (the link shown as a QR code); guest is a third party, who first reads and accepts an authorization text on the link's page. The link only uploads (it cannot read the account), expires, has a cap of files and bytes and can be revoked; what a guest sends is not used in the video until the piece's owner accepts it. Returns the URL once (link) and the channel (channel: state, caps, expiry). Only the piece's owner. Upload links may not be available to every account yet: then forbidden with extensions.reason=no_ofrecido. Requires write. $0.

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": {
      "project_id": "<project_id>",
      "mode": "<mode>"
    },
    "name": "open_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes`own`: the creator uploads from another device. `guest`: a third party uploads after consenting.
purposeNoWhat the creator asks for, in their words (up to 240 characters); the link's page shows it.
ttl_hoursNoHow long the link lives, in hours; the house bounds it (the answer states the expiry).
project_idYes
permission_scopeNoFor a guest: what the consent covers — this piece only (default) or the creator's pieces.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses the security envelope: the link only uploads and cannot read the account, it expires, has file and byte caps, is revocable, and guest content is not used in the video until the owner accepts it. It also names the failure mode ('forbidden' with extensions.reason=no_ofrecido), the required write scope, and the $0 cost.

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 dense paragraph that front-loads the core action and the return shape before the caveats. Every sentence carries information, though the run-on construction packing mode semantics, caps, consent, return values, and error codes into one block slightly reduces scannability.

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

Completeness5/5

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

There is no output schema, and the description compensates by naming the return payload ('link' and 'channel' with state, caps, expiry). Combined with the permission requirement, the unavailability error code, and the guest-consent flow, an agent has everything needed to invoke and interpret this tool correctly.

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 80% and the schema already documents mode, purpose, ttl_hours, and permission_scope with enums, so the description is not obliged to re-explain them. It does add some context (the guest consent page, the house bounding ttl and reporting expiry in the answer), but project_id remains undocumented in both places, which caps the score at the baseline.

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 ('Opens an upload link') scoped to 'ONE piece', and immediately defines what the artifact is: a URL a device uses to upload files without signing in. An agent can distinguish this from a generic upload or read operation without opening the schema.

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?

The two modes are given operational meaning ('own' = creator on another device, shown as QR; 'guest' = third party who must first read and accept an authorization text), plus a clear precondition 'Only the piece's owner.' What is missing is explicit routing against siblings such as request_upload or close_channel, so the agent must infer which tool starts a channel versus which one finishes it.

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