Skip to main content
Glama
log-10x

Log10x MCP Server

Official
by log-10x

Dependency check command

log10x_dependency_check
Read-onlyIdempotent

Before muting, dropping, or deleting logs, scan your SIEM/observability stack to find every monitor, saved search, dashboard, and alert rule that depends on a pattern.

Instructions

Given a pattern identity, generate commands to scan the user's SIEM/observability stack (Datadog monitors, Splunk saved searches, Grafana dashboards, Prometheus alert rules) for anything that depends on that pattern. Call this before any mute, drop, or source-code deletion — deleting a log line that feeds a live alert silently breaks the alert. Also call when a developer asks "am I allowed to delete this log.info() call" or "what references this pattern". This is the blast-radius check that turns a risky refactor into a reviewed one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vendorNoSIEM vendor to scan. Omit to auto-detect from ambient credentials (DD_API_KEY+DD_APP_KEY → datadog; SPLUNK_HOST+SPLUNK_TOKEN → splunk; ELASTIC_URL → elasticsearch; AWS chain → cloudwatch). When multiple SIEMs are configured, the tool returns an "ambiguous" error listing them — pass vendor= to disambiguate. When the resolved SIEM has live credentials the scan runs in-process and returns actual dashboard/alert/saved-search names + URLs; otherwise the tool falls back to a paste-ready bash command.
patternYesPattern name (e.g., "Payment_Gateway_Timeout")
serviceNoService name to scope the scan
severityNoSeverity level

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
toolYes
viewNosummary
imagesNo
actionsNo
summaryYes
warningsNo
truncatedNo
next_cursorNo
render_hintNo
generated_atYes
schema_epochYes
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.30.7

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, idempotentHint=true, so the description doesn't need to re-litigate safety. It adds non-obvious behavior: the blast-radius semantics, that deleting a log line can silently break an alert, and (in schema) ambiguous-vendor errors and in-process vs bash-command fallback. The ambiguous-error and fallback behavior is documented in the schema rather than the description, so not a full 5.

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 core action, then the mandatory pre-condition, then example developer questions and the framing payoff. Every sentence earns its place. Slightly dense but not padded.

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?

An output schema exists, so return values needn't be explained. The description covers purpose, trigger conditions, and consequence, and the schema covers vendor resolution behavior. Complete enough for an agent to select and invoke correctly; minor gap is that the ambiguous-error case lives only in the schema.

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% and the vendor parameter carries a rich description (auto-detection rules, ambiguity error, in-process vs command fallback). The description itself contributes pattern-identity scoping but no per-parameter detail. Baseline 3 is correct when the schema does the heavy lifting.

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 (scan/generate commands) and resource (SIEM/observability stack for dependencies on a pattern), and enumerates the target surfaces (Datadog monitors, Splunk saved searches, Grafana dashboards, Prometheus alert rules). This clearly distinguishes it from siblings like log10x_pattern_mitigate or log10x_pattern_detail.

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?

Explicitly gates usage: 'Call this before any mute, drop, or source-code deletion' and gives developer-phrased triggers ('am I allowed to delete this log.info() call'). Names the consequence of skipping it, which is exactly the when-to-use/when-not guidance an agent needs.

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