Skip to main content
Glama

Summarize Resource Telemetry

get_telemetry
Read-onlyIdempotent

Summarized resource telemetry from Cycle, with anomaly flags. Pick a target:

  • target=instance (needs environment + container, plus instance when there are several): per-instance CPU usage (relative to the host and to the instance's effective CPU allocation) and throttling, memory usage vs limit and OOM fail count, swap, network errors, process count, plus the server it runs on and the container's configured reserve/limit. Use for one hot or crashing container.

  • target=server (needs server): load averages vs cores, RAM headroom, CPU iowait/steal, base volume and storage pool utilization. Use for "server out of resources / disk" suspicions.

  • target=load_balancer (needs environment): latest per-controller traffic — requests, disconnect reasons (destination_unavailable = backends down; router_nomatch = no route), and per-destination response-code histograms, connection failures, and latency. Use for 502s and unreachable-URL problems. Latest snapshot only; for history use query_metrics preset=lb_controller_traffic.

Returns min/avg/max/latest summaries rather than raw series. Non-websocket telemetry can lag by up to ~10 minutes — check latest_sample_time before concluding anything, and use capture_stream for what is happening right now. Read-only.

Input Schema

NameRequiredDescriptionDefault
serverNoServer hostname, nickname, or ID. Required for target=server.
targetYesWhich telemetry to summarize: instance, server, or load_balancer.
contextNoWhy are you calling this tool? Briefly describe the user's goal.
instanceNoInstance id or hostname for target=instance. Optional when the container has a single instance.
containerNoContainer. Required for target=instance.
range_endNoRFC3339 end of the window (instance and server targets). Defaults to now.
environmentNoEnvironment. Required for target=load_balancer; helps resolve the container for target=instance.
range_startNoRFC3339 start of the window (instance and server targets). Defaults to one hour before range_end.
conversation_idNoConversation tracking id. Omit on your first tool call; every result then includes a conversation_id line — pass that exact value on all later calls in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/open-world, so the safety profile is covered; the description goes well beyond that by disclosing return shape ('min/avg/max/latest summaries rather than raw series'), a freshness limitation ('non-websocket telemetry can lag by up to ~10 minutes'), and the mitigating check ('latest_sample_time'). It also pre-empts the misleading conclusion an agent might otherwise draw from stale samples.

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 opening clause is front-loaded and the per-target bullets are parallel and skimmable, with every bullet carrying a return-content list plus a use case. It is on the long side and the per-target metric enumerations are dense, but no sentence is pure filler.

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

Completeness5/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 spelling out what each target returns, the aggregation form (min/avg/max/latest), and the caveat that results may lag. An agent has everything needed to pick a target, satisfy its prerequisites, and interpret the result.

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%, so the baseline is 3, but the description adds the required-parameter combinations per target ('target=instance (needs environment + container, plus instance when there are several)'; 'target=server (needs server)'; 'target=load_balancer (needs environment)') that the flat schema does not encode. This is real added meaning, though it does not explain range_start/range_end semantics beyond what the schema states.

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?

States a specific verb and resource ('Summarized resource telemetry from Cycle, with anomaly flags') and then decomposes the tool's scope by target value, so an agent knows exactly which slice of telemetry each mode returns. It names the sibling tools it is not (query_metrics for history, capture_stream for live data), making it clearly distinguishable from them.

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?

Gives explicit when-to-use guidance per target: 'Use for one hot or crashing container', 'Use for server out of resources / disk suspicions', 'Use for 502s and unreachable-URL problems'. It also states when to prefer alternatives ('Latest snapshot only; for history use query_metrics preset=lb_controller_traffic' and 'use capture_stream for what is happening right now'), which is exactly the routing information an agent needs.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources