Skip to main content
Glama
This connector has been deprecated

This listing duplicates LexQ (io.lexq/lexq), which follows the official MCP Registry entry. Use that listing instead.

Group Latency Profile

lexq_profile_overview
Read-only

Per-rule latency profile of a policy group over a time window: group TOTAL distribution split by cacheState (HIT = calls on a version already prepared for execution, MISS = calls that had to prepare the version first and run slower), a per-rule CONDITION/ACTION percentile table, and slow-rule flags. flagged = p50 ≥ 10× median of per-rule p50s within the group; absolute thresholds are intentionally not supported. Every percentile is accompanied by its sample count n; a percentile is withheld (null) unless n×(1−q) ≥ 3 (p50 needs n ≥ 6, p95 n ≥ 60, p99 n ≥ 300 — display gate, separate from the n ≥ 100 judgment gate). Baselines report INSUFFICIENT_COHORT when fewer than 3 rules qualify. Rule detail comes from a 1% sample of calls; TOTAL is recorded for every call. Defaults: last 24h, live version, cacheState HIT.

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": {
      "groupId": "<groupId>"
    },
    "name": "lexq_profile_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoWindow end, ISO-8601 instant. Default: now
fromNoWindow start, ISO-8601 instant (e.g. 2026-07-01T00:00:00Z). Default: 24h ago
groupIdYesPolicy group ID
versionIdNoVersion to inspect (default: live version)
cacheStateNoCache dimension for the rule table and judgment (default: HIT)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / groupId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • addedInput schema / properties / versionId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover safety (readOnlyHint, destructiveHint=false), yet the description goes well beyond them: rule detail comes from a 1% call sample while TOTAL is recorded on every call, percentiles are suppressed below n×(1−q) ≥ 3, the display gate is explicitly distinct from the n ≥ 100 judgment gate, and baselines emit INSUFFICIENT_COHORT below 3 qualifying rules. These are non-obvious data-fidelity traits an agent cannot infer from structured fields.

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?

It is a single front-loaded paragraph that leads with what is returned, and every clause carries information — no filler. Density is high and the inline parentheticals plus em-dash chains make it slower to scan than a short bulleted list would be, which costs one point.

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?

A fairly complex analytical tool with no output schema, and the description still conveys the result shape, sampling caveats, statistical gates, and defaults. It stops short of describing the actual response fields or any cap on how many rules are profiled, so an agent still cannot predict the exact payload.

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?

With 100% schema coverage the baseline is 3, but the description adds real semantic meaning: HIT is defined as calls on an already-prepared version while MISS requires preparation and runs slower, and versionId is framed as 'version to inspect'. Defaults restate the schema, but the cacheState definitions genuinely extend it.

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 description names a specific verb+resource ('Per-rule latency profile of a policy group over a time window') and enumerates exactly what is returned: group TOTAL split by cacheState, a per-rule CONDITION/ACTION percentile table, and slow-rule flags. That level of output enumeration implicitly separates it from lexq_profile_rule, which profiles a single rule.

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 context is only implied by the described scope and the note that 'absolute thresholds are intentionally not supported'; there is no explicit statement of when to pick this over lexq_profile_rule or the deploy/history siblings. Defaults (last 24h, live version, HIT) orient the caller but are not when-to-use guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources