Skip to main content
Glama

Set export settings

set_export_settings
Idempotent

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. WRITE: the EXPORTED FILE's size or bitrate target: 'make the download under 4.5GB for a DVD', 'a smaller file', 'under 2 GB for the upload limit', 'set the bitrate'. max_size_gb / max_size_mb is the whole MP4's ceiling (GB = 10^9 bytes; a single-layer DVD holds 4.7); video_kbps caps the picture's bitrate. The export encodes under the bitrate that fits the film's length, measures the delivered file and re-encodes it in two passes until it fits. The result gives the measured ceiling for this film: report it. clear=true removes the target. Previews are unchanged.

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>"
    },
    "name": "set_export_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
clearNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.
video_kbpsNo
max_size_gbNo
max_size_mbNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true), the description discloses genuinely non-obvious behavior: the export encodes under the bitrate that fits the film's length, measures the delivered file and re-encodes in two passes until it fits, meaning this is an expensive iterative write rather than a simple flag set. It also states that previews are unchanged and that the measured ceiling should be reported back, which is exactly the operational context an agent cannot get from structured fields.

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?

Front-loading the scope and write-mode labels before the mechanics is good structure, and the illustrative user phrasings earn their space by aiding intent matching. The middle sentences are long and comma-spliced, making the size-versus-bitrate distinction slower to parse than necessary, but little is outright 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?

With no output schema, the description steps in to say the result carries the measured ceiling for this film and that it should be reported, which covers the return value. For a five-parameter mutation on a media pipeline, the remaining gap is edge-case handling (conflicting size fields, invalid bitrate, what happens to an existing target when only video_kbps is set).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20%, so the description must carry the load, and it does for the key parameters: units for max_size_gb (10^9 bytes, DVD 4.7 as a reference point), max_size_mb as the same ceiling, video_kbps as the picture bitrate cap, and clear=true as target removal. It does not explain how max_size_gb and max_size_mb interact if both are passed, nor any bounds on video_kbps.

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 opens with explicit labels (PROJECT-SCOPED, WRITE) and states the resource precisely: the exported file's size or bitrate ceiling, with max_size_gb/max_size_mb as the whole-MP4 cap and video_kbps as the picture bitrate cap. It is unambiguous what is being configured, though it never names a sibling such as export_final to contrast this settings tool with the actual export action.

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?

Concrete trigger phrases are supplied ('make the download under 4.5GB for a DVD', 'a smaller file', 'under 2 GB for the upload limit', 'set the bitrate'), so an agent can map user intent to this call, and clear=true is documented as the removal path. There is no explicit statement of when-not to use it versus a sibling, and no note on precedence when both size fields are supplied.

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.