Skip to main content
Glama

trace_setup_otel

Configure OpenTelemetry SDK tracing for your service by specifying service name, language, and optional exporter. Start collecting distributed traces through Jaeger, Zipkin, OTLP, or console with API key authentication.

Instructions

Set up OpenTelemetry SDK with tracing provider and exporters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
exporterNoTrace exporter (default otlp)
languageYesProgramming language (e.g. typescript, go, python, java)
service_nameYesName of the service to instrument
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. 'Set up' is opaque: it doesn't say whether the tool generates code files, modifies existing configuration, installs dependencies, or requires an API key to be sent even though api_key is an optional schema parameter. The side effects and completion state of a setup operation are undisclosed.

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?

The single 12-word sentence has zero filler and is front-loaded with the verb. However, it verges on under-specification for a setup tool with four parameters and no output schema — a setup tool for a language-specific SDK warrants at least a note about what artifacts result, so the terseness trades value for brevity.

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

Completeness2/5

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

For a setup tool with no annotations, no output schema, and language-dependent behavior, the description is incomplete. It omits what the agent should expect as a result (generated files, console output, config changes), how language affects the output, and how it relates to the trace_add_spans and trace_configure_export siblings. An agent cannot predict the tool's behavior or success criteria.

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 all four parameters are already documented in the schema (service_name, language, exporter with default otlp, api_key). The description adds marginal context by naming 'tracing provider and exporters' which aligns with the exporter parameter, but it doesn't explain parameter interplay (e.g., language-specific defaults or api_key requirements). Baseline 3 applies since the schema does the heavy lifting.

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 states a specific verb and resource: 'Set up OpenTelemetry SDK with tracing provider and exporters.' It clearly conveys the initial-configuration action, which distinguishes it from sibling tools like trace_add_spans (incremental) and trace_configure_export (targeted export config). It doesn't explicitly name those alternatives, but the setup scope is reasonably identifiable from the phrasing.

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 guidance is given on when to use this tool versus the many related siblings (trace_add_spans, trace_configure_export, monitor_setup_prometheus, errtrack_setup_sentry). There are no stated prerequisites, no exclusions, and no context about whether this is for greenfield projects or existing services. An agent must infer usage purely from the tool name.

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/barnburner121/claude-plugin-marketplace'

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