Skip to main content
Glama
WhaTap MCP Server

WhaTap MCP Server

Official
by whatap

whatap_data_availability

Discover available MXQL query paths by live-probing project categories or searching keywords in one call, so you can choose the right data source without repeated availability checks.

Instructions

Discover available MXQL query paths for a project. Call this ONCE — do NOT call multiple times with different params.

BEST USAGE (pick ONE):

  • projectCode=12345 → RECOMMENDED: live probe showing which categories have data + query paths

  • search="cpu" → keyword search across all 900+ paths (fast, single call)

  • category="server_base" → find paths for a specific MXQL category

  • No params → domain summary overview

IMPORTANT: One call is enough. Do NOT chain multiple data_availability calls (e.g., domain then search). Use search= to find what you need in one call.

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": "whatap_data_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoDomain to list (e.g., "v2/sys", "v2/app", "v2/container", "v2/db"). Omit for summary.
searchNoKeyword to search across paths and descriptions (e.g., "cpu", "pod", "tps").
categoryNoMXQL category name for reverse lookup (e.g., "server_base", "app_counter"). Shows which query paths use this category.
projectCodeNoProject code for live data probe. When provided, probes ~13 base categories to detect which have active data.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.3

TDQS

A4.1/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 it does disclose non-obvious behavior: the projectCode mode performs a live probe across ~13 base categories, and repeated/chained calls are wasteful. It does not explicitly state read-only-ness or describe the response shape, leaving a modest gap for a discovery tool with zero annotation coverage.

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 sentence and the usage modes are cleanly enumerated. The single-call rule is repeated twice ('Call this ONCE' and 'IMPORTANT: One call is enough'), which is mild redundancy but earned given how costly redundant calls appear to be.

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?

For a zero-required-param discovery tool with no output schema, the description covers invocation strategy, what each mode yields (categories with data plus query paths, keyword hits across 900+ paths), and the anti-chaining constraint. Only the exact return structure and safety profile are left 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 description coverage is 100%, so the schema already defines all four parameters, establishing a baseline of 3. The description adds selection semantics (which single param to use and that projectCode is preferred) but no format or interaction details beyond what the schema states.

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 opens with a specific verb and resource: 'Discover available MXQL query paths for a project,' which tells an agent exactly what the tool returns. It stops short of naming which sibling to use instead (e.g., whatap_query_data or whatap_describe_query), so the differentiation is implied by the word 'discover' rather than stated.

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?

It gives four explicit invocation modes with a named recommended one ('projectCode=12345 → RECOMMENDED'), plus concrete negative guidance: call ONCE, do not chain domain then search. That is exactly the when/how/when-not coverage an agent needs to avoid redundant calls.

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