Skip to main content
Glama

reporting_get_metric_set

Describes a vitals metric set’s data freshness and latest available end time per aggregation period, helping you choose a valid time range before querying metrics.

Instructions

Describe a vitals metric set: its data freshness (latest available end time per aggregation period). Call before reporting_query_metric_set to pick a valid time range. OPTIONAL Reporting API. Read-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "packageName": "<packageName>",
      "metricSet": "<metricSet>"
    },
    "name": "reporting_get_metric_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
metricSetYes
packageNameYesApplication id (package name), e.g. com.example.app

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does declare read-only and flags that this is an OPTIONAL Reporting API surface, which is useful context about availability/prerequisites. It does not say what happens if the Reporting API is not enabled or what an empty freshness result looks like, leaving the failure mode unexplained.

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?

Three short sentences, front-loaded with the purpose, followed by the sequencing rule and then the safety/availability notes. The trailing 'OPTIONAL Reporting API. Read-only.

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 two-parameter read tool with no output schema, the description covers what the tool returns (latest available end time per aggregation period), when to call it, and its read-only nature. Only the error/not-enabled behavior and precise response shape remain unaddressed, which is a minor gap.

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 50%: packageName is documented in the schema, and metricSet is self-documenting via its enum, so the schema does most of the work. The description adds only the framing that freshness is reported per aggregation period; it does not explain what the metric-set choices represent or how to pick one.

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 and resource ('Describe a vitals metric set') and immediately clarifies the payload: data freshness, i.e. latest available end time per aggregation period. It is distinguishable from reporting_query_metric_set, though the term 'vitals metric set' is slightly narrower than the enum, which also includes memory-usage sets.

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?

It states an explicit sequencing rule: call this before reporting_query_metric_set to pick a valid time range. That is real when-to-use guidance tied to a named sibling. It does not state when to skip it (e.g. if the caller already knows a valid range), so it falls short of full when/when-not coverage.

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