Skip to main content
Glama
log-10x

Log10x MCP Server

Official

Metrics that moved

log10x_metrics_that_moved
Read-onlyIdempotent

Filter sibling series that moved while an anchor log pattern or customer metric was active. Split the anchor window into high/low phases and keep candidates with ≥15% mean shift.

Instructions

First step of cross-pillar investigation: deterministic filter on which customer metrics moved while an anchor was active. Anchor is either a Log10x pattern (anchor_type: "log10x_pattern") OR a customer metric expression (anchor_type: "customer_metric"); candidates are all sibling series from the OTHER pillar. Partitions the anchor's window into high-phase / low-phase buckets by median rate and keeps only candidates whose mean value differs ≥15% between the two phases. Returns moved[], not_moved[], evaluation_failed[]: no Pearson, no tier, no causal framing. This is the cheap deterministic cut that pares the candidate set before the more expensive shape-similarity pass. Compose with log10x_rank_by_shape_similarity and log10x_metric_overlay.

Input Schema

NameRequiredDescriptionDefault
stepNoBucket step.30s
anchorYesAnchor identity. For `anchor_type=log10x_pattern`: the pattern Symbol Message NAME or its 11-char `pattern_hash` (= `tenx_hash`), the tool detects shape and queries the correct PromQL label (`message_pattern` vs `tenx_hash`). For `anchor_type=customer_metric`: a customer PromQL expression.
windowNoTime window. Alias: `timeRange`.1h
timeRangeNo
candidatesYesCustomer-side PromQL expressions to evaluate (max 100). An AI caller reasoning over results can't meaningfully digest more than a few dozen; the cap reflects that, not a backend constraint. Pre-filter with `metrics_sharing_resource` or label-scoped `customer_metrics_query` queries.
anchor_typeYesAnchor side. `log10x_pattern` = anchor is a 10x pattern. `customer_metric` = anchor is a customer PromQL.
environmentNo
phase_gap_floorNoRelative gap floor between anchor-high and anchor-low phase means. Candidate is "moved" iff its gap ≥ this. Default 0.15 (=15%) is an uncalibrated default: output is tagged `unvalidated_default` until a caller-side calibration overrides it. See `docs/cross-pillar-primitives.md` for the calibration playbook.
customer_metrics_urlNoPer-call override for the customer metrics backend URL. Wins over LOG10X_CUSTOMER_METRICS_URL env var. Use when MCP was launched with an empty/stale URL.
customer_metrics_authNo
customer_metrics_typeNo

Output 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. Changed2 schema fields changedv1.30.8
    • changedInput schema / properties / anchor / description
      Previous value: -"Anchor identity. For `anchor_type=log10x_pattern`: the pattern Symbol Message NAME or its 11-char `pattern_hash` (= `tenx_hash`) — the tool detects shape and queries the correct PromQL label (`message_pattern` vs `tenx_hash`). For `anchor_type=customer_metric`: a customer PromQL expression."New value: +"Anchor identity. For `anchor_type=log10x_pattern`: the pattern Symbol Message NAME or its 11-char `pattern_hash` (= `tenx_hash`), the tool detects shape and queries the correct PromQL label (`message_pattern` vs `tenx_hash`). For `anchor_type=customer_metric`: a customer PromQL expression."
    • changedInput schema / properties / phase_gap_floor / description
      Previous value: -"Relative gap floor between anchor-high and anchor-low phase means. Candidate is \"moved\" iff its gap ≥ this. Default 0.15 (=15%) is an uncalibrated default — output is tagged `unvalidated_default` until a caller-side calibration overrides it. See `docs/cross-pillar-primitives.md` for the calibration playbook."New value: +"Relative gap floor between anchor-high and anchor-low phase means. Candidate is \"moved\" iff its gap ≥ this. Default 0.15 (=15%) is an uncalibrated default: output is tagged `unvalidated_default` until a caller-side calibration overrides it. See `docs/cross-pillar-primitives.md` for the calibration playbook."
  2. First observedv1.30.7

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent/open-world, so the description carries the algorithmic burden and does: it discloses the median-rate phase partitioning, the ≥15% mean-difference rule, the three return buckets (`moved[]`, `not_moved[]`, `evaluation_failed[]`), and critically that the default threshold is uncalibrated and outputs are tagged `unvalidated_default`. That last point is a behavioral caveat an agent cannot get from the schema and would otherwise misread as a validated result.

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?

Purpose and scope are front-loaded and the composition guidance closes it out, so ordering is good. It is a single dense block with several layered parentheticals, which slightly taxes readability, but every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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-value explanation isn't owed, yet the description still enumerates the result partitions. Combined with the anchor semantics, candidate-set guidance, calibration caveat, and sibling hand-off, this is complete for an 11-parameter analytical primitive.

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 64%, and the description reinforces the two tricky parameters (anchor identity semantics, and the phase_gap_floor threshold with its calibration caveat) plus the rationale for the 100-candidate cap. It does not cover `step`, `environment`, or the three `customer_metrics_*` override parameters, which fall back to the schema alone.

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?

The first sentence gives a specific verb and resource ('deterministic filter on which customer metrics moved while an anchor was active') and immediately scopes it to the cross-pillar investigation flow. It names the sibling tools it composes with (`log10x_rank_by_shape_similarity`, `log10x_metric_overlay`), so an agent can tell it apart from the shape-similarity pass without opening either schema.

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?

Explicit positioning: 'First step of cross-pillar investigation' and 'the cheap deterministic cut that pares the candidate set before the more expensive shape-similarity pass', with a direct compose-with instruction. The agent knows both when to use it and what to call next, and the phrase 'no Pearson, no tier, no causal framing' rules out the things this tool is not for.

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