Skip to main content
Glama

set_privacy_mask

Idempotent

Enable or disable a camera's privacy mask and set its color to block sensitive areas from view.

Instructions

Enable/disable privacy mask and set color.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_privacy_mask"
  }
}

Input Schema

NameRequiredDescriptionDefault
enableNoEnable/disable privacy mask
channelNoCamera channel (default 0)
maskColorNoMask color (Gray, White, Black, Red, Blue, Green)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.9/5.0
Behavior2/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 safety profile is largely covered. The description adds essentially nothing beyond that: it does not say what the mask obscures, whether color is ignored when disabled, or whether a channel must be online. It mostly restates the parameters.

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?

One compact sentence with the action front-loaded and no filler. It is efficient rather than padded, though the brevity is partly under-specification rather than deliberate economy.

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

Completeness2/5

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

For a mutation tool with three optional parameters and no output schema, the description leaves key gaps: what enabling actually does to the video stream, whether settings persist, and how the channel parameter scopes the change. Annotations cover the safety profile, but the behavioral picture is thin.

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%, including the enumerated color values and the channel default, so the baseline is 3. The description's 'set color' adds no semantics beyond the schema and it omits any mention of the channel parameter.

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: enabling/disabling the privacy mask and setting its color. An agent can distinguish this from the sibling get_privacy_mask purely by the 'Enable/disable ... and set' framing, though the description never names that counterpart explicitly.

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 explicit when-to-use or when-not-to-use guidance, no prerequisite or permission notes, and no reference to the sibling config tools. The only implied usage is that this is the write counterpart to a getter, which the reader must infer.

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