Skip to main content
Glama
Symphony Log MCP Server

Symphony Log MCP Server

Official
by senstar

sym_search

Search VMS logs for errors, text, or regex patterns, count matches per file, prove a pattern is absent, or batch-scan prefixes to diagnose failures and compare test runs.

Instructions

Search logs for errors, text, or regex patterns. Modes: errors (deduplicated), pattern (text/regex), count (per-file totals), assert_absent (prove pattern missing), errors_by_prefix (batch all prefixes, no files needed).

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": {
      "mode": "<mode>",
      "files": "<files>"
    },
    "name": "sym_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesSearch mode. errors_by_prefix: batch scan all prefixes in one call
filesYesLog filenames, prefixes, or prefix-date patterns
limitNoMax results (default 200 for pattern, 100 for errors)
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).
endTimeNoOnly include entries at or before HH:MM:SS
isRegexNoFor pattern/count/assert_absent: treat pattern as regex (default false)
patternNoFor pattern/count/assert_absent: text or regex to search for
startTimeNoOnly include entries at or after HH:MM:SS
deduplicateNoFor errors mode: group identical errors (default true)
levelFilterNoFor pattern/count/assert_absent: only these levels, e.g. ['Error','BasicInfo']
contextLinesNoFor pattern mode: lines of context around each match
caseSensitiveNoFor pattern/count/assert_absent: case sensitive (default false)
includeStacksNoFor errors mode: include stack traces (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.11

TDQS

A3.7/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. It does disclose real behavior — deduplication in errors mode, single-call batch scanning for prefixes, and an assertion-style outcome for assert_absent — but says nothing about result shape, ordering, truncation/limit behavior, or cost on large log sets, which matters for a 13-parameter search tool.

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, front-loaded with the purpose and then a dense, scannable mode enumeration. Every clause carries information; nothing is padded or repeated.

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?

For a five-mode, 13-parameter tool with no annotations and no output schema, the description covers mode selection but leaves gaps: return values and result shape are undocumented, and the files/errors_by_prefix tension plus the logDir-versus-sym_open dependency are only explained inside the schema rather than the description.

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 per-parameter meaning is already documented and the baseline is 3. The description adds only marginal mapping of modes to parameters, and it introduces a mild inconsistency by saying errors_by_prefix needs "no files" while the schema marks files as required, leaving the agent to guess whether to pass an empty array.

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?

States a specific verb and resource ("Search logs") and then enumerates the five mutually exclusive modes, so an agent knows exactly what capability is offered. It does not differentiate itself from log-related siblings such as sym_triage, sym_log_quality, or sym_event_log, so it stops short of a 5.

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?

The mode list functions as concrete selection guidance: use errors for deduplicated error rollups, pattern for text/regex, count for per-file totals, assert_absent to prove absence, errors_by_prefix to batch scan without naming files. What is missing is any exclusion or pointer to an alternative tool when a different approach is needed.

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