Skip to main content
Glama

obsbot_preset_update

Update an occupied preset slot (1–3) with the gimbal’s current live pan/tilt pose, then verify the saved position by re-reading the slot list.

Instructions

Overwrite preset slot 1|2|3 with the gimbal's current live pose (yaw/pitch via the standard UVC Pan/Tilt controls). The slot must already be occupied (save first to create it). Verifies by re-reading the slot list after writing.

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": {
      "slot": "<slot>"
    },
    "name": "obsbot_preset_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYes
cameraNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.6
    • removedInput schema / properties / slot / allOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "enum": [
      -      1,
      -      2,
      -      3
      -    ],
      -    "type": "number"
      -  }
      -]
    • addedInput schema / properties / slot / anyOf
      Added value: +[
      +  {
      +    "const": 1,
      +    "type": "number"
      +  },
      +  {
      +    "const": 2,
      +    "type": "number"
      +  },
      +  {
      +    "const": 3,
      +    "type": "number"
      +  }
      +]
  2. First observedv0.6.2

TDQS

A4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses that existing slot contents are destroyed, that the write requires a pre-existing slot, that the underlying mechanism is UVC Pan/Tilt, and that it self-verifies by re-reading the slot list. Undisclosed: failure behavior if the slot is empty and whether verification failure surfaces as an error.

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?

Two sentences, zero filler. The destructive overwrite semantics and the slot values come first, with the precondition and verification behavior following in the natural reading order.

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?

The mutation semantics, precondition, and verification are all covered, and no output schema exists to explain return values. However, the undocumented 'camera' parameter and the absence of any note on what happens when the slot is empty or the camera is ambiguous leave real gaps for a two-parameter mutating tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds real meaning for 'slot' (must already be occupied, values 1-3 — though the anyOf/const already constrains the range), but the 'camera' parameter is never mentioned in either the schema or the description, leaving an agent to guess whether it is a device path, index, or ID.

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

Purpose5/5

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

States a specific verb ('Overwrite'), a specific resource ('preset slot 1|2|3'), and the exact payload written ('the gimbal's current live pose (yaw/pitch via the standard UVC Pan/Tilt controls)'). The overwrite framing separates it cleanly from obsbot_preset_save, which creates slots.

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

Usage Guidelines4/5

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

Provides a clear precondition ('the slot must already be occupied') and routes the agent to the creating alternative ('save first to create it'). It does not mention the rename/delete/recall siblings, but the only realistic confusion — save vs. update — is resolved explicitly.

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

Deploy Server

Other Tools