Skip to main content
Glama

set_tampering_detection

Idempotent

Configures camera tampering detection by enabling alerts and setting sensitivity, threshold, duration, and darkness detection for a specific channel.

Instructions

Configure tampering detection enable, sensitivity, threshold, duration.

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_tampering_detection"
  }
}

Input Schema

NameRequiredDescriptionDefault
enableNoEnable/disable tampering detection
channelNoCamera channel (default 0)
durationNoDuration in seconds
thresholdLevelNoThreshold level (0-100)
sensitivityLevelNoSensitivity level (0-100)
darknessDetectionNoEnable darkness detection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false and openWorld=true, so the safety profile is covered. The description adds nothing beyond that: it does not say whether omitted parameters are left unchanged, whether changes apply live or require a restart, or that 'channel' selects which camera is affected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short fragment with no wasted words, but it reads as a comma-separated keyword dump rather than a front-loaded statement of intent, and the field list duplicates the schema instead of earning its place.

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 six-parameter mutation tool with no output schema, the description should cover the channel targeting, partial-update behavior, and any effect of the change. None of that is present, leaving the agent to guess at the consequences of the call.

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 the baseline is 3. The description echoes four of the six fields (enable, sensitivity, threshold, duration) that the schema already documents and omits channel and darknessDetection entirely, so it adds no meaning beyond the structured data.

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 names a specific verb ('Configure') and resource ('tampering detection') and enumerates the configurable aspects, so an agent can tell it is the write-side counterpart to get_tampering_detection. It stops short of explicitly contrasting itself with that sibling, but the intent is unambiguous.

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 versus get_tampering_detection, no note that reading current settings first is advisable, and no mention of prerequisites such as connecting to a camera. The agent must infer all usage context from the name alone.

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