Skip to main content
Glama
Secil Canary Historian MCP Server

Secil Canary Historian MCP Server

by eins53740

get_metrics

Retrieves performance metrics in Prometheus format, including request counts, latencies, cache hit/miss rates, and connection pool statistics for monitoring Secil Canary Historian server health.

Instructions

Get performance metrics in Prometheus format.

Story 2.1: Returns collected metrics including request counts, latencies, cache hit/miss rates, and connection pool statistics.

Returns: str: Metrics formatted in Prometheus text exposition format

Example: # HELP canary_requests_total Total number of requests by tool # TYPE canary_requests_total counter canary_requests_total{tool_name="search_tags",status_code="200"} 42 ...

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations supplied, the description does meaningful work: it enumerates the metric families returned (request counts, latencies, cache hit/miss rates, connection pool statistics) and gives a concrete exposition-format example. It stops short of stating whether counters are cumulative since process start, whether they can be reset, or any access/permission requirements.

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?

The opening sentence and the sample output are front-loaded and earn their place, but 'Story 2.1:' is internal development-tracking noise that conveys nothing to an agent. The repeated 'Returns:' section partially duplicates the example that follows it.

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 zero-parameter read tool with an output schema, the description covers content and format adequately, so the essential burden is met. It is still incomplete on the routing question — nothing tells an agent why to pick this over get_metrics_summary or get_cache_stats — which is the main risk for misselection.

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?

The tool takes no parameters, so there is no parameter meaning to add and the baseline of 4 applies. The description correctly implies a zero-argument, full-dump call rather than inviting filters.

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 states a specific verb and resource ('Get performance metrics') and pins the output format ('Prometheus format'), which meaningfully separates it from a plain summary tool. It does not explicitly contrast with close siblings such as get_metrics_summary or get_cache_stats, so the differentiation is partial rather than explicit.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no naming of alternatives, despite the sibling list containing several overlapping metrics/cache/stats tools. The only implicit signal is the Prometheus exposition format, which hints at scraping/monitoring use but never says so.

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