Skip to main content
Glama

set_video_profile

Idempotent

Update a camera video profile's encoding, resolution, frame rate, bitrate, or codec settings to match your streaming or recording needs.

Instructions

Update a video profile's encoding, resolution, FPS, bitrate, or codec settings.

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": {
      "profile": "<profile>"
    },
    "name": "set_video_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoProfile name
bitrateNoBitrate in kbps
channelNoCamera channel (default 0)
profileYesProfile number to update
frameRateNoFrame rate
govLengthNoGOV length
resolutionNoResolution (e.g. 2560x1440)
encodingTypeNoEncoding type (H264, H265, MJPEG)
bitrateControlTypeNoBitrate control (CBR, VBR)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds the scope of settings that can be changed but does not say whether omitted fields are preserved (partial update) or reset, nor whether changes take effect immediately or require a device restart. With annotations present, this is a moderate gap rather than a severe one.

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?

A single, front-loaded sentence that names the verb, the resource, and the mutable fields with no wasted wording. Nothing is buried or repeated.

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 9-parameter mutation tool with full schema coverage and annotations covering the safety profile, the definition is close to complete. The one meaningful omission is whether unspecified settings are preserved, which matters for an idempotent update, but the lack of an output schema means return-value explanation is not required.

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 100%, so every parameter is already documented in the schema. The description merely restates the field categories and adds no syntax, ranges, or format detail beyond what the schema provides, so the baseline of 3 applies.

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 uses a specific verb (update) and resource (video profile) and enumerates the affected settings (encoding, resolution, FPS, bitrate, codec). It is clear on its own, but it never contrasts itself with the sibling profile tools such as add_video_profile or remove_video_profile, leaving the differentiation to the name alone.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus add_video_profile or get_video_profiles, nor any stated prerequisites such as needing an existing profile number or camera connection. The only implied usage is that an update applies to an already-configured profile.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.