Skip to main content
Glama
OpenTelemetry MCP Server

OpenTelemetry MCP Server

by traceloop

List Llm Tools Tool

list_llm_tools_tool

Identify which LLM tools and functions applications call by grouping tool spans by name with usage statistics; filter by service, provider, or time range.

Instructions

List all LLM tools being used by identifying traceloop.span.kind == tool.

Discovers which tools/functions LLM applications are calling, grouped by tool name with usage statistics.

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_tools_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum spans to analyze (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 (openai, anthropic, etc.)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the span-kind filter and the grouped output, but says nothing about read-only safety, what the analysis limit does to results (sampling/truncation), or whether aggregation covers the full time range or only up to the limit.

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

Conciseness4/5

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

Two short sentences, front-loaded with the core action and followed by the aggregation detail. The second sentence mildly restates the first ('list all LLM tools' vs 'discovers which tools... are calling') but adds the grouping behavior, so it largely earns its place.

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?

With an output schema present, return values needn't be explained, and all five optional parameters are fully documented in the schema. The description covers the data source filter and output shape, leaving only minor gaps around pagination/limit semantics.

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%, so each of the five parameters (limit, start_time, end_time, service_name, gen_ai_system) is already documented in the schema. The description adds no parameter-level meaning beyond noting that span analysis underlies the results; baseline 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?

The description uses a specific verb and resource ('List all LLM tools being used') and explains the underlying filter (traceloop.span.kind == tool) plus the aggregation ('grouped by tool name with usage statistics'). It implicitly distinguishes itself from the sibling list_llm_models by talking about tools/functions rather than models, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

The phrase 'Discovers which tools/functions LLM applications are calling' implies the discovery/analytics use case, but there is no explicit when-to-use guidance, no exclusions, and no pointer to alternatives such as search_spans_tool for raw span retrieval. Usage must be inferred.

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