Skip to main content
Glama
WhaTap MCP Server

WhaTap MCP Server

Official
by whatap

whatap_install_agent

Generate platform-specific WhaTap agent installation commands with pre-filled access credentials for a monitoring project. Detects the project platform and includes OpenAgent setup for Prometheus and OpenMetrics collection.

Instructions

Get agent installation commands for a WhaTap monitoring project. Automatically detects the project platform and returns pre-filled installation commands with the correct access credentials.

PREREQUISITES: projectCode from whatap_list_projects.

The tool fetches the project's accesskey and server connection info, then generates platform-specific installation commands.

Also includes OpenAgent installation for Prometheus/OpenMetrics collection (Nginx, Kafka, Apache, Istio, Milvus, Aerospike, custom exporters).

IMPORTANT: The returned commands require shell access with appropriate privileges. Execute them step by step and verify each step succeeds.

Supported platforms: INFRA, JAVA, NODEJS, PYTHON, PHP, DOTNET, GO, LOG, KUBERNETES, NPM, POSTGRESQL, ORACLE, ORACLE_DMA, MYSQL, MSSQL, TIBERO, CUBRID, ALTIBASE, REDIS, MONGODB, DB2, SAP_ASE, KAFKA, AEROSPIKE, APACHEPULSAR, NGINX, APACHE, MILVUS, VCENTER

Example: whatap_install_agent(projectCode=38) Example with OS: whatap_install_agent(projectCode=38, os="debian")

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_install_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
osNoTarget OS for platforms with multiple variants (e.g., "debian", "centos", "amazon", "freebsd", "windows", "alpine", "suse", "aix"). If omitted, all variants are shown for INFRA; auto-detected where possible.
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

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses that the tool internally fetches the project's accesskey and server connection info, and flags that the output requires privileged shell access. It does not state whether the retrieval itself is read-only or whether accesskey exposure has any caveats, leaving a small gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose, prerequisites, and the privilege warning are front-loaded correctly, but the ~30-item platform enumeration and the OpenAgent/Prometheus paragraph are bulky and partly redundant with the os parameter description. The core guidance could be delivered in half the text.

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?

There is no output schema, and the description compensates by describing that the return value is platform-specific installation commands pre-filled with credentials. Combined with the prerequisite chain and the execution warning, an agent has enough to call it correctly; only the exact return shape remains unstated.

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 coverage is 100%, so both parameters are already fully documented, including the OS variant list and the projectCode derivation. The description adds only call-shape examples ('whatap_install_agent(projectCode=38, os="debian")') and does not explain additional semantics, matching the baseline for schema-complete tools.

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 leads with a specific verb and resource ('Get agent installation commands for a WhaTap monitoring project') and adds the distinguishing mechanism ('Automatically detects the project platform and returns pre-filled installation commands'). No sibling in the list generates installation commands, so an agent can route here without ambiguity.

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?

It states the entry prerequisite explicitly, naming the sibling to call first ('projectCode from whatap_list_projects'), and describes what to do with the result ('Execute them step by step and verify each step succeeds'). It lacks an explicit when-not/exclusion statement, which is the only gap.

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