Skip to main content
Glama
Symphony Log MCP Server

Symphony Log MCP Server

Official
by senstar

sym_db_stats

Parse SQL Stats and .NET counter artifacts from log packages to summarize queries, waits, connections, and counters for diagnosing database performance.

Instructions

Parse optional SqlStats-* and DotNetCounters artifacts from log packages. Modes: summary, queries, waits, connections, counters, raw.

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_db_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoFor raw mode: specific artifact to display
modeNoAnalysis mode (default 'summary')
limitNoMax rows/lines (default 15)
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).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.11

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. Calling the artifacts 'optional' hints that missing artifacts are tolerated, but it never states what actually happens then (skipped, empty result, or error), nor does it describe output shape, row semantics, or the effect of 'limit'. For a parsing/reporting tool with zero annotation coverage this leaves significant behavioral questions open.

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?

Two tight sentences with the resource stated first and the modes second — well front-loaded. The mode enumeration carries some redundancy with the schema enum and is incomplete (missing jsonl), which slightly undercuts its value.

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 four-parameter, no-annotation, no-output-schema tool, the description establishes what is parsed and which modes exist but omits return-value expectations, missing-artifact behavior, and how logDir resolution interacts with sym_open (only the schema mentions this). Adequate as a starting point, but not complete enough on its own.

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 coverage is 100%, so every parameter is already documented in the schema, including the logDir override and the file enum. The description adds nothing about 'file' beyond implicitly tying it to raw mode, and says nothing about 'limit'; baseline 3 applies when the schema does all the work.

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 uses a specific verb ('Parse') and names the exact resources handled (SqlStats-* and DotNetCounters artifacts from log packages), so the agent knows what this tool consumes. It stops short of distinguishing itself from adjacent siblings like sym_db_health or sym_db_tables, leaving the boundary between stats parsing and health/table reporting implicit.

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

Usage Guidelines2/5

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

The 'Modes:' list echoes the enum already present in the schema rather than explaining when each mode is appropriate, and it omits 'jsonl' from the schema's enum. There is no guidance on when to choose this tool over sym_db_health or sym_db_tables, and no mention of the default mode or prerequisites (e.g., that sym_open must run first).

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