Skip to main content
Glama

Get service graphs

get_service_graphs
Read-only

Retrieve performance graph series for a VPSnet service by choosing a metric and time period. Optionally filter to specific series with fields.

Instructions

Get one performance graph series for a service: pick a metric and a period. fc_block, fc_net_native and fc_pressure exist only for Firecracker VPS. fields narrows io/net/fc_* metrics to some series. A wrong metric, period or field answers 422 with invalidParameter and allowedValues. Requires services:read when called with an API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNoOnly these series. io: ior, iow, iops. net: rx, tx, rxp, txp. fc_block: read_bytes, write_bytes, read_ops, write_ops, queue_events, throttle_events. fc_net_native: rx_bytes, tx_bytes, rx_packets, tx_packets, queue_events. fc_pressure: major_faults, minor_faults, swap_in, swap_out, oom_kills, alloc_stalls, async_scan, direct_scan, async_reclaim, direct_reclaim.
metricYesMetric: cpu, ram, ssd (disk use; storage is the same), swap, lavg (load average), io, inode, net, proc, or a Firecracker-only fc_* metric
periodYesTime window ending now
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint=false, the description discloses genuinely new behavioral facts: invalid metric/period/field produces a 422 with invalidParameter and allowedValues, fc_* metrics are Firecracker-only, and services:read is required with an API key. It stops short of describing the shape or volume of the returned series.

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?

Four tight sentences with the purpose front-loaded and no filler. 'pick a metric and a period' mildly restates the three required parameters, which is the only redundancy.

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?

With no output schema, the description carries the full burden of describing returns and only says 'one performance graph series' — the agent learns nothing about timestamps, point counts, or units. Authorization, error semantics, and metric availability are well covered, but the return contract is a real gap.

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 itself enumerates every allowed value, so the baseline is 3. The description still contributes one cross-parameter constraint not in the schema: fields only narrows the io/net/fc_* metric families, and it flags that invalid values are echoed back via allowedValues.

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 first sentence states a precise verb+resource+scope: 'Get one performance graph series for a service'. The singular 'one ... series' plus 'pick a metric and a period' tells the agent exactly what unit of data comes back, which no sibling (get_service, get_service_history) offers.

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 implied rather than stated: metric/period selection and the note that fc_block, fc_net_native and fc_pressure exist only for Firecracker VPS are constraints, not when-to-use guidance. The permission prerequisite (services:read with an API key) is a useful gate, but there is no mention of alternatives or when NOT to call this.

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

Deploy Server

Other Tools