Skip to main content
Glama
OpenTelemetry MCP Server

OpenTelemetry MCP Server

by traceloop

List Llm Models

list_llm_models

Discover which LLM models are deployed and track their usage statistics across traces, with filters for service, provider, and time range.

Instructions

List all LLM models being used with usage statistics.

Discovers what models are deployed and tracks their usage patterns.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_llm_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum traces to analyze for model discovery (default: 1000)
end_timeNoEnd time in ISO 8601 format
start_timeNoStart time in ISO 8601 format (e.g., 2024-01-01T00:00:00Z)
service_nameNoFilter by service name
gen_ai_systemNoFilter by LLM provider (e.g., openai, anthropic, cohere)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations were supplied, so the description carries the full disclosure burden, and it discloses little beyond the name: nothing about read-only semantics, that statistics are computed over a sampled window of traces (only visible in the schema's 'limit' parameter), or about cost/latency of scanning up to 1000 traces. 'Discovers what models are deployed and tracks their usage patterns' mostly restates the first sentence.

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

Conciseness3/5

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

Short and front-loaded, with the core action in the first clause. However, the second sentence largely restates the first in vaguer language and could be replaced with information the agent actually needs, such as the sampling window or the relationship to sibling tools.

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?

An output schema exists, so return values need no explanation, and the parameter surface is fully documented in schema. Still, for a zero-annotation tool in a crowded cluster of similarly named model/usage tools, the description should clarify scope and any sampling behavior to be complete.

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 coverage is 100%, so all five parameters including the time-range, service_name and gen_ai_system filters are already documented in the schema. The description adds no filtering semantics of its own, so the baseline of 3 applies.

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?

States a specific verb and resource ('List all LLM models') plus what accompanies the result ('usage statistics'), so the agent knows it enumerates models rather than events. It never distinguishes itself from the closely named sibling get_llm_model_stats or get_llm_usage, leaving overlap unaddressed.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance is given, and no alternative is named. Given siblings such as get_llm_model_stats and get_llm_usage that sound near-identical, the absence of any routing rule is a real gap.

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