Skip to main content
Glama

obsbot_preset_save

Save the gimbal's current yaw/pitch pose into preset slot 1, 2, or 3; occupied slots are rejected, so delete a slot before saving.

Instructions

Save the gimbal's current live pose (yaw/pitch, via the standard UVC Pan/Tilt controls) into preset slot 1|2|3. Slots are create-once on this device — there is no overwrite, so an occupied slot is rejected (delete it first). 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_save"
  }
}

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. Addedv0.6.2

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses the pose source, create-once semantics, rejection of occupied slots, and post-write verification by re-reading the slot list. It leaves some gaps around the camera parameter and exact return/error behavior, so it is not exhaustive.

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?

The description is three tight sentences, front-loaded with the action and slot target, followed by the create-once constraint and verification behavior. Every sentence adds useful information with no wasted wording.

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

Completeness4/5

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

For a mutation tool with no annotations and no output schema, the description covers the critical constraints: what is saved, allowed slots, no-overwrite behavior, and verification. It is nearly complete, but omits the camera parameter's meaning and does not describe what the verification result looks like.

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 0%, so the description must compensate. It fully explains the slot parameter's semantics and the 1|2|3 restriction, but it never explains the optional camera string parameter, leaving one of two parameters undocumented in both schema and description.

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?

The description states a specific verb and resource: save the gimbal's current live pose into a preset slot. It specifies the mechanism (yaw/pitch via standard UVC Pan/Tilt controls) and slot range, which clearly distinguishes it from siblings like obsbot_preset_recall, obsbot_preset_update, and obsbot_preset_delete.

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?

It gives clear context: use this to create a slot, not overwrite one, and delete an occupied slot first. This implicitly explains when not to use it. However, it does not explicitly name the alternative tool, such as obsbot_preset_update, for modifying existing slots, so it stops short of full when-to-use/when-not guidance.

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