Skip to main content
Glama
mcp-discovery

mcp-discovery

by yksanjo

get_server_metrics

Retrieve latency, success rate, and uptime history for a specific MCP server over a chosen time range to assess reliability and monitor performance.

Instructions

Get detailed performance metrics for a specific MCP server including latency, success rate, and uptime history.

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": {
      "server_id": "<server_id>"
    },
    "name": "get_server_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYesServer slug (e.g., "supabase-mcp-server") or UUID
time_rangeNoTime range for historical metrics (default: 24h)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the categories of data returned (latency, success rate, uptime) which tells the agent this is a read-only historical lookup, but it says nothing about permissions, rate limits, whether metrics are aggregated or per-request, or how fresh the data is.

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?

A single well-formed sentence with no filler, front-loaded with the verb and resource followed by the returned fields. Nothing is wasted, though the enumeration is brief enough that it could be tightened or slightly expanded without harm.

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?

For a simple two-parameter read tool with full schema coverage this is nearly adequate. Without an output schema, however, the description only names three metric categories and does not indicate response shape, granularity, or whether history depth depends on time_range, leaving the agent guessing about return structure.

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?

Schema coverage is 100% and the schema already documents server_id format (slug or UUID) and the time_range enum with its 24h default, so the baseline is 3. The description adds modest value by framing time_range implicitly as history scope, but contributes no syntax or default details beyond the schema.

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 verb ("Get") and resource ("performance metrics for a specific MCP server") and enumerates what is returned: latency, success rate, uptime history. This clearly separates it from discover_mcp_server and compare_servers, which operate on discovery and cross-server comparison, though no sibling is named explicitly.

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 is only implied: an agent can infer this is for inspecting one server's health rather than comparing servers. There is no explicit when-to-use statement, no pointer to compare_servers for multi-server comparisons, and no note about prerequisites such as whether the server must already be known or discovered first.

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