Skip to main content
Glama
Symphony Log MCP Server

Symphony Log MCP Server

Official
by senstar

sym_retention

Analyze per-camera footage retention timelines to detect recording gaps and correlate them with download records and camera logs, explaining why gaps exist.

Instructions

Footage retention and gap analysis from FootageFiles database table. Builds per-camera timeline, detects gaps, correlates with CameraDownload table and camera logs to explain WHY gaps exist. Requires bug report package with TableFootageFiles.txt.

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": "sym_retention"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format (default: text). jsonl returns one JSON object per gap row.
logDirNoOverride log directory for this call only. Absolute path to a log directory or bug report folder. If omitted, uses the directory set by sym_open (or LOG_DIR env var).
endTimeNoEnd of analysis window (ISO 8601)
cameraIdNoFilter to a specific camera ID
serverIdNoFilter to a specific server ID
startTimeNoStart of analysis window (ISO 8601)
outputFileNoWrite output to file instead of returning inline
investigateNoCorrelate gaps with camera logs for root cause (default: true)
minGapMinutesNoMinimum gap duration to report in minutes (default: 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.11

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of disclosure. It usefully names the data sources and the correlation behavior that produces root-cause explanations, and it states the required input artifact. It does not say the operation is read-only or whether the analysis is slow, and it never mentions that the tool can write results to a file, which is left entirely to the schema.

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?

Three sentences that front-load what the tool produces, then how it does it, then what it requires. There is no filler or repetition. It could be tightened further, but nothing is wasted.

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 tool has 9 optional parameters, no output schema, and no annotations, which is a heavy documentation burden. The description still covers the core workflow, its data sources, its correlation step, and its input prerequisite. What is missing is mainly the return shape, namely gap rows, and any hint of read-only behavior.

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 parameter already carries its own documentation, including defaults for the format, minGapMinutes, and investigate. The only added meaning is the TableFootageFiles.txt prerequisite, which relates loosely to logDir. That is the baseline score of 3, with the description adding little meaning beyond the schema.

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?

The description names a specific verb and resource: builds a per-camera timeline from the FootageFiles table, detects gaps, and correlates them with CameraDownload and camera logs to explain root cause. That is far more specific than a tautology. It does not, however, distinguish this tool from near-neighbors such as sym_timeline or sym_video_health, so it falls short of the top mark.

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

Usage Guidelines3/5

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

The description gives one concrete prerequisite, a bug report package containing TableFootageFiles.txt, which tells the agent roughly when the tool is callable. Beyond that, it offers no guidance on when to choose this analysis over alternatives, or when not to use it. The usage context is therefore implied rather than spelled out.

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