Skip to main content
Glama

set_overlay

Idempotent

Configure camera overlay title text, time display, weekday, and font size to label live video with clear on-screen information.

Instructions

Configure overlay: title text, time display, font size.

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

Input Schema

NameRequiredDescriptionDefault
titleNoTitle text to display
channelNoCamera channel (default 0)
fontSizeNoFont size: Small, Medium, Large
timeEnableNoShow time overlay
timeFormatNoTime format: YYYY-MM-DD, MM/DD/YYYY, DD/MM/YYYY
titleEnableNoShow title overlay
weekdayEnableNoShow weekday in overlay
titlePositionXNoTitle X position (0-9)
titlePositionYNoTitle Y position (0-9)

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, so the safety profile is covered. The description adds essentially no behavioral context beyond the parameter list: it does not say settings persist to the device, that unspecified fields are left unchanged, or whether a channel must exist.

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 terse fragment with the resource front-loaded and no filler. It is efficient, though the fragment style omits any connective context that would make it more useful.

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 9-parameter mutation tool with no output schema, the description is minimal but the schema fully documents the parameters and annotations cover the safety profile. It stops short of noting per-camera scoping or partial-update behavior, leaving some gaps an agent would want.

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 one of the nine parameters is already documented in the schema. The description restates three fields (title, time, font size) without adding format, range, or interaction details such as how titleEnable gates title, so the baseline 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?

States a specific verb and resource: 'Configure overlay' plus the kinds of settings it covers (title text, time display, font size). It does not differentiate from the closely related get_overlay or set_osd siblings, so an agent must infer which overlay tool is the mutator, but the verb 'Configure' does signal a write to overlay settings.

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?

No guidance on when to use this versus set_osd or get_overlay, and no prerequisites stated (e.g., that overlays are per-camera and must be read first). The agent is left to infer usage entirely from the name.

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