Skip to main content
Glama

Get performance stats

get_project_stats
Read-onlyIdempotent

Get transaction (performance) stats for a project over a lookback window in hours, 24 by default. It covers traced requests and jobs; it does not count errors or measure release stability.

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": {
      "project_id": "<project_id>"
    },
    "name": "get_project_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoLookback hours (default 24)
project_idYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. Beyond that, the description adds genuinely useful scope information: it covers traced requests and jobs only, and excludes errors and release stability. It does not describe the shape of the returned statistics, but with the annotation burden already lifted this is solid.

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?

Two sentences, zero filler, and the core purpose plus lookback window is front-loaded before the scope exclusions. Every clause earns its place.

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

Completeness3/5

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

For a simple two-parameter read tool the inputs are fully covered, and the coverage exclusions are helpful. However, there is no output schema and the description says nothing about what the returned stats contain (which metrics, units, aggregation), leaving the response shape entirely unknown to the agent.

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%, with both parameters documented including the 24-hour default and the 1-720 range. The description's '24 by default' merely restates what the schema already says and adds no new syntax or formatting detail. Baseline 3 is appropriate when the schema does the work.

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 names a specific verb and resource ('Get transaction (performance) stats for a project') and scopes it to a lookback window. It further distinguishes itself from error-oriented siblings by stating it 'does not count errors or measure release stability', so an agent can rule out get_issue_events/search_errors. It stops short of naming any alternative tool directly, which keeps it just below a 5.

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?

Usage context is clear: use it for performance/tracing data over an hours-based lookback, and the explicit exclusions ('does not count errors or measure release stability') tell the agent when this is the wrong choice. No sibling tool is named as the alternative for those cases, so the routing guidance is implied rather than explicit.

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