Skip to main content
Glama

get_trace_stats

Get CUDA and host operation statistics: percentiles for small DBs, aggregate metrics for large DBs. Supports both live tracing and offline databases.

Instructions

Get CUDA and host operation statistics. Returns p50/p95/p99 for small DBs (≤500K events), count/avg/min/max from aggregates for large DBs. Works with both live and saved/offline databases. Omit 'since' for saved DBs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNotime range relative to NOW, e.g. 1m, 5m, 1h. Omit for saved/offline DBs to query ALL events. Only useful during live tracing.
tscNotelegraphic compression (default: true). Set false for verbose output.
Behavior4/5

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

With no annotations provided, the description discloses key behavioral traits: different statistics based on DB size (≤500K vs larger) and handling of saved vs live databases. It does not mention permissions or performance impact, but covers the main behavioral aspects.

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?

Three succinct sentences, each adding meaningful information. No fluff, and the most critical point (different stats based on DB size) is front-loaded.

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?

Given no output schema, the description explains return value differences (p50/p95/p99 vs count/avg/min/max). For a tool with two optional parameters, this is adequate for an agent to understand what to expect.

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?

Schema coverage is 100% with descriptions for both parameters. The description adds value beyond the schema by explaining when to omit 'since' and the default for tsc (telegraphic compression).

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 clearly states it retrieves CUDA and host operation statistics, specifying different aggregation methods for small vs large databases (p50/p95/p99 vs count/avg/min/max). It also clarifies it works with both live and saved databases, differentiating it from sibling tools like get_causal_chains or get_stacks.

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 provides guidance on when to omit 'since' for saved databases, which is helpful. However, it does not explicitly state when to use this tool over alternatives, though the sibling tool names imply distinct purposes.

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

Install Server

Other Tools

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/ingero-io/ingero'

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