Skip to main content
Glama

Compare an approved shot list with a declared edit inventory

compare_shot_inventory
Read-onlyIdempotent

Free deterministic check for shot IDs missing from a supplied inventory, unexpected or repeated IDs, and order. If all items have start/end times, also reports gaps and overlaps within the supplied single-track timeline. List delivered items in timeline order. Set inventoryComplete true only if the caller knows the inventory covers the whole edit. This does not inspect video, infer a shot from a prompt, identify an object or decide whether repeats, gaps or transitions are intentional. Review before another render.

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": {
      "plannedShots": "<plannedShots>",
      "deliveredShots": "<deliveredShots>"
    },
    "name": "compare_shot_inventory"
  }
}

Input Schema

NameRequiredDescriptionDefault
plannedShotsYes
deliveredShotsYes
inventoryCompleteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world, so the bar is lower; the description still adds cost/determinism ('Free deterministic check'), the single-track limitation for gap/overlap analysis, and the caveat that intentionality of repeats/gaps is not judged. It stops short of describing the shape of the returned report (how missing vs. out-of-order items are surfaced), which is the main remaining behavioural gap.

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?

Front-loads the capability in the first sentence and follows with scope limits and the inventoryComplete rule; every clause maps to a distinct decision the caller must make. The run-on negative sentence listing four unrelated non-capabilities is the one place wording could be tightened.

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?

With no output schema, the description usefully enumerates what the check reports (missing IDs, unexpected/repeated IDs, order, gaps/overlaps) but leaves the concrete result format and ordering of findings unspecified. For a low-complexity, three-parameter read-only check this is close to sufficient, though an agent cannot fully predict the response payload.

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?

With 0% schema description coverage and three parameters, the description carries real weight: it explains that deliveredShots must be in timeline order, that startSeconds/endSeconds enable gap/overlap reporting only when all items supply both, and that inventoryComplete changes whether absence of an ID is meaningful. It does not clarify why plannedShots is a bare string list while deliveredShots is a nested object, nor the item-count limits.

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 and resource: a deterministic comparison of shot IDs in a planned list against a supplied edit inventory, reporting missing, unexpected, repeated IDs and order. The scope ('supplied inventory', 'supplied single-track timeline') makes it clearly distinct from video-inspecting siblings such as scan_repeated_shots or check_repeated_sequence without relying on names alone.

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?

Gives concrete calling conditions ('List delivered items in timeline order', 'Set inventoryComplete true only if the caller knows the inventory covers the whole edit') and clear exclusions ('does not inspect video, infer a shot from a prompt, identify an object'). It does not name an alternative tool to use instead when the input is a video or prompt, so routing to siblings is left implicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.