Skip to main content
Glama

get_defocus_detection

Read-onlyIdempotent

Retrieves defocus detection settings for a specified camera channel, helping you inspect and verify focus/blur detection configuration.

Instructions

Get defocus detection settings.

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": "get_defocus_detection"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNoCamera channel (default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered by structured data. The description adds nothing beyond that: no mention of whether a camera connection or channel must be active, what settings are returned, or whether the read can fail.

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 short front-loaded sentence with no filler. It is efficient, though the brevity comes at the cost of substance rather than being tightly packed with information.

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

Completeness3/5

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

For a one-parameter read-only getter with full annotation coverage, the definition is minimally adequate. However, there is no output schema, so the description is the only place return values could be characterized, and it says nothing about them.

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?

There is a single optional parameter with 100% schema description coverage ("Camera channel (default 0)"), so the schema already fully documents it. The description contributes no additional meaning about the channel argument, which is the expected baseline when schema coverage is complete.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get defocus detection settings" states a verb and a resource, so the intent is unambiguous, but it is essentially a rephrasing of the tool name with only the word "settings" added. It does not articulate what these settings consist of or how they relate to the sibling setter.

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 call this versus set_defocus_detection or any of the other getter siblings such as get_tampering_detection. No prerequisites, no context about when defocus detection data is relevant.

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