Skip to main content
Glama

metrics.get

Request count, error rate and latency percentiles for an environment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envYesEnvironment: production, staging, or a preview name
sinceNo
projectYesProject name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not state the default time window when 'since' is omitted, whether the operation is safe/read-only, what percentiles are returned, or any rate limits or auth requirements. For a metrics endpoint the default window is a real behavioral question the description leaves open.

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?

A single front-loaded sentence that names the measures without preamble. Nothing is wasted, though the one-sentence form leaves little room for the scoping detail the tool needs.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, no annotations, and an undocumented 'since' parameter, the description should explain the return shape (which percentiles) and the default time range. It does neither, so an agent cannot confidently invoke it without guessing at the time window.

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 coverage is 67%: 'env' and 'project' are described in the schema, while 'since' is undocumented in both schema and description. The description's 'for an environment' merely restates the env parameter, adding no format, enum, or default details. Baseline 3 for partial coverage with the description not compensating for the 'since' gap.

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 gives a specific verb (get) and resource (metrics) and enumerates the exact measures returned: request count, error rate, and latency percentiles. It is clear what the tool produces, though it never names the likely-overlapping siblings analytics.get or requests.query to differentiate scope.

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 guidance, no exclusions, and no mention of alternatives such as analytics.get or requests.query. The phrase 'for an environment' implies scoping but tells the agent nothing about which tool to pick for which question.

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