Skip to main content
Glama

get_metrics

Retrieve runtime counters for agents and tasks to monitor system health. Provides read-only metrics for health checks, excluding cost and policy data.

Instructions

Return runtime counters (agents created, tasks).

Use for health checks. Read-only. Does not include cost rows or policy events.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / title
      Removed value: -"get_metricsArguments"
    • removedOutput schema / title
      Removed value: -"get_metricsDictOutput"
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral disclosure burden. It clearly states 'Read-only,' which is an important behavioral trait, and specifies exclusions that clarify the tool's scope beyond a simple return-value statement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no filler. The primary action is front-loaded, and the usage and exclusions follow immediately, making it easy for an agent to parse quickly.

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?

For a zero-parameter tool with an output schema, the description covers what it returns, when to use it, its read-only nature, and what it excludes. No critical information for invoking the tool correctly is missing.

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?

The tool has zero parameters, so the description need not explain parameter behavior. The baseline of 4 applies because there is nothing missing or misleading regarding parameters.

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 description states a specific action ('Return runtime counters') and identifies the resource ('agents created, tasks'). It also distinguishes itself from siblings by explicitly excluding cost rows and policy events, separating it from get_cost_ledger and get_audit_log.

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?

The description explicitly says 'Use for health checks,' providing a clear use case. It also notes what the tool does not include, which helps route agents away from it for cost or policy data, though it does not name the alternative tools directly.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ANAMIZED/OpenMesha'

If you have feedback or need assistance with the MCP directory API, please join our Discord server