Skip to main content
Glama

Get Pathway Coverage

get-pathway-coverage
Read-onlyIdempotent

Pathway coverage (read-only): which request paths production traffic takes through your services that no test exercises, ranked by traffic share, error rate and latency. Each entrypoint reports requestsPerHour, errorRate, pathways, untestedPathways, untestedSlices and percentTrafficFullyTested (the share of production traffic on pathways every node of which a test reached). Each gap carries nodePath, estimatedCount, score and an exemplar with the path (service and canonical names), the entrypoint (httpMethod, pathTemplate) and the most common reduced metadata labels: enough to write a test that exercises it. Labels are reduced values; no raw request data exists. Scope with storyOrdinalIds (US- or n), scopes (plans folders), release or operationKeys. Windows: prodWindowDays and testWindowDays (default 30, max 90), or an exact test window with testWindowStartMillis (inclusive) and testWindowEndMillis (exclusive) together (YYYY-MM-DD as a UTC day, ISO datetime or epoch millis; overrides testWindowDays; the server widens it to whole UTC days). Defaults to 20 entrypoints and 10 gaps each; totals are never capped and entrypointsTruncated says when entrypoints were cut. The response also has scopeExecutionCount (test executions the scope matched), the test window used (testWindowStartMillis, testWindowEndMillis), and on ignored gaps ignoredBy (the coverage gap ref that ignores it). Pass includeStoryView=true for the per-story view. If the response is empty, call get-pathway-coverage-setup-status to see what is missing.

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": "get-pathway-coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
botIdNoQA bots: your botId from your stored TestChimp binding.
scopesNo
releaseNo
projectIdNoThe TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.
operationKeysNo
projectApiKeyNoProject API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it.
maxEntrypointsNo
prodWindowDaysNo
testWindowDaysNo
prodEnvironmentNo
storyOrdinalIdsNo
includeStoryViewNo
testEnvironmentsNo
testWindowEndMillisNo
maxGapsPerEntrypointNo
testWindowStartMillisNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/non-destructive, and the description goes well beyond them: it discloses that labels are reduced values with no raw request data, that totals are never capped but entrypoints are (with entrypointsTruncated signaling cuts), the default caps of 20 entrypoints and 10 gaps, that the server widens a custom test window to whole UTC days, and that ignored gaps carry ignoredBy. That is exactly the extra context the annotations cannot provide.

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 is front-loaded in the first clause and every sentence carries real information about returns or parameters. It is a single dense run-on paragraph, though, and the test window fields are restated twice, which makes it harder to scan than it needs to be.

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?

There is no output schema, so the description must explain returns, and it does so thoroughly: per-entrypoint fields, per-gap fields, scopeExecutionCount, the window actually used, truncation, and the ignored-gap reference. Combined with the empty-response fallback, an agent has enough to call this correctly and interpret the result.

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 only 19% schema description coverage across 16 parameters, the description carries most of the burden and does so for the complex ones: storyOrdinalIds accepts 'US-<n> or n', the test window accepts YYYY-MM-DD, ISO datetime or epoch millis with inclusive/exclusive semantics and override behavior, and windows max at 90 days. Gaps remain: prodEnvironment and testEnvironments are never explained, and the entrypoint/gap caps are described only implicitly as 'defaults' without naming maxEntrypoints or maxGapsPerEntrypoint.

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+resource (pathway coverage: request paths production traffic takes that no test exercises) and the ranking criteria (traffic share, error rate, latency). This clearly distinguishes it from the sibling coverage tools like get-feature-flag-coverage and get-requirement-coverage, which cover different artifact types.

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

Usage Guidelines4/5

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

Gives concrete scoping routes (storyOrdinalIds, scopes, release, operationKeys) and an explicit escalation path: 'If the response is empty, call get-pathway-coverage-setup-status to see what is missing.' It also names includeStoryView=true as the per-story alternative. It does not, however, state when to prefer this over the other coverage siblings or any when-not conditions.

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.