Skip to main content
Glama

Workspace Metrics Overview

workspace_metrics_overview
Read-only

Aggregated health of a whole workspace over a time window: the numbers behind the dashboard's overview: volume (traces/spans/LLM calls), cost, tokens, latency percentiles, TTFT, error rates, each with its previous-window baseline and delta, plus ranked breakdowns (per model, top agents, calls by kind, top exceptions, slowest spans).

Use this to answer "how is my workspace doing" before drilling into individual traces with list_agent_traces / get_agent_trace.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24). Bucket grain is server-decided from the window length: ≤2h → minute, ≤48h → hour, else day. minute and hour buckets are window-relative (bucket k starts at from + k×step); day buckets are UTC calendar days, so the first and last cover only the part of their day inside the window and a low value there is that clip, not a drop. The rendered series states which of its edges are clipped. minutes: lookback in minutes instead of hours, for short "last 10 minutes" windows (ignored when 0). breakdowns: include the ranked per-model / per-agent / per-kind tables (default true). series: include the per-bucket sparkline values (default false; they are verbose).

Values are milliseconds for latency/TTFT; — means not measured (null), which is never the same as a measured 0. Metrics listed as degraded failed to compute and are absent rather than zero.

Example:

How is my workspace doing today?

{ "name": "workspace_metrics_overview", "arguments": {} }

Anything wrong in the last 10 minutes?

{ "name": "workspace_metrics_overview", "arguments": { "minutes": 10 } }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoursNo
seriesNo
minutesNo
workspaceNo
breakdownsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, yet the description adds substantial behavioral context beyond them: server-decided bucket grain from window length, the distinction between window-relative and UTC-calendar buckets, clipped first/last buckets, and the critical null-vs-measured-0 semantics plus degraded metrics being absent rather than zero. This is exactly the kind of disclosure that prevents misreading the result.

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?

Front-loaded with purpose before parameters and examples, and each block earns its place by resolving a real ambiguity (grain, clipping, null semantics). It is on the long side and the parameter prose is dense, but there is no filler or repetition.

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?

An output schema exists, so return values need not be restated, and the description instead supplies the interpretation rules that the output schema cannot convey (clipped buckets, null vs 0, degraded metrics). For a zero-required-param read-only overview tool, nothing an agent needs to invoke and correctly read it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the full parameter burden and it does: workspace (id/name/org-name/workspace-name plus default and discovery via list_workspaces), hours (default 24, grain rules), minutes (for 'last 10 minutes', ignored when 0), breakdowns (default true), series (default false, verbose). Every parameter gets meaning and defaults beyond the bare JSON types.

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?

Names a specific verb and resource ('Aggregated health of a whole workspace over a time window') and then enumerates the concrete metrics returned (volume, cost, tokens, latency percentiles, TTFT, error rates, ranked breakdowns). It explicitly positions itself against siblings by framing the output as what you check 'before drilling into individual traces with list_agent_traces / get_agent_trace.' An agent can distinguish it from agent_traces_summary or user_activity_summary without opening a schema.

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

Usage Guidelines4/5

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

Gives an explicit usage trigger ('Use this to answer "how is my workspace doing"') and names the alternative tools (list_agent_traces / get_agent_trace) that handle the drill-down follow-up. It does not state exclusions relative to the other summary siblings (agent_traces_summary, user_activity_summary), so the when-not guidance is incomplete.

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