Skip to main content
Glama

get_agent_run_telemetry

Read-onlyIdempotent

Retrieve runtime telemetry batches for a specific agent run, including module-level timing and execution details. Use run_id to get performance data recorded during execution.

Instructions

Fetch the runtime telemetry batches recorded for one agent run — the module-level timing and execution detail captured while it ran. Use query_agent_run_telemetry to search telemetry across runs by kind or module. Read-only; an unknown run_id fails with agent_run_not_found. Returns the run's telemetry batches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum batches returned, up to 1000; defaults to 1000.
run_idYesRun id returned by create_agent_run or list_agent_runs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.3
    • addedInput schema / properties / limit / description
      Added value: +"Maximum batches returned, up to 1000; defaults to 1000."
    • addedInput schema / properties / run_id / description
      Added value: +"Run id returned by create_agent_run or list_agent_runs."
  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?

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds the specific error condition 'agent_run_not_found' for unknown run_id, which is beyond what annotations provide. It also clarifies the return type (telemetry batches), though that's somewhat redundant with the purpose. The added error detail elevates it above baseline.

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 sentences with no filler. The main action and scope are front-loaded, followed by a sibling reference, an error note, and a return statement. Every sentence adds value and the structure is efficient.

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?

Given the simple read-only nature, two well-documented parameters, and the annotations covering safety, the description is complete. It includes the error behavior and states the return type. No critical information is missing for an agent to correctly invoke this tool.

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 'run_id' and 'limit' fully described in the schema. The description does not add additional parameter-level semantics, which is acceptable given the schema's completeness. Baseline of 3 is appropriate.

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 the specific verb 'Fetch' and resource 'runtime telemetry batches recorded for one agent run', and explicitly differentiates from sibling query_agent_run_telemetry which searches across runs. An agent can immediately distinguish this tool from its siblings without needing to inspect schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly directs when to use the alternative query_agent_run_telemetry for cross-run searches, and also notes the error case for unknown run_id. This gives clear contextual guidance on when this tool is appropriate versus when to choose another.

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

Deploy Server

Other Tools