Skip to main content
Glama

lom_batch

Execute multiple raw LOM get, set, or call operations in one round trip to reduce latency. Use when you need several Live Object Model reads or writes at once.

Instructions

Execute multiple raw LOM operations (get, set, call) in a single round trip.

One trip instead of many, which is what makes a wide read affordable at roughly
450 ms per round trip.

Returns:
    Dictionary containing ordered results for each operation.

Note:
    A batch runs inside one handler call, so nothing Live recomputes between
    operations is visible to a later operation in the same batch. A read that follows
    a transport jump in the same batch still reports the position from before the
    move. Four jumps interleaved with four reads returned four identical pre-jump
    values and no error at all. That is the failure shape to expect here. It does not
    raise. It returns a clean set of numbers that look like a measurement of a
    parameter which never changes, and the conclusion drawn from them is wrong. Sample
    a moving transport with one call per position, never inside a batch.

    ``atomic`` is a stop switch and not a transaction: nothing is undone. After a
    partial failure, read the state back rather than assuming either all or none
    of the batch landed.

    Prefer a dedicated tool for anything it covers. get_session, get_track and
    get_devices already batch their own reads, and set_mix writes a whole mixer
    in one trip, each with verification this does not perform.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opsYesThe operations to run, in order. Each one declares its own op, path and payload; the item schema carries the field meanings.
atomicNoTrue stops at the first error, leaving the operations before it applied and the ones after it untried. False runs every operation and reports each result. Neither rolls anything back.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / atomic / description
      Added value: +"True stops at the first error, leaving the operations before it applied and the ones after it untried. False runs every operation and reports each result. Neither rolls anything back."
    • addedInput schema / properties / ops / description
      Added value: +"The operations to run, in order. Each one declares its own op, path and payload; the item schema carries the field meanings."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

The description transparently explains the atomic parameter's effects: 'True stops at the first error, leaving the operations before it applied and the ones after it untried. False runs every operation and reports each result. Neither rolls anything back.' It also notes the absence of verification, which is a behavioral trait. This does not contradict the annotations.

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?

The description is moderately verbose and includes a somewhat meandering example about 'Four jumps interleaved with four reads' that does not add meaningful guidance. The core information is present, but it could be tightened without losing clarity.

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?

The description covers the main aspects needed: batching, atomic behavior, no rollback, and preference for dedicated tools. It does not detail the exact return format, but the output schema likely handles that. Given the tool's complexity, the description is largely complete, though slightly lacking in explicit error handling details.

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

Parameters4/5

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

The schema already covers parameter meanings extensively (100% coverage). The description adds context about 'raw' operations and the lack of rollback, but does not introduce new parameter semantics beyond what the schema and the atomic explanation provide. Thus a strong score but not a perfect 5.

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 clearly states the purpose: 'Execute multiple raw LOM operations (get, set, call) in a single round trip.' It also distinguishes itself from sibling tools by advising to prefer dedicated tools for covered functionality, making its role unambiguous.

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

Usage Guidelines5/5

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

The description explicitly explains when to use this tool versus alternatives: 'Prefer a dedicated tool for anything it covers. get_session, get_track and get_devices already batch their own reads, and set_mix writes a whole mixer in one trip, each with verification this does not perform.' It also clarifies the atomic flag behavior, giving clear usage direction.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/romanstark/live-maestro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server