Skip to main content
Glama
Log Intelligence MCP Server

Log Intelligence MCP Server

by eamonboyle

Regression after deployment

regression_after_date
Read-onlyIdempotent

Compare error patterns before and after a deployment date to identify new errors, increased hourly rates, and disappeared errors.

Instructions

Compare error patterns before and after a deployment date. Reports new errors, errors whose hourly rate increased, and errors that disappeared.

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": {
      "deploymentDate": "<deploymentDate>"
    },
    "name": "regression_after_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNoOnly include entries whose source name contains this text
hoursAfterNoHours after deployment to analyse (default 24)
hoursBeforeNoHours before deployment to use as baseline (default 168 = 1 week)
deploymentDateYesDeployment date/time (ISO 8601, e.g. 2026-02-10T08:00:00Z)
increaseFactorNoFlag an existing error as increased when its rate grows by more than this factor (default 2)

Output Schema

NameRequiredDescriptionDefault
summaryYes
newErrorsYes
afterWindowYes
beforeWindowYes
deploymentDateYes
resolvedErrorsYes
increasedErrorsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. Beyond that the description only discloses the shape of the results (new/increased/disappeared errors); it says nothing about cost of the query, behavior when the baseline window has no data, or how sparse data affects the comparison.

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 sentences, front-loaded with the core comparison, and the second sentence exists to enumerate the return categories rather than pad. No redundant restatement of the title.

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 a full output schema, complete parameter descriptions, and read-only annotations, the description only needs to convey the comparison concept and result categories — which it does. A note on prerequisites (both windows must have ingested data) or on the sibling split would complete it.

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?

Schema description coverage is 100% and an output schema exists, so the schema already carries the parameter semantics — including the defaults of 24 hours after and 168 hours before, and the increaseFactor threshold. The description adds only the conceptual framing of before/after windows, which is consistent with the schema baseline but adds no parameter detail beyond it.

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 comparison (error patterns before vs. after a deployment date) and enumerates the three result categories: new errors, errors with increased hourly rate, and errors that disappeared. That enumeration implicitly distinguishes it from the sibling detect_new_error_pattern, but the description never names that sibling or states the distinction explicitly.

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?

Usage is only implied by the phrasing 'before and after a deployment date' — an agent can infer this is a post-deploy regression check. There is no explicit guidance on when to prefer this over detect_new_error_pattern or get_error_timeline, and no stated prerequisites such as having ingested logs covering both windows.

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