Skip to main content
Glama
WhaTap MCP Server

WhaTap MCP Server

Official
by whatap

whatap_service_topology

Build a service connectivity map with bottleneck detection using NPM data. Queries caller-to-callee edges by latency and constructs a service graph.

Instructions

Service connectivity map with bottleneck detection using NPM (Network Performance Monitoring) data. Queries caller→callee edges with latency from the NPM topology endpoint, then builds a service graph and identifies high-latency bottlenecks.

PREREQUISITES: projectCode from whatap_list_projects (project must have NPM agent installed).

Example: whatap_service_topology(projectCode=12345, timeRange="1h")

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": {
      "projectCode": "<projectCode>"
    },
    "name": "whatap_service_topology"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeRangeNoTime range (default: "5m"). Examples: "5m", "1h", "6h", "1d", "last 30 minutes".1h
projectCodeYesProject code (pcode). Get this by calling whatap_list_projects first — it returns all accessible projects with their pcodes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.3

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the underlying data source (NPM topology endpoint), the derived processing (graph construction plus bottleneck identification), and an environmental prerequisite (NPM agent must be installed). It does not say whether the call is read-only, how expensive it is on large topologies, or what happens if NPM data is absent, which are meaningful gaps for an unannotated tool.

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?

The front-loaded first sentence states the capability, followed by a compressed mechanism sentence, then prerequisites and a concrete example. All parts are relevant, though the example largely duplicates what the schema already conveys and could be trimmed.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description should say more about what the agent gets back — the graph node/edge shape, bottleneck fields, or result size for large topologies. It describes the computation abstractly but leaves the return contract unspecified, which is only adequate given the tool's analytical complexity.

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 description coverage is 100%, so both parameters are already documented in the schema and the baseline is 3. The description adds little parameter meaning beyond the example, and it actively muddies timeRange by the schema-level discrepancy between the declared default '1h' and the inline '5m' — the description does not resolve that ambiguity.

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 resource and behavior: a 'service connectivity map with bottleneck detection' built from caller→callee edges with latency obtained from the NPM topology endpoint. That is far more than a restatement of the name, but it never contrasts itself with siblings such as whatap_query_data or whatap_apm_anomaly, so the agent must infer why it would pick this tool over a general query.

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?

Usage context is clear: it states a PREREQUISITES block requiring a projectCode from whatap_list_projects and an NPM agent installed, plus a worked example call. What is missing is any explicit 'use this instead of X when…' routing or a statement of what to do when the prerequisite is unmet.

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