Skip to main content
Glama

deepinfra

Get deployment stats

deepinfra_get_deployment_stats
Read-only

Get time-series stats (throughput / latency / replicas) for a dedicated deployment. DeepInfra REST: GET /deploy/{deploy_id}/stats2.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoRange end — unix timestamp or relative expression; defaults to now.
fromYesRange start (required) — a unix timestamp or a relative expression like 'now-5h' (units: s, m, h, d, w).
deploy_idYesThe deployment id (required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the bar is lower. The description adds the REST endpoint and confirms the resource is a dedicated deployment, but says nothing about response shape, sampling granularity, or retention beyond what annotations cover.

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?

Two tight sentences with the resource and metric families front-loaded; nothing is wasted. The REST endpoint hint is short and arguably helpful for cross-referencing the API docs.

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 read-only stats tool with a fully documented schema and no output schema, the description covers what the tool returns at a high level (throughput/latency/replicas). The main uncovered item is how results differ from the live-metrics sibling.

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 documents deploy_id, from, and to (including the relative-expression syntax). The description adds no parameter semantics beyond the schema, which puts it at the baseline 3.

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?

States a specific verb (Get) and resource (deployment stats) and enumerates the metric families returned (throughput / latency / replicas), which is more than a tautology. It does not, however, explicitly differentiate itself from the closely related sibling deepinfra_get_live_metrics, which an agent could easily confuse with this tool.

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?

The description gives no when-to-use instruction and names no alternatives. The 'time-series' phrasing weakly implies historical/aggregate queries, but with deepinfra_get_live_metrics in the sibling set the lack of explicit routing guidance is a real gap.

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.